Difference between revisions of "Template:TrinketInfo"
From SpiralKnights
m (Switch to {{documentation}}) |
(New and improved template) |
||
Line 1: | Line 1: | ||
{{SKWindow | {{SKWindow | ||
− | |||
| width = 300px | | width = 300px | ||
| align = right | | align = right | ||
| margin = 0px 0px 20px 20px | | margin = 0px 0px 20px 20px | ||
− | | icon = | + | | icon = Equipment-{{{name|Unknown}}}_icon.png |
− | | title = {{ | + | | title = {{{name|Trinket}}} |
| stars = {{{stars|0}}} | | stars = {{{stars|0}}} | ||
| body = | | body = | ||
− | + | {{SKWindow/NewRow}} | |
− | {{ | + | {{SKWindow/Cell|[[Image:Equipment-{{{name|Unknown}}}_Stats.png]]|center}} |
− | + | {{SKWindow/NewRow}} | |
− | {{ | + | {{SKWindow/Cell|'''Abilities''' |
− | {{ | + | {{{abilities|None}}}|||4}} |
}} | }} | ||
− | + | <noinclude>{{documentation}}</noinclude> | |
− | + | <includeonly>[[Category:Gear]][[Category:Trinkets]] | |
− | {{ | + | {{#switch: {{{promotional}}} |
− | + | | yes = [[Category:Promotional items]] | |
− | {{ | + | | #default = |
}} | }} | ||
− | + | </includeonly> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 22:07, 12 June 2011
| |||||
|
[edit] [ ] Template documentation
Use the template to display quick stats of a trinket on its page.
Usage
Example:
{{TrinketInfo | name = {{PAGENAME}} | stars = | abilities = }}
Optional variables:
| promotional = yes (optional)
The above documentation is transcluded from Template:TrinketInfo/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |