Difference between revisions of "Template:Sprintbox"
Jump to navigation
Jump to search
(Created page with "<!------------------------- --- INFO BOXES --- --------------------------- --><div style="float:right;">{{#ifeq:{{lc:{{{invicon}}}}}|no||<div style="border:3px solid...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <div style="float:right; margin-left:15px;">{{#ifeq:{{lc:{{{invicon}}}}}|no||<div style="border:3px solid #bbbbbb; border-radius:15px; color:white; line-height:normal; background-color:#404040; padding:5px; width:285px;"> | |
− | |||
− | |||
− | |||
{{{!}} width="275" cellpadding=2 | {{{!}} width="275" cellpadding=2 | ||
− | {{!}} style="border-bottom:1px solid #777777;" {{!}} [[File:{{{invicon|}}}|48px]] <span style="font-size:130%; color:#{{#switch:{{lc:{{{colour|}}}}}|white=ffffff|green=00ff16|blue=02b6ff|purple=d565f8|orange=ffd001}};">{{{name|}}}</span> <br/> <span style="color:#D3D3D3;">{{#ifeq:{{lc:{{{binds|}}}}}|no||Binds when Picked Up}} {{#ifeq:{{lc:{{{unique}}}}}|no||<span style="float:right;">Unique</span>}}</span> | + | {{!}} style="border-bottom:1px solid #777777;" {{!}} [[File:{{{invicon|}}}|48px]] <span style="font-size:130%; color:#{{#switch:{{lc:{{{colour|}}}}}|white=ffffff|green=00ff16|blue=02b6ff|purple=d565f8|orange=ffd001}};">{{{name|}}}</span> |
+ | {{#ifeq: {{lc:{{{content|}}}}} | swl | Sprint (Lv 1 {{#switch: {{lc:{{{colour|}}}}} |white=Worn|green=Standard|blue=Superior|purple=Epic|orange=Mythic|red=Heroic}}) | ||
+ | <br/> Item Power: {{#switch: {{lc:{{{colour|}}}}} |white=1|green=2|blue=31|purple=91|orange=Unknown|red=Unknown}}}} | ||
+ | {{#ifexpr: {{#ifeq:{{lc:{{{binds|}}}}}|no|0|1}} or {{#ifeq:{{lc:{{{unique|}}}}}|no|0|1}} | <br/><span style="color:#D3D3D3;"> {{#ifeq:{{lc:{{{binds|}}}}}|no||Binds when Picked Up}} {{#ifeq:{{lc:{{{unique}}}}}|no||<span style="float:right;">Unique</span>}}</span> }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} {{#if:{{{invdesc|}}}|{{{invdesc}}}|Unlocks the {{{name}}}}}. | + | {{!}} style="border-bottom:1px solid #777777;" {{!}} {{#if:{{{invdesc|}}}|{{{invdesc}}}|Unlocks the {{{name}}}}}. |
+ | {{!}}- | ||
+ | {{!}} | ||
{{!}}} | {{!}}} | ||
</div>}} | </div>}} | ||
Line 20: | Line 22: | ||
|} | |} | ||
</div></div> | </div></div> | ||
− | + | [[Category:Sprint items]] | |
− | |||
− | |||
− | [[Category:Sprint items]] | ||
− | |||
− | |||
− | |||
− | |||
<noinclude> | <noinclude> | ||
− | |||
− | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 00:07, 14 October 2017
[[File:|48px]]
|
Unlocks the {{{name}}}. |
[[File:|48px]] | |
{{{description}}} | |
Type: {{{type}}} | |
Source: {{{source}}} |
NOTE: This template is meant for Sprinting animation items
For other types of items see:
- Clothing - Template:Clothingbox
- Pets - Template:Petbox
- Talismans - Template:Talismanbox
- Weapons - Template:Weaponsbox
- All others - Template:Itembox
Also note that this template should rarely need to be used on it's own since the Boilerplate:Sprintpage boilerplate used to create articles for all of these types of items includes this template automatically.
Usage
Place this at the very top of your page, and fill in the information provided (variable descriptions follow the code). If some variables don't have info, just ignore it, and it will be hidden in the template.
{{Sprintbox |content= |name= |colour= |invicon= |guiicon= |description= |type= |source= |invdesc= |binds= |unique= }}
IMPORTANT - You should not need to add any categories to the page when using this template. They are automatically set by the template!
Parameters
Parameter Name | Required | Description | Accepted Values | Default |
---|---|---|---|---|
content | No | Is this item for TSW or SWL | tsw, swl | tsw |
name | Yes | Needs to be included in order to help with transclusion and use with other templates. | Name of item | |
colour | No | Rarity Colour level of the item. | White, Green, Blue, Purple, Orange, Red | White |
invicon | Yes | Inventory icon image. If this item never appears in your inventory, enter "no" | no, <filename>.<extension> | |
guiicon | Yes | Pet/Sprint UI icon image. | <filename>.<extension> | |
description | Yes | The description of the sprint from the Pet/Sprint UI | <text> | |
type | Yes | Type of sprint item, as listed in the Pet/Sprint UI | Sprint, Mundane | |
source | Yes | Item source, as listed in the Pet/Sprint UI. | <text> | |
invdesc | No | Description on the item while it is in your inventory, if different than what the default displays | <text> | "Unlocks the <name>." |
binds | No | If the inventory version of this item is NOT Bind-on-Pickup indicate it here | no | Bind of Pickup |
unique | No | Is the inventory version of this item is NOT unique indicate it here | no | Unique |
The above documentation is transcluded from Template:Sprintbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |