m (1 revision) |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
− | <includeonly><onlyinclude>{{#if:{{{1|}}}|{{factionIcon|{{{1}}}|Small}} }}{{#if:{{{level|}}}|[{{{level}}}] }}{{#if:{{{smallicon|}}}|[[File:{{{smallicon}}}| |
+ | <includeonly><onlyinclude>{{#if:{{{1|}}}|{{factionIcon|{{{1}}}|Small}} }}{{#if:{{{level|}}}|[{{{level}}}] }}{{#if:{{{smallicon|}}}|[[File:{{{smallicon}}}|18px]] }}{{#if:{{{icon|}}}|[[File:IconSmall {{{icon}}}.gif|18px]] }}[[{{{2}}}|<span class="ajaxttlink npclink">{{{4|{{{2}}}}}}</span>]]{{#if:{{{3|}}}| <small><{{{3}}}></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
- Lady Jaina Proudmoore <Ruler of Theramore>
- [70+] Andormu <Keepers of Time>
- [60+] 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:Шаблон:НИП