Difference between revisions of "Template:Clothing rep"
From PSU Cyril Wiki
RoloTomassi (talk | contribs) (New page: <includeonly>{| class="wikitable" style="text-align:center" | style="background-color:#{{#ifeq:{{{1|}}}|Top|c0c0c0|{{#ifeq:{{{1{{!}}}}}{{!}}Both{{!}}c0c0c0{{!}}ff0000}}}};" |  ...) |
RoloTomassi (talk | contribs) |
||
(7 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}};" | || rowspan="2" | {{{Type|}}} | |
− | | style="background-color:#{{# | ||
|- | |- | ||
− | | style="background-color:#{{# | + | | style="background-color:#{{#switch:{{{1|}}}|Bottom=ff0000|Both=ff0000|#default=c0c0c0}};" | |
|- | |- | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
+ | 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. | ||
+ | |||
+ | <pre> | ||
{{Clothing rep|Type=Shirt|Top}} | {{Clothing rep|Type=Shirt|Top}} | ||
+ | </pre> | ||
+ | {{Clothing rep|Type=Shirt|Top}} | ||
+ | |||
+ | <pre> | ||
{{Clothing rep|Type=Shirt|Bottom}} | {{Clothing rep|Type=Shirt|Bottom}} | ||
+ | </pre> | ||
+ | {{Clothing rep|Type=Shirt|Bottom}} | ||
+ | |||
+ | <pre> | ||
{{Clothing rep|Type=Shirt|Both}} | {{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 | |