If you are looking for Information about PSU Clementine, Go check their Wiki

Difference between revisions of "Template:Clothing rep"

From The re-PSUPedia
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{| class="wikitable" style="text-align:center"
 
<includeonly>{| class="wikitable" style="text-align:center"
 
+
| style="background-color:#{{#switch:{{{1|}}}|Top=ff0000|Both=ff0000|#default=c0c0c0}};" | &nbsp; &nbsp; &nbsp; || rowspan="2" | &nbsp; {{{Type|}}}
| style="background-color:#{{#ifeq:{{{1|}}}|Top|ff0000|{{#ifeq:{{{1{{!}}}}}{{!}}Both{{!}}ff0000{{!}}c0c0c0}}}};" | &nbsp; &nbsp; &nbsp; || rowspan="2" | &nbsp; {{{Type|}}}
 
 
|-
 
|-
| style="background-color:#{{#ifeq:{{{1|}}}|Bottom|ff0000|{{#ifeq:{{{1{{!}}}}}{{!}}Both{{!}}ff0000{{!}}c0c0c0}}}};" | &nbsp; &nbsp; &nbsp;  
+
| style="background-color:#{{#switch:{{{1|}}}|Bottom=ff0000|Both=ff0000|#default=c0c0c0}};" | &nbsp; &nbsp; &nbsp;  
 
|-
 
|-
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>
{{User:RoloTomassi/Clothing rep|Type=Shirt|Top}}
+
This template creates a table which represents a piece of clothing with a divided circle next to it (as seen when buying or changing clothes).
{{User:RoloTomassi/Clothing rep|Type=Shirt|Bottom}}
+
 
{{User:RoloTomassi/Clothing rep|Type=Shirt|Both}}
+
==Parameters==
 +
''Type'': whatever you type here will be displayed in the right-most box.
 +
 
 +
The first (and only) unnamed parameter should be ''Top'', ''Bottom'', or ''Both''.
 +
 
 +
==Examples==
 +
These aren't all strictly valid, but they're just examples.
 +
 
 +
<pre>
 +
{{Clothing rep|Type=Shirt|Top}}
 +
</pre>
 +
{{Clothing rep|Type=Shirt|Top}}
 +
 
 +
<pre>
 +
{{Clothing rep|Type=Shirt|Bottom}}
 +
</pre>
 +
{{Clothing rep|Type=Shirt|Bottom}}
 +
 
 +
<pre>
 +
{{Clothing rep|Type=Shirt|Both}}
 +
</pre>
 +
{{Clothing rep|Type=Shirt|Both}}
 +
 
 +
<pre>
 +
{{Clothing rep|Type=Shirt}}
 +
</pre>
 +
{{Clothing rep|Type=Shirt}}
 
</noinclude>
 
</noinclude>

Latest revision as of 04:36, 22 April 2009


This template creates a table which represents a piece of clothing with a divided circle next to it (as seen when buying or changing clothes).

Parameters

Type: whatever you type here will be displayed in the right-most box.

The first (and only) unnamed parameter should be Top, Bottom, or Both.

Examples

These aren't all strictly valid, but they're just examples.

{{Clothing rep|Type=Shirt|Top}}
        Shirt
     


{{Clothing rep|Type=Shirt|Bottom}}
        Shirt
     


{{Clothing rep|Type=Shirt|Both}}
        Shirt
     


{{Clothing rep|Type=Shirt}}
        Shirt