Difference between revisions of "Template:Template sandbox"

From MHWiki
m
Line 1: Line 1:
<includeonly>
+
<includeonly><span style="float:left; width:150px; margin:0 10px 10px 0; border:1px solid #aaa; padding:5px; background:{{{4}}}; text-align:center">[[{{ucfirst:{{{1}}}}}_Mouse|{{ucfirst:{{{2}}}}}]]<br>x{{{3}}}</span></includeonly><noinclude>
<span style="float:left; width:150px; margin:0 10px 10px 0; border:1px solid #aaa; padding:5px; background:{{{3}}}; text-align:center">[[{{{1}}}_Mouse|{{ucfirst:{{{1}}}}}]]<br>x{{{2}}}</span>
 
</includeonly><noinclude>
 
 
This template is to easily link to a Mouse Collection from the Wiki.
 
This template is to easily link to a Mouse Collection from the Wiki.
  

Revision as of 19:15, 1 May 2009

This template is to easily link to a Mouse Collection from the Wiki.

Usage

Insert the following code wherever you want it to appear on your user page.

{{Template sandbox|mouse_name|caught|background_color}}

In place of "mouse_name" enter the name of mouse (e.g. Lich, Wight, Acolyte) and enter the total mice caught on total_caught.

Example 1: Single mouse collection

{{Template sandbox|Lich|2|#CCFFCC}}

Result:

2
x#CCFFCC


Example 2: Multiple mice collection

{{Template sandbox|White|159|#CCFFCC}}{{Template sandbox|Assassin|11|#CCFF66}}

Result:

159
x#CCFFCC
11
x#CCFF66