Difference between revisions of "Template:PrizeBox"

From SpiralKnights

Jump to: navigation, search
m (adjust so we can use this template consistently for all prize boxes)
m (doc prep)
Line 1: Line 1:
{{#switch:{{{icon|}}}
+
<includeonly>{{#switch:{{{icon|}}}
 
|#default= [[File:Usable-{{PrizeBox/unusualnames|name={{{1|Solstice}}}}}_icon.png|20px|link={{PrizeBox/unusualnames|name={{{1|Solstice}}}}}]] [[{{PrizeBox/unusualnames|name={{{1|Solstice}}}}}]]
 
|#default= [[File:Usable-{{PrizeBox/unusualnames|name={{{1|Solstice}}}}}_icon.png|20px|link={{PrizeBox/unusualnames|name={{{1|Solstice}}}}}]] [[{{PrizeBox/unusualnames|name={{{1|Solstice}}}}}]]
 
|no=      [[{{PrizeBox/unusualnames|name={{{1|}}}}}]]
 
|no=      [[{{PrizeBox/unusualnames|name={{{1|}}}}}]]
}}<noinclude>
+
}}</includeonly><noinclude>
<!--===============================
+
{{documentation}}
  
 
+
[[Category:Linking Templates]]
 
+
</noinclude>
 
+
Note to editors: if the box is named unconventionally (Like it doesn't say "prize box" but clearly follows the rules of a prize box or something), add it to the "Link+Icon" template.
+
 
+
Or if you don't want an icon because you want paragraphs to look nice, just link it using standard "[[ ]]" wiki brackets. Redirects should take care of the rest.
+
Other template here: http://wiki.spiralknights.com/Template:Link+Icon
+
 
+
 
+
 
+
===============================-->
+
[[Category:Linking Templates]]</noinclude>
+

Revision as of 17:51, 24 November 2015

[create] Template documentation
Personal tools