Template:Clothes: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
m (Test...) |
(→NecroTech Building: Clean up example) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| | <includeonly> | ||
{{ | {| style="margin-bottom:24px" | ||
|- style="{{ifndef|{{{face|}}}|display:none;}}" | |||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | |||
'''Face''' | |||
| style="border-bottom:solid 1px rgb(200,200,200)" | | |||
{{{face|}}} | |||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Head''' || {{{head|}}} | |- style="{{ifndef|{{{head|}}}|display:none;}}" | ||
|- | | style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | ||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Neck''' || {{{neck|}}} | '''Head''' | ||
|- | | style="border-bottom:solid 1px rgb(200,200,200)" | | ||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Shirt''' || {{{shirt|}}} | {{{head|}}} | ||
|- | |- style="{{ifndef|{{{neck|}}}|display:none;}}" | ||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Jacket''' || {{{jacket|}}} | | style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | ||
|- | '''Neck''' | ||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Coat''' || {{{coat|}}} | | style="border-bottom:solid 1px rgb(200,200,200)" | | ||
|- | {{{neck|}}} | ||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Trousers ''' || {{{trousers|}}} | |- style="{{ifndef|{{{shirt|}}}|display:none;}}" | ||
|- | | style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | ||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Boots''' || {{{boots|}}} | '''Shirt''' | ||
| style="border-bottom:solid 1px rgb(200,200,200)" | | |||
{{{shirt|}}} | |||
|- style="{{ifndef|{{{jacket|}}}|display:none;}}" | |||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | |||
'''Jacket''' | |||
| style="border-bottom:solid 1px rgb(200,200,200)" | | |||
{{{jacket|}}} | |||
|- style="{{ifndef|{{{coat|}}}|display:none;}}" | |||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | |||
'''Coat''' | |||
| style="border-bottom:solid 1px rgb(200,200,200)" | | |||
{{{coat|}}} | |||
|- style="{{ifndef|{{{trousers|}}}|display:none;}}" | |||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | |||
'''Trousers ''' | |||
| style="border-bottom:solid 1px rgb(200,200,200)" | | |||
{{{trousers|}}} | |||
|- style="{{ifndef|{{{boots|}}}|display:none;}}" | |||
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | | |||
'''Boots''' | |||
| style="border-bottom:solid 1px rgb(200,200,200);" | | |||
{{{boots|}}} | |||
|- style="{{ifndef|{{{notes|}}}|display:none;}}" | |- style="{{ifndef|{{{notes|}}}|display:none;}}" | ||
| colspan="2" style="border-bottom:solid 1px rgb(200,200,200); font-size:80%" | | | colspan="2" style="border-bottom:solid 1px rgb(200,200,200); font-size:80%" | | ||
{{{notes|}}} | {{{notes|}}} | ||
|- | |- | ||
|}<noinclude> | |}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<pre>{{Clothes| | <pre>{{Clothes | ||
face= | |face= | ||
* facewear | * facewear | ||
| | |head= | ||
head= | |||
* headwear | * headwear | ||
| | |neck= | ||
neck= | |||
* neckstuff | * neckstuff | ||
| | |shirt= | ||
shirt= | |||
* shirts | * shirts | ||
| | |jacket= | ||
jacket= | |||
* jackets | * jackets | ||
| | |coat= | ||
coat= | |||
* coat | * coat | ||
| | |trousers= | ||
trousers= | |||
* trousers | * trousers | ||
| | |boots= | ||
boots= | |||
* boots | * boots | ||
| | |notes= | ||
notes= | |||
# notes | # notes | ||
}} | |||
}} | |||
</pre> | </pre> | ||
If a building | If a building doesn't have clothes for a given slot, just leave it empty. | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{Clothes| | ===[[NecroTech Building]]=== | ||
jacket= | {{Clothes | ||
|jacket= | |||
* a NecroTech jacket | * a NecroTech jacket | ||
* a <colour> jacket<sup>1</sup> | * a <colour> jacket<sup>1</sup> | ||
| | |coat= | ||
coat= | |||
* a white lab coat | * a white lab coat | ||
| | |notes= | ||
notes= | |||
# limited to black, white, and gray. | # limited to black, white, and gray. | ||
}} | }} | ||
</pre> | </pre> | ||
{{Clothes| | ===[[NecroTech Building]]=== | ||
jacket= | {{Clothes | ||
|jacket= | |||
* a NecroTech jacket | * a NecroTech jacket | ||
* a <colour> jacket<sup>1</sup> | * a <colour> jacket<sup>1</sup> | ||
| | |coat= | ||
coat= | |||
* a white lab coat | * a white lab coat | ||
| | |notes= | ||
notes= | |||
# limited to black, white, and gray. | # limited to black, white, and gray. | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 00:05, 14 November 2011
Usage
{{Clothes |face= * facewear |head= * headwear |neck= * neckstuff |shirt= * shirts |jacket= * jackets |coat= * coat |trousers= * trousers |boots= * boots |notes= # notes }}
If a building doesn't have clothes for a given slot, just leave it empty.
Example
===[[NecroTech Building]]=== {{Clothes |jacket= * a NecroTech jacket * a <colour> jacket<sup>1</sup> |coat= * a white lab coat |notes= # limited to black, white, and gray. }}
NecroTech Building
Jacket |
|
Coat |
|
|