Abrir menu principal

UESPWiki β

Alterações

Utilizador:Gaebrial/Creatures

5 392 bytes adicionados, 09h36min de 24 de fevereiro de 2012
m
Looking good...
<includeonly><cleanspace>
<!-- Defines -->
{{#define:ns_base|Oblivion|if={{#switch:{{NAMESPACE}}|User|Template=1|0}}}}
{{#define:bgcolor|{{Race Color|{{{type|}}}|noquotes=1}}}}
{{#define:fcolor|{{Race Color FC|{{{type|}}}|noquotes=1}}}}
{{#define:headerStyle|style="color:{{{fcolor}}}; background-color:{{{bgcolor}}}"}}
{{#define:image|case=any}}
{{#define:titlename|{{LABELNAME}}}}
{{#if:{{{image|}}}||{{NeedsImage}}}}
{{#unset:image|ifnot={{#ifeq:{{{image|}}}|none||{{{image|}}}}}}}

<!-- Bread Crumb Trail -->
{{#ifeq:{{NAMESPACE}}|User||{{#inittrail:Creatures|if={{#if:{{{notrail|}}}|0|1}}}}
{{#addtotrail:{{{type}}}|ns={{{typenamesp|{{NS_ID}}}}}|if={{#if:{{{notrail|}}}|0|{{{type|}}}}}}}
{{#addtotrail:Merchants|separator=' / '|if={{#if:{{{notrail|}}}|0|{{{buys|}}}{{{sells|}}}}}}}
{{#addtotrail:[[{{NS_FULL}}Blacksmith|Blacksmiths]]|separator=' / '|if={{#if:{{{notrail|}}}|0|{{{repair|}}}}}}}}}

<!-- Categories -->
{{#switch:{{SUBJECTSPACE}}|User|Template=
|[[Category:{{NS_CATEGORY}}-Creatures-All]]
{{#ifeq:{{{health|}}}|0|[[Category:{{NS_CATEGORY}}-Dead Creatures]]|
{{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|N/A||[[Category:{{NS_CATEGORY}}-Creatures-{{{type}}}]]}}}}
{{#if:{{{tribe|}}}|[[Category:{{NS_CATEGORY}}-Creatures-{{{type}}}-{{{tribe}}}]]}}
{{#ifeq:{{{speciescat|}}}|none||{{#ifeq:{{{species|}}}|N/A||{{#if:{{{speciescat|{{{species|}}}}}}|[[Category:{{NS_CATEGORY}}-Creatures-{{{type}}}-{{{speciescat|{{{species}}}}}}]]}}}}}}
{{#if:{{{buys|{{{sells|}}}}}}|[[Category:{{NS_CATEGORY}}-Merchants]]}}
{{#if:{{{repair|}}}|[[Category:{{NS_CATEGORY}}-Repairs]]}}
{{#if:{{{follower|}}}|[[Category:{{NS_CATEGORY}}-Follower Creatures]]|}}
{{#if:{{{essential|}}}|[[Category:{{NS_CATEGORY}}-Essential Creatures]]|}}}}}}
{{#if:{{{soul|}}}
|{{#if:{{#pos:{{{soul|}}}|Leveled}}|[[Category:{{NS_CATEGORY}}-Souls-Leveled]]
|{{#ifeq:{{#switch:{{NAMESPACE}}|Morrowind=1|Tribunal=1|Bloodmoon=1|0}}|1
|{{#ifexpr:{{{soul|}}}<=30|[[Category:{{NS_CATEGORY}}-Souls-Petty]]
|{{#ifexpr:{{{soul|}}}<=60|[[Category:{{NS_CATEGORY}}-Souls-Lesser]]
|{{#ifexpr:{{{soul|}}}<=120|[[Category:{{NS_CATEGORY}}-Souls-Common]]
|{{#ifexpr:{{{soul|}}}<=180|[[Category:{{NS_CATEGORY}}-Souls-Greater]]
|{{#ifexpr:{{{soul|}}}<=600|[[Category:{{NS_CATEGORY}}-Souls-Grand]]|[[Category:{{NS_CATEGORY}}-Souls-Divine]]}}
}}}}}}}}
|[[Category:{{NS_CATEGORY}}-Souls-{{{soul}}}]]
}}}}}}

<!-- Infobox -->
</cleanspace><cleantable>
{|class="wikitable" width="{{{tablewidth|33%}}}" style="float:right; margin:0 0 0.75em 1em"
|-
!colspan=4 {{{headerStyle}}}|{{{titlename}}} <small>({{#if:{{{refid|}}}|RefID: {{{refid}}}|{{{id|{{#ifeq:{{NS_PARENT}}|Morrowind|{{lc:{{{titlename}}}}}|ID{{huh}}}}}}}}})</small>
|-
!Added by Plug-in
|colspan=3|{{{mod|}}}
|-
!Home&nbsp;City
|colspan=3|{{{city|}}}
|-
!House
|colspan=3|{{{house|}}}
|-
!Location
|colspan=3|{{{loc|}}}
|-
!Species
|{{#if:{{{species|}}}|{{#ifeq:{{{species|}}}|N/A|N/A|{{#if:{{#pos:{{{species|}}}|:}}|{{{species}}}|{{#ifeq:{{{speciescat|}}}|none|{{{species}}}|{{SkipLink|{{NS_FULL}}{{{species}}}|{{{species}}}}}}}}}}}|{{huh}}}}
!{{SkipLink|{{NS_PARENT}}:Souls|Soul}}
|{{#if:{{#pos:{{{soul|}}}|Leveled}}|{{{soul|}}}
|{{#ifeq:{{#switch:{{NAMESPACE}}|Morrowind=1|Tribunal=1|Bloodmoon=1|0}}|1
|{{#ifexpr:{{{soul|}}}<=30|Petty
|{{#ifexpr:{{{soul|}}}<=60|Lesser
|{{#ifexpr:{{{soul|}}}<=120|Common
|{{#ifexpr:{{{soul|}}}<=180|Greater
|{{#ifexpr:{{{soul|}}}<=600|Grand|Divine}}
}}}}}}}} ({{{soul|}}})
|{{{soul|}}}
}}}}
|-
!Level
|{{{level|}}}
!Type
|{{#if:{{{type|}}}|{{SkipLink|{{NS_FULL:{{{typenamesp|}}}}}{{{type}}}|{{{type}}}}}}}
|-
!{{#if:{{{refid|}}}|{{SkipLink|{{NS_PARENT}}:NPCs#Console IDs|RefID}}}}
|style="font-size:85%;"|{{{refid|}}}
!{{#if:{{{baseid|}}}|{{SkipLink|{{NS_PARENT}}:NPCs#Console IDs|BaseID}}}}
|style="font-size:85%;"|{{{baseid|}}}
|-
!Tribe
|colspan=3|{{{tribe|}}}
|-
!colspan=4 {{{headerStyle}}}|Attacks
|-
|colspan=4|{{{attack}}}
|-
!colspan=4 {{{headerStyle}}}|Abilities
|-
|colspan=4|{{{abilities}}}
|-
!colspan=4 {{{headerStyle}}}|Drops
|-
|colspan=4|{{{drops}}}
|-
!colspan=4 {{{headerStyle}}}|Services
|-
!Other
|colspan=3|{{#if:{{{repair|}}}|[[Image:Repairicon_small.png|Repairs]] [[{{NS_PARENT}}:Blacksmith|Repairs]]}}
|-
!colspan=4 {{{headerStyle}}}|Merchant
|-
!{{SkipLink|{{NS_PARENT}}:Commerce#Merchants' Gold|Gold}}
|{{{gold|}}}
!{{SkipLink|{{NS_PARENT}}:Mercantile|Mercantile}}
|{{#if:{{{buys|{{{sells|}}}}}}|{{merc|0}}}}
|-
!Sells
|colspan=3|{{{sells|}}}
|-
!Buys
|colspan=3|{{{buys}}}
|-
!colspan=4 {{{headerStyle}}}|Other Information
|-
!{{SkipLink|{{NS_PARENT}}:Health|Health}}
|{{{health}}} {{#ifeq:{{{health|}}}|0|('''Dead''')|}}
!{{SkipLink|{{NS_PARENT}}:Magicka|Magicka}}
|{{{magicka}}}
|-
!Alarm
|{{{alarm|{{#if:{{{fight|}}}|{{huh}}}}}}}
!Fight
|{{{fight|{{#if:{{{alarm|}}}|{{huh}}}}}}}
|-
!{{#if:{{{resp|}}}|{{SkipLink|{{NS_PARENT}}:Responsibility|Respons.}}}}
|{{{resp|{{#if:{{{agress|}}}|{{huh}}}}}}}
!{{#if:{{{aggress|}}}|{{SkipLink|{{NS_PARENT}}:Aggression|Aggress.}}}}
|{{{aggress|{{#if:{{{resp|}}}|{{huh}}}}}}}
|-
!{{SkipLink|{{NS_FULL}}Essential Creatures|Essential}}
|colspan=3|{{{essential|}}}
|-
!{{SkipLink|{{NS_FULL}}Followers|Follower}}
|colspan=3|{{{follower|}}}
|-
!{{SkipLink|{{NS_FULL}}Factions|Faction(s)}}
|colspan=3|{{{faction|}}}
|}</cleantable>{{#if:{{{image|}}}|[[Image:{{{image}}}|thumb|left|{{{imgdesc|}}}]]}}{{#if:{{{altname|}}}|{{DEFAULTSORT:{{{altname}}}}}}}</includeonly><noinclude>
{{/Doc}}</noinclude>
3 736
edições