Template:GearList/Item: Difference between revisions
From Inkipedia, the Splatoon wiki
GuyPerfect (talk | contribs) (Prototyping Gear list templates) |
GuyPerfect (talk | contribs) m (Was getting parse errors on view, so <noinclude>'d some documentation instead.) |
||
Line 1: | Line 1: | ||
|- | <includeonly>|- | ||
| [[File:Gear_{{{type}}}_{{{name}}}.png|60px]] | | [[File:Gear_{{{type}}}_{{{name}}}.png|60px]] | ||
| [[{{{name}}}]] | | [[{{{name}}}]] | ||
Line 5: | Line 5: | ||
| {{#ifeq: "{{{unlock}}}" | "none" | style="text-align: center;" {{!}} --- | }}{{#ifeq: "{{{unlock}}}" | "cash" | {{Cost|{{{cost}}}}} | }}{{#ifeq: "{{{unlock}}}" | "amiibo" | [[File:Brand_amiibo.png|30px|link=amiibo|amiibo]] [[amiibo|{{{amiibo}}}]] | }}{{#ifeq: "{{{unlock}}}" | "heromode" | [[File:Octarian_Icon.png|30px|link=Hero Mode|Hero Mode]] [[Hero Mode]] | }}{{#ifeq: "{{{unlock}}}" | "splatfest" | [[File:Splatfest_Logo.png|30px|link=Splatfest|Splatfest]] [[Splatfest]] | }} | | {{#ifeq: "{{{unlock}}}" | "none" | style="text-align: center;" {{!}} --- | }}{{#ifeq: "{{{unlock}}}" | "cash" | {{Cost|{{{cost}}}}} | }}{{#ifeq: "{{{unlock}}}" | "amiibo" | [[File:Brand_amiibo.png|30px|link=amiibo|amiibo]] [[amiibo|{{{amiibo}}}]] | }}{{#ifeq: "{{{unlock}}}" | "heromode" | [[File:Octarian_Icon.png|30px|link=Hero Mode|Hero Mode]] [[Hero Mode]] | }}{{#ifeq: "{{{unlock}}}" | "splatfest" | [[File:Splatfest_Logo.png|30px|link=Splatfest|Splatfest]] [[Splatfest]] | }} | ||
| {{Ability|{{{ability}}}|size=30px}} | | {{Ability|{{{ability}}}|size=30px}} | ||
| style="text-align: center;" | {{stars|{{{rarity}}}|15px}} | | style="text-align: center;" | {{stars|{{{rarity}}}|15px}}</includeonly><noinclude> | ||
== Parameters == | |||
All parameters are required unless otherwise noted. | |||
* ''name'' - The item's name. | |||
* ''type'' - The item's type. Must be one of "Headgear", "Clothing" or "Shoes". | |||
* ''brand'' - The name of the item's brand. | |||
* ''unlock'' - The method of unlocking the item. Must be "none", "cash", "amiibo", "heromode" or "splatfest". | |||
:* ''cost'' - Only required if ''unlock'' = "cash". The number of coins required for purchase. | |||
:* ''amiibo'' - Only required if ''unlock'' = "amiibo". The name of the amiibo that unlocks the item. | |||
* ''ability'' - The name of the item's main Ability. | |||
* ''rarity'' - The number of stars the item has. Must be 1, 2 or 3. | |||
== Example Usage == | |||
Markup: | |||
<nowiki>{{GearListItem | |||
|type = Clothing | |||
|name = Baseball Jersey | |||
|brand = Firefin | |||
|unlock = cash | |||
|cost = 10000 | |||
|ability = Special Charge Up | |||
|rarity = 3 | |||
}}</nowiki> | |||
Output: | |||
{| | |||
{{User:GuyPerfect/GearListItem | |||
|type = Clothing | |||
|name = Baseball Jersey | |||
|brand = Firefin | |||
|unlock = cash | |||
|cost = 10000 | |||
|ability = Special Charge Up | |||
|rarity = 3 | |||
}} | |||
|} | |||
</noinclude> |
Revision as of 17:12, 17 June 2015
Parameters
All parameters are required unless otherwise noted.
- name - The item's name.
- type - The item's type. Must be one of "Headgear", "Clothing" or "Shoes".
- brand - The name of the item's brand.
- unlock - The method of unlocking the item. Must be "none", "cash", "amiibo", "heromode" or "splatfest".
- cost - Only required if unlock = "cash". The number of coins required for purchase.
- amiibo - Only required if unlock = "amiibo". The name of the amiibo that unlocks the item.
- ability - The name of the item's main Ability.
- rarity - The number of stars the item has. Must be 1, 2 or 3.
Example Usage
Markup:
{{GearListItem |type = Clothing |name = Baseball Jersey |brand = Firefin |unlock = cash |cost = 10000 |ability = Special Charge Up |rarity = 3 }}
Output:
User:GuyPerfect/GearListItem