Difference between revisions of "Template:Pus:MC"

From MHWiki
m (+2nd example & result, uppercase the mousename)
m (edit uc to ucfirst)
Line 1: Line 1:
 
<includeonly>{| border="0" style="float:left; margin:3px 3px 3px 3px; padding:5px; border:1px solid #ddd; text-align:center;"
 
<includeonly>{| border="0" style="float:left; margin:3px 3px 3px 3px; padding:5px; border:1px solid #ddd; text-align:center;"
 
|-
 
|-
|'''[[{{{1}}}_Mouse|{{uc:{{{1}}}}}]]'''||x{{{2}}}
+
|'''[[{{{1}}}_Mouse|{{ucfirst:{{{1}}}}}]]'''||x{{{2}}}
 
|}</includeonly><noinclude>
 
|}</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 16:09, 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.

{{Pus:MC|mouse_name|caught}}

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

{{Pus:MC|Lich|2}}

Result:

2
x{{{3}}}


Example 2: Multiple mice collection

{{Pus:MC|White|159}}{{Pus:MC|grey|143}}

Result:

159
x{{{3}}}
143
x{{{3}}}