Diferencia entre revisiones de «Plantilla:NPC»

De Wowpedia
Saltar a: navegación, buscar
m (1 revision)
Línea 1: Línea 1:
<includeonly><onlyinclude>{{#if:{{{1|}}}|{{factionIcon|{{{1}}}|Small}}&nbsp;}}{{#if:{{{level|}}}|&#91;{{{level}}}&#93;&nbsp;}}{{#if:{{{smallicon|}}}|[[File:{{{smallicon}}}|17px]]&nbsp;}}{{#if:{{{icon|}}}|[[File:IconSmall {{{icon}}}.gif|17px]]&nbsp;}}[[{{{2}}}|<span class="ajaxttlink npclink">{{{4|{{{2}}}}}}</span>]]{{#if:{{{3|}}}| &nbsp;<small>&lt;{{{3}}}&gt;</small>}}</onlyinclude></includeonly>{{documentation}}
+
<includeonly><onlyinclude>{{#if:{{{1|}}}|{{factionIcon|{{{1}}}|Small}}&nbsp;}}{{#if:{{{level|}}}|&#91;{{{level}}}&#93;&nbsp;}}{{#if:{{{smallicon|}}}|[[File:{{{smallicon}}}|18px]]&nbsp;}}{{#if:{{{icon|}}}|[[File:IconSmall {{{icon}}}.gif|18px]]&nbsp;}}[[{{{2}}}|<span class="ajaxttlink npclink">{{{4|{{{2}}}}}}</span>]]{{#if:{{{3|}}}| &nbsp;<small>&lt;{{{3}}}&gt;</small>}}</onlyinclude></includeonly>{{documentation}}

Revisión del 18:21 18 jun 2013

Usage
{{NPC|<faction>|<name>|<title>|<display_name>|<level=>|<icon=>}}
Note
faction, title, and display_name are optional.
Additional Note
optional level= should have a number (add + for elite)
optional smallicon= should use icons from Wowpedia:List of race icons without leading Image:.


Example
{{NPC|Alliance|Jaina Proudmoore|Ruler of Theramore|Lady Jaina Proudmoore}}
{{NPC||Andormu|Keepers of Time|level=70+}}
{{NPC|Horde|Wickerman Guardian|level=60+|icon=Abomination}}
Result
Alliance Lady Jaina Proudmoore <Ruler of Theramore>
[70+] Andormu <Keepers of Time>
Horde [60+] IconSmall Abomination.gif Wickerman Guardian
You may want to use {{Mob}} for non-interactive (doesn't talk, just auto-emote, fight, or ignore) creatures.
See also Template:npclong (which doesn't really do much more, but may reduce some typing).ru:Шаблон:НИП