Difference between revisions of "Template:EndeavorRow"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Canim44
m (Spacing)
>Canim44
m (Format)
Line 2: Line 2:
 
|-
 
|-
 
| {{#var:endeavorTotal}}
 
| {{#var:endeavorTotal}}
| {{{1|}}}
+
| {{{1}}}
| {{#ifeq:{{{2|}}} | Epithet | {{{3|}}} | {{{3|}}}- }} x{{{4|}}}}}</includeonly>
+
| {{#ifeq:{{{2}}} | Epithet | {{{3}}} | {{{3}}}- }} x{{{4}}}}}</includeonly>

Revision as of 15:03, 8 July 2019

50px Documentation

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 Gift (no quantity given) {{{3}}}- x{{{4}}}}}
2 Material 1,500- x{{{4}}}}}
3 Currency 1,500- x{{{4}}}}}
4 Consumable 1- x{{{4}}}}}
5 ERROR {{{3}}}- x{{{4}}}}}
6 ERROR {{{3}}}- x{{{4}}}}}
7 Description 2- x{{{4}}}}}