Difference between revisions of "Template:EndeavorRow"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Canim44
m (Spacing)
>Canim44
m (Spacing)
Line 3: Line 3:
 
| {{#var:endeavorTotal}}
 
| {{#var:endeavorTotal}}
 
| {{{Description|}}}
 
| {{{Description|}}}
| {{#if:{{{Item|}}}|{{{{{Reward|}}}-}}{{#if:{{{Quantity|}}} | x{{{Quantity|}}}}}|{{{Reward|}}}}}</includeonly>
+
| {{#if:{{{Item|}}} | {{{{{Reward|}}}- }} {{#if:{{{Quantity|}}} | x{{{Quantity|}}}}} | {{{Reward|}}} }}</includeonly>

Revision as of 14:49, 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
2
3
4
5
6
7