Difference between revisions of "Template:EndeavorRow"
Jump to navigation
Jump to search
>Canim44 (Creating Template:EndeavorRow) |
>Canim44 m (Minor fixes for formatting) |
||
| Line 1: | Line 1: | ||
| − | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#vardefine:endeavorTotal| {{#expr:{{#var:endeavorTotal}} + 1}} | + | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#vardefine:endeavorTotal| {{#expr:{{#var:endeavorTotal}} + 1}} }} |
|- | |- | ||
| − | | #var:endeavorTotal | + | | {{#var:endeavorTotal}} |
| {{{Description|}}} | | {{{Description|}}} | ||
| {{#if:{{{Item|}}}==1 | {{{{{Reward|{{{1|}}}}}}-}} {{#if:{{{itemQuantity|}}} | x{{{itemQuantity|}}} }} | {{{Reward|}}} }} | | {{#if:{{{Item|}}}==1 | {{{{{Reward|{{{1|}}}}}}-}} {{#if:{{{itemQuantity|}}} | x{{{itemQuantity|}}} }} | {{{Reward|}}} }} | ||
</includeonly> | </includeonly> | ||
Revision as of 14:37, 8 July 2019
Usage
{{EndeavorTable|endeavors=
{{EndeavorRow|Gift (no quantity given)|Four-Leaf Clover}}
{{EndeavorRow|Material|Oceanic Fin|1,500}}
{{EndeavorRow|Currency|Mana|1,500}}
{{EndeavorRow|Consumable|Tenfold Summon Voucher|1}}
{{EndeavorRow|ERROR|Epithet w/o Rank}}
{{EndeavorRow|ERROR|Epithet w/o Rank assigned|Rank=}}
{{EndeavorRow|Description|Epithet with Quantity|2|Rank=2}}
}}
Template Fields
1: Description of Endeavor.
- Default is blank.
2: Item or Epithet rewarded.
- Default is blank.
- This will call the quick icon template if Rank is not assigned.
3: Quantity rewarded.
- Default is 1.
Rank: Rank of Epithet.
- Must be assigned a value with Epithets to work as intended.
Style: CSS attributes for table element.
- Default is
width:100%.
Example
| # | Description | Reward |
|---|---|---|
| 1 | Template:Gift (no quantity given)-
| |
| 2 | Template:Material-
| |
| 3 | Template:Currency-
| |
| 4 | Template:Consumable-
| |
| 5 | Template:ERROR-
| |
| 6 | Template:ERROR-
| |
| 7 | Template:Description- |