Template:Outfit: Difference between revisions

From A KoL Wiki
imported>Flargen
this really ought to auto-cat pages
imported>Flargen
m improving auto-cat by handling special cases
Line 54: Line 54:
|}}
|}}
{{head|Notes|0}}
{{head|Notes|0}}
{{#switch:{{{treat|}}}|none=*There is no special reward for [[Halloween|Trick-or-Treating]] in this outfit.|=|*[[Halloween|Trick-or-Treating]] in this outfit may yield {{{treat}}}.}}{{#if:{{{tattoo|}}}|*This outfit allows you to get the [[{{{tattoo}}}]] from the  [[The Dirt-Walled Hovel of The Pretentious Artist|Pretentious Artist]].}}{{#ifeq:{{FULLPAGENAME}}|Template:Outfit|[[Category:Outfits| {{PAGENAME}}]]|[[Category:Outfits|{{PAGENAME}}]]}}</includeonly><noinclude>
{{#switch:{{{treat|}}}|none=*There is no special reward for [[Halloween|Trick-or-Treating]] in this outfit.|=|*[[Halloween|Trick-or-Treating]] in this outfit may yield {{{treat}}}.}}{{#if:{{{tattoo|}}}|*This outfit allows you to get the [[{{{tattoo}}}]] from the  [[The Dirt-Walled Hovel of The Pretentious Artist|Pretentious Artist]].}}{{#ifeq:{{FULLPAGENAME}}|Template:Outfit|[[Category:Outfits| {{FULLPAGENAME}}]]|{{#ifeq:{{FULLPAGENAME}}|Established Standareds: Outfit Pages|[[Category:Outfits| {{PAGENAME}}]]|{{#ifeq:{{NAMESPACE}}|Category||[[Category:Outfits|{{PAGENAME}}]]}}}}}}</includeonly><noinclude>
{{Code2}}
{{Code2}}
==Usage==
==Usage==

Revision as of 07:34, 11 December 2008

{{Outfit}}
__NOTOC__{{

#if:{{{outfitid|}}}|<div style="font-size:80%; float:right;">'''[[Outfits by number|Outfit number]]:''' {{{outfitid}}}</div>}} The [[{{{name}}}]] is an [[outfit]]. {| cellspacing="15" style="margin-left: auto; margin-right: auto; text-align: center;" |- | [[image:{{{imagem}}}|{{{name}}} (Male)]] '''Male''' | [[image:{{{imagef}}}|{{{name}}} (Female)]] '''Female''' |} {{head|Equipment|0}}<!-- may eventually need accessory2/accessory3 //--> {| style="margin:1em auto; text-align:left;" {{#if:{{{hat|}}}|&#32; {{!}}- ! Hat: {{!}} [[image:{{Data:{{{hat}}}|image|nopic2.gif}}]] {{!}} [[{{{hat}}}|{{Data:{{{hat}}}|name|{{{hat}}}}}]]}}{{#if:{{{shirt|}}}|&#32; {{!}}- ! Shirt: {{!}} [[image:{{Data:{{{shirt}}}|image|nopic2.gif}}]] {{!}} [[{{{shirt}}}|{{Data:{{{shirt}}}|name|{{{shirt}}}}}]]}}{{#if:{{{weapon|}}}|&#32; {{!}}- ! Weapon: {{!}} [[image:{{Data:{{{weapon}}}|image|nopic2.gif}}]] {{!}} [[{{{weapon}}}|{{Data:{{{weapon}}}|name|{{{weapon}}}}}]]|}}{{#if:{{{offhand|}}}|&#32; {{!}}- ! Off-Hand: {{!}} [[image:{{Data:{{{offhand}}}|image|nopic2.gif}}]] {{!}} [[{{{offhand}}}|{{:Data:{{{offhand}}}|name|{{{offhand}}}}}]]}}{{#if:{{{pants|}}}|&#32; {{!}}- ! Pants: {{!}} [[image:{{Data:{{{pants}}}|image|nopic2.gif}}]] {{!}} [[{{{pants}}}|{{:Data:{{{pants}}}|name|{{{pants}}}}}]]}}{{#if:{{{accessory|}}}|&#32; {{!}}- ! Accessory{{#if:{{{accessory2|}}}|&nbsp;1|}}: {{!}} [[image:{{Data:{{{accessory}}}|image|nopic2.gif}}]] {{!}} [[{{{accessory}}}|{{Data:{{{accessory}}}|name|{{{accessory}}}}}]]}}{{#if:{{{accessory1|}}}|&#32; {{!}}- ! Accessory{{#if:{{{accessory2|}}}|&nbsp;1|}}: {{!}} [[image:{{Data:{{{accessory1}}}|image|nopic2.gif}}]] {{!}} [[{{{accessory1}}}|{{Data:{{{accessory1}}}|name|{{{accessory1}}}}}]]}}{{#if:{{{accessory2|}}}|&#32; {{!}}- ! Accessory 2: {{!}} [[image:{{Data:{{{accessory2}}}|image|nopic2.gif}}]] {{!}} [[{{{accessory2}}}|{{Data:{{{accessory2}}}|name|{{{accessory2}}}}}]]}}{{#if:{{{accessory3|}}}|&#32; {{!}}- ! Accessory 3: {{!}} [[image:{{Data:{{{accessory3}}}|image|nopic2.gif}}]] {{!}} [[{{{accessory3}}}|{{Data:{{{accessory3}}}|name|{{{accessory3}}}}}]]}} |} {{#if:{{{effect|}}}| {{head|Effect|0}} {{{effect}}} |}} {{head|Notes|0}}

{{#switch:{{{treat|}}}|none=*There is no special reward for [[Halloween|Trick-or-Treating]] in this outfit.|=|*[[Halloween|Trick-or-Treating]] in this outfit may yield {{{treat}}}.}}{{#if:{{{tattoo|}}}|*This outfit allows you to get the [[{{{tattoo}}}]] from the [[The Dirt-Walled Hovel of The Pretentious Artist|Pretentious Artist]].}}{{#ifeq:{{FULLPAGENAME}}|Template:Outfit|[[Category:Outfits| {{FULLPAGENAME}}]]|{{#ifeq:{{FULLPAGENAME}}|Established Standareds: Outfit Pages|[[Category:Outfits| {{PAGENAME}}]]|{{#ifeq:{{NAMESPACE}}|Category||[[Category:Outfits|{{PAGENAME}}]]}}}}}}

Usage

{{outfit
  |outfitid=outfit number
  |imagem=imagename.gif (for male pic)
  |imagef=imagename.gif (for female pic)
  |name=name
  |hat=hat
  |shirt=shirt
  |weapon=sword
  |offhand=offhand
  |pants=pants
  |accessory=accessory
  |accessory1=accessory 1
  |accessory2=accessory 2
  |accessory3=accessory 3
  |treat=halloween treat or none
  |effect=*effect of outfit
  |tattoo=tattoo}}
 *Other Notes

Non-applicable parameters may be omitted.

The accessory parameter should be used if the outfit only has one accessory. If the outfit has more accessories, start with accessory1.

The treat parameter should be a wiki-link and an article (a, an, the, some), such as a [[pixellated candy heart]], to account for Halloween adventures with multiple drops.

Note: The * is required in effect so that multiple effects may be easily added (if necessary)

 ...
 |effect=*effect of outfit1
 *effect of outfit2
 ...

Examples

The 8-Bit Finery is an outfit.

8-Bit Finery (Male)

Male

8-Bit Finery (Female)

Female

Equipment
Hat: [[image:{{{{{format}}}|

name=pixel hat| plural=pixel hats| image=pixelhat.gif| image}}]]

{{{{{format}}}| name=pixel hat| plural=pixel hats| image=pixelhat.gif| name}}
Weapon: [[image:{{{{{format}}}|

name=pixel sword| plural=pixel swords| image=pixelsword.gif| image}}]]

{{{{{format}}}| name=pixel sword| plural=pixel swords| image=pixelsword.gif| name}}
Pants: [[image:{{{{{format}}}|

name=pixel pants| plural=pairs of pixel pants| image=pixelpants.gif| image}}]]

{{{{{format}}}| name=pixel pants| plural=pairs of pixel pants| image=pixelpants.gif| name}}
Effect
Notes