Difference between revisions of "Template:Pus:MC"

From MHWiki
(Mouse Collection Template by Pus)
 
m (+2nd example & result, uppercase the mousename)
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|{{{1}}}]]||x{{{2}}}
+
|'''[[{{{1}}}_Mouse|{{uc:{{{1}}}}}]]'''||x{{{2}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
==Mouse Collection==
 
 
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.
  
Line 9: Line 8:
 
Insert the following code wherever you want it to appear on your user page.
 
Insert the following code wherever you want it to appear on your user page.
  
<pre>{{Pus:MC|mouse_name|cught}}</pre>
+
<pre>{{Pus:MC|mouse_name|caught}}</pre>
  
 
In place of "mouse_name" enter the name of mouse (e.g. Lich, Wight, Acolyte) and enter the total mice caught on total_caught.<br><br>
 
In place of "mouse_name" enter the name of mouse (e.g. Lich, Wight, Acolyte) and enter the total mice caught on total_caught.<br><br>
For example:  
+
Example 1: Single mouse collection
 
<pre>{{Pus:MC|Lich|2}}</pre>
 
<pre>{{Pus:MC|Lich|2}}</pre>
 +
Result:<br>{{Pus:MC|Lich|2}}<br>
 +
Example 2: Multiple mice collection
 +
<pre>{{Pus:MC|White|159}}{{Pus:MC|grey|143}}</pre>
 +
Result:<br>{{Pus:MC|White|159}}{{Pus:MC|grey|143}}
 
</noinclude>
 
</noinclude>

Revision as of 15:46, 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}}}