Template:Clothes: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (aaaand once more)
(→‎NecroTech Building: Clean up example)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| style="margin-bottom:24px"
{| style="margin-bottom:24px"
{{ifdef|{{{face|}}}|2=
|- style="{{ifndef|{{{face|}}}|display:none;}}"
{{!}}-
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" |
{{!}} scope="row" style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" {{!}}
'''Face'''
'''Face'''
{{!}} style="border-bottom:solid 1px rgb(200,200,200)" {{!}}
| style="border-bottom:solid 1px rgb(200,200,200)" |
{{{face}}}
{{{face|}}}
}}
|- 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)" | '''Head''' || {{{head|}}}
'''Head'''
|-  
| style="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="{{ifndef|{{{neck|}}}|display:none;}}"
| style="vertical-align:top; width:80px; border-bottom:solid 1px rgb(200,200,200)" | '''Shirt''' || {{{shirt|}}}
| 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)" | '''Jacket''' || {{{jacket|}}}
| style="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="{{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)" | '''Trousers ''' || {{{trousers|}}}
'''Shirt'''
|-  
| style="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="{{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%" |  
Line 28: Line 47:
|}</includeonly><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>
{{Clothes|
If a building doesn't have clothes for a given slot, just leave it empty.
face=
* facewear
|
head=
* headwear
|
neck=
* neckstuff
|
shirt=
* shirts
|
jacket=
* jackets
|
coat=
* coat
|
trousers=
* trousers
|
boots=
* boots
|
notes=
# notes
|
}}
If a building doesnt have clothes for a given slot, just dont mention it while naming the clothes for that building.


==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.