Template:Npc: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Onteron No edit summary |
ROWiki>Onteron No edit summary |
||
Line 24: | Line 24: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
-->{{#ifexpr: | -->{{#ifexpr: | ||
{{qd | {{{data| {{{1|}}} }}} | 1 | {{{realm}}} }} and | |||
{{qd | {{{data| {{{1|}}} }}} | 2 | {{{area}}} }} and | |||
{{qd | {{{data| {{{1|}}} }}} | 3 | {{{profession}}} }} | |||
| {{npc/{{#switch:{{PAGENAME}} | |||
| {{{area}}} NPCs | |||
| {{{realm}}} NPC table = tablerow | |||
| {{{name}}} = full | |||
| {{{area}}} = count | |||
| {{{area}}} map = map | |||
| {{{area}}} map svg = svg | |||
| #default = {{#explode: {{{1|listitem}}} | ; | 0 }} | |||
}} | |||
| {{{1| {{{data|}}} }}} | | |||
| data = {{{data| {{{1|}}} }}} | name = {{{name}}} | |||
| realm = {{{realm}}} | area = {{{area}}} | |||
| x = {{{x}}} | z = {{{z}}} | |||
| profession = {{{profession}}} | |||
| race = | class = {{{class|}}} | |||
| sex = {{{sex|}}} | level = {{{level|}}} | |||
}} | }} | ||
}}<!-- | }}<!-- | ||
--></includeonly></onlyinclude> | --></includeonly></onlyinclude> |
Revision as of 00:07, 13 November 2008
To add a NPC article, just type the name of the NPC in the box and press create:
<createbox>
preload=Project:Preload Templates/NPC/Content editintro=Project:Preload Templates/NPC/Intro buttonlabel=Create width=50 break=no </createbox> |
Alternatively copy the following into a new article and fill in the parameters:
<onlyinclude>{{npc | {{{1|}}} | name = {{subst:PAGENAME}} | realm = | area = | x = | z = | profession = | class = | race = | sex = | level = <noinclude> | info = <!-- Type the character article here --> </noinclude>}}</onlyinclude>