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:
{| class="wikitable" style="margin-bottom:24px"
<includeonly>
{{ifdef|{{{face|}}}|
{| 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="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" |
{{!}} style="border-bottom:solid 1px rgb(200,200,200)" {{!}}{{!}} {{{face}}}
'''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 doesnt have clothes for a given slot, just dont mention it while naming the clothes for that building.
If a building doesn't have clothes for a given slot, just leave it empty.


==Example==
==Example==
for necrotech buildings
<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

Face

Head

Neck

Shirt

Jacket

  • a NecroTech jacket
  • a <colour> jacket1

Coat

  • a white lab coat

Trousers

Boots

  1. limited to black, white, and gray.