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 (ugh, fine. Be that way, URL characters.)
 
(13 intermediate revisions by the same user not shown)
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}}}}}{{#if:{{{2|}}}|_{{{2|}}}|}}_icon.png|20px|link={{PrizeBox/unusualnames|name={{{1|Solstice}}}}}]] [[{{PrizeBox/unusualnames|name={{{1|Solstice}}}}}{{#if:{{{2|}}}|_{{{2|}}}|}}|{{PrizeBox/unusualnames|name={{{1|Solstice}}}}}{{#if:{{{2|}}}|&nbsp;{{{2|}}}|}}]]
 
|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>
+

Latest revision as of 22:15, 20 January 2016

[create] Template documentation
Personal tools