Difference between revisions of "Template:EndeavorSetsDisplayRow"
Jump to navigation
Jump to search
>Boblers |
>Eave (actually, I prefer to go with named args instead in that case) |
||
| (25 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|- | |- | ||
| {{#var:endeavorTotal}} | | {{#var:endeavorTotal}} | ||
| − | | {{{1|}}} | + | | {{{Description|}}} |
| − | | {{Icon|{{{ | + | | {{#switch: {{{RewardType|}}} |
| + | | Resource = {{{{{RewardItem|}}}-}} x{{formatnum:{{{RewardAmount|}}}}} | ||
| + | | Consumable = {{{{{RewardItem|}}}-}} x{{{RewardAmount|}}} | ||
| + | | Currency = {{{{{RewardItem|}}}-}} x{{formatnum:{{{RewardAmount|}}}}} | ||
| + | | Gift = {{{{{RewardItem|}}}-}} x{{{RewardAmount|}}} | ||
| + | | Material = {{{{{RewardItem|}}}-}} x{{formatnum:{{{RewardAmount|}}}}} | ||
| + | | Weapon = {{Icon|{{{RewardType|}}}|{{{RewardItem|}}}|size=32px|text=1}} x{{{RewardAmount|}}} | ||
| + | | Wyrmprint = {{Icon|{{{RewardType|}}}|{{{RewardItem|}}}|size=32px|text=1}} x{{{RewardAmount|}}} | ||
| + | | Dragon = {{Icon|{{{RewardType|}}}|{{{RewardItem|}}}|size=32px|text=1}} x{{{RewardAmount|}}} | ||
| + | | Sticker = [[File:{{{StickerID|}}}.png|32px|link=Stickers]] {{{RewardItem|}}} | ||
| + | | EpithetRank1 = [[File:Icon Profile 01 Frame.png|19px|Epithet|link=Epithets]] {{{RewardItem|}}} | ||
| + | | EpithetRank2 = [[File:Icon Profile 02 Frame.png|19px|Epithet|link=Epithets]] {{{RewardItem|}}} | ||
| + | | EpithetRank3 = [[File:Icon Profile 03 Frame.png|19px|Epithet|link=Epithets]] {{{RewardItem|}}} | ||
| + | | EpithetRank4 = [[File:Icon Profile 04 Frame.png|19px|Epithet|link=Epithets]] {{{RewardItem|}}} | ||
| + | }} | ||
</includeonly> | </includeonly> | ||
Latest revision as of 06:32, 13 April 2020
This template behaves very similarly to Template:EndeavorRow, but switches its display method based on item type. This is primarily called by Template:EndeavorSetsDisplay rather than directly by users.
Usage
{{EndeavorTable|endeavors=
{{EndeavorSetsDisplayRow|Description|RewardType|RewardItem|RewardAmount}}
{{EndeavorSetsDisplayRow|Resource|Eldwater|1,500}}
{{EndeavorSetsDisplayRow|Consumable|Blessed Ethon Ashes|5}}
{{EndeavorSetsDisplayRow|Currency|Wyrmite|200}}
{{EndeavorSetsDisplayRow|Gift|Four-Leaf Clover|2}}
{{EndeavorSetsDisplayRow|Material|Meteorite|324}}
{{EndeavorSetsDisplayRow|Weapon|Zex's End|1}}
{{EndeavorSetsDisplayRow|Wyrmprint|Give Me Your Wounded|1}}
{{EndeavorSetsDisplayRow|Dragon|Mini Mids|1}}
{{EndeavorSetsDisplayRow|Sticker|Well, aren't you sweet?|StickerID=10702_en}}
{{EndeavorSetsDisplayRow|EpithetRank1|Dragonblood Prince}}
{{EndeavorSetsDisplayRow|EpithetRank2|Pumpkin Squasher}}
{{EndeavorSetsDisplayRow|EpithetRank3|Volcanic Fiendslayer}}
{{EndeavorSetsDisplayRow|EpithetRank4|Conqueror of Causality}}
}}
Template Fields
1: Description of the Endeavor. For example: "Defeat the Eolian Phantom 10 Times"
2: RewardType is the type of the item rewarded.
- Type can be one of: Resource, Consumable, Currency, Gift, Material, Weapon, Wyrmprint, Dragon, Sticker, EpithetRank1, EpithetRank2, EpithetRank3, or EpithetRank4.
- Item Type quick reference:
- Resource: Eldwater, Mana, Rupies
- Consumable: Ashes, Honey, Skip Ticket, Summon Voucher
- Currency: Wyrmite
- Gift: Clover
- Material: (pretty much any other items)
- Weapon: (self-explanatory)
- Wyrmprint: (self-explanatory)
- Dragon: (self-explanatory)
- Sticker: (self-explanatory)
- EpithetRank1: bronze medal epithets
- EpithetRank2: silver medal epithets
- EpithetRank3: gold medal epithets
- EpithetRank4: gold medal w/crown epithets
3: RewardItem is the item rewarded. For example: Wyrmite
4: RewardAmount is the amount of the item rewarded. For example: 100 if we were given 100 Wyrmite
StickerID: is the image file name of a sticker. For example, 10702_en would grab
.