Difference between revisions of "Template:EndeavorRow"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Canim44
m
>Canim44
(Added Override)
 
(16 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
| {{#var:endeavorTotal}}
 
| {{#var:endeavorTotal}}
 
| {{{1|}}}
 
| {{{1|}}}
| {{#ifeq:{{{2|}}} | Epithet | [[File:Icon Profile 0{{{Rank|1}}} Frame.png]] {{{3|}}} | {{{3|}}}- }} x{{{4|1}}}}}</includeonly>
+
| {{#if:{{{Override|}}} | {{{Override|}}} | {{#if:{{{Rank|}}} | [[File:Icon Profile 0{{{Rank|1}}} Frame.png|19px|Epithet|link=Epithets]] {{{2|}}} | {{{{{2|}}}-}} }} x{{{3|1}}} }}</includeonly>

Latest revision as of 15:43, 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)
Error: Table Gifts not found.
x1
2 Material
Error: Table Materials not found.
x1,500
3 Currency Icon Resource Mana.png Mana x1,500
4 Consumable
Error: Table Consumables not found.
x1
5 ERROR Template:Epithet w/o Rank- x1
6 ERROR Template:Epithet w/o Rank assigned- x1
7 Description Epithet Epithet with Quantity x2