Template:Wrath-Character-Abilities: Difference between revisions
|  Used condition IF statement |  Added a How To description. | ||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| <div style=" | <includeonly><div style=" | ||
|      width: 100%;   |      width: 100%;   | ||
|      border: 1px solid #aaa;   |      border: 1px solid #aaa;   | ||
| Line 40: | Line 40: | ||
|      margin: 2px 0 0 2px;"> |      margin: 2px 0 0 2px;"> | ||
| <span style="padding: 1px; margin: 2px;">{{{Description1|}}}</span></li> | <span style="padding: 1px; margin: 2px;">{{{Description1|}}}</span></li> | ||
| </ul> | </ul><!-- ROW 2 -->{{#if: {{{Name2|}}} | | ||
| <!-- ROW 2 --> | |||
| {{#if: {{{Name2|}}} | | |||
| <ul style=" | <ul style=" | ||
|      display: flex;   |      display: flex;   | ||
| Line 61: | Line 59: | ||
|      margin: 2px 0 0 2px;"> |      margin: 2px 0 0 2px;"> | ||
| <span style="padding: 1px; margin: 2px;">{{{Description2|}}}</span></li> | <span style="padding: 1px; margin: 2px;">{{{Description2|}}}</span></li> | ||
| </ul> | }} | </ul> |}}<!-- ROW 3 -->{{#if: {{{Name3|}}} | | ||
| </div> | <ul style=" | ||
|     display: flex;  | |||
|     width: 100%;  | |||
|     margin: 0;  | |||
|     padding: 0;  | |||
|     list-style-type: none;  | |||
|     list-style-image: none; | |||
|     margin: 0;"> | |||
| <li style=" | |||
|     width: 25%;  | |||
|     background-color: #eee; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Name3|}}}</span></li> | |||
| <li style=" | |||
|     width: 75%;  | |||
|     background-color: #f8f8f8; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Description3|}}}</span></li> | |||
| </ul> |}}<!-- ROW 4 -->{{#if: {{{Name4|}}} | | |||
| <ul style=" | |||
|     display: flex;  | |||
|     width: 100%;  | |||
|     margin: 0;  | |||
|     padding: 0;  | |||
|     list-style-type: none;  | |||
|     list-style-image: none; | |||
|     margin: 0;"> | |||
| <li style=" | |||
|     width: 25%;  | |||
|     background-color: #eee; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Name4|}}}</span></li> | |||
| <li style=" | |||
|     width: 75%;  | |||
|     background-color: #f8f8f8; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Description4|}}}</span></li> | |||
| </ul> |}}<!-- ROW 5 -->{{#if: {{{Name5|}}} | | |||
| <ul style=" | |||
|     display: flex;  | |||
|     width: 100%;  | |||
|     margin: 0;  | |||
|     padding: 0;  | |||
|     list-style-type: none;  | |||
|     list-style-image: none; | |||
|     margin: 0;"> | |||
| <li style=" | |||
|     width: 25%;  | |||
|     background-color: #eee; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Name5|}}}</span></li> | |||
| <li style=" | |||
|     width: 75%;  | |||
|     background-color: #f8f8f8; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Description5|}}}</span></li> | |||
| </ul> |}}<!-- ROW 6 -->{{#if: {{{Name6|}}} | | |||
| <ul style=" | |||
|     display: flex;  | |||
|     width: 100%;  | |||
|     margin: 0;  | |||
|     padding: 0;  | |||
|     list-style-type: none;  | |||
|     list-style-image: none; | |||
|     margin: 0;"> | |||
| <li style=" | |||
|     width: 25%;  | |||
|     background-color: #eee; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Name6|}}}</span></li> | |||
| <li style=" | |||
|     width: 75%;  | |||
|     background-color: #f8f8f8; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Description6|}}}</span></li> | |||
| </ul> |}}<!-- ROW 7 -->{{#if: {{{Name7|}}} | | |||
| <ul style=" | |||
|     display: flex;  | |||
|     width: 100%;  | |||
|     margin: 0;  | |||
|     padding: 0;  | |||
|     list-style-type: none;  | |||
|     list-style-image: none; | |||
|     margin: 0;"> | |||
| <li style=" | |||
|     width: 25%;  | |||
|     background-color: #eee; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Name7|}}}</span></li> | |||
| <li style=" | |||
|     width: 75%;  | |||
|     background-color: #f8f8f8; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Description7|}}}</span></li> | |||
| </ul> |}}<!-- ROW 8 -->{{#if: {{{Name8|}}} | | |||
| <ul style=" | |||
|     display: flex;  | |||
|     width: 100%;  | |||
|     margin: 0;  | |||
|     padding: 0;  | |||
|     list-style-type: none;  | |||
|     list-style-image: none; | |||
|     margin: 0;"> | |||
| <li style=" | |||
|     width: 25%;  | |||
|     background-color: #eee; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Name8|}}}</span></li> | |||
| <li style=" | |||
|     width: 75%;  | |||
|     background-color: #f8f8f8; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Description8|}}}</span></li> | |||
| </ul> |}}<!-- ROW 9 -->{{#if: {{{Name9|}}} | | |||
| <ul style=" | |||
|     display: flex;  | |||
|     width: 100%;  | |||
|     margin: 0;  | |||
|     padding: 0;  | |||
|     list-style-type: none;  | |||
|     list-style-image: none; | |||
|     margin: 0;"> | |||
| <li style=" | |||
|     width: 25%;  | |||
|     background-color: #eee; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Name9|}}}</span></li> | |||
| <li style=" | |||
|     width: 75%;  | |||
|     background-color: #f8f8f8; | |||
|     margin: 2px 0 0 2px;"> | |||
| <span style="padding: 1px; margin: 2px;">{{{Description9|}}}</span></li> | |||
| </ul> |}} | |||
| </div></includeonly><noinclude>This template is for use in a Wrath and Glory character sheet. It allows up to 9 abilities or talents to be shown in an full-width infobox in the character sheet.  | |||
| Usage is as follows, though note that not all 9 sets of abilities or descriptions need to be specified. Just omit those that you are not using. | |||
| ==Sample Usage== | |||
| <pre><nowiki>{{Wrath-Character-Abilities</nowiki> | |||
| | Name1        = From the Shadows | |||
| | Description1 = Increase vision or cover penalty by + Rank DN | |||
| | Name2        = Deadshot | |||
| | Description2 = Double the bonus ED when you Aim and make a Called Shot. <br> | |||
| | Name3        = Ever Vigilant | |||
| | Description3 = Gain x2 Rank to Passive Awareness. | |||
| }}</pre> | |||
| (and so on all the way up to "Name9" and "Description9".)</noinclude> | |||