Difference between revisions of "Template:NPC"

From Dargarth
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
  <nowiki>{{template:NPC
 
  <nowiki>{{template:NPC
 
|NAME=
 
|NAME=
|PORTRAIT=
+
|PORTRAIT=Placeholderperson.png
 
|COUNTRY=
 
|COUNTRY=
 
|ALIASES=
 
|ALIASES=
|SYMBOL=
 
 
|CLASS=
 
|CLASS=
 
|GENDER=
 
|GENDER=
Line 26: Line 25:
 
{| class="infobox" cellpadding="5" cellspacing="0" style="max-width: 300px; float: right; clear: right; margin-left: 10px; margin-bottom: 10px; background: white; font-size: 90%; border: 1px solid #ccc"
 
{| class="infobox" cellpadding="5" cellspacing="0" style="max-width: 300px; float: right; clear: right; margin-left: 10px; margin-bottom: 10px; background: white; font-size: 90%; border: 1px solid #ccc"
 
|-
 
|-
|colspan="2" style="text-align: center; background: LightCoral; font-weight: bold;" |<big>'''{{{NAME}}}'''</big>
+
|colspan="2" style="text-align: center; background: LightCoral; font-weight: bold;" |<big>'''{{#if:{{{NAME}}}|{{{NAME}}}}}'''</big>
|-{{#if:{{{Portrait|{{{PORTRAIT|}}}}}}|{{Infobox/row
+
|-{{#if: {{{PORTRAIT}}} | {{Portrait|{{{PORTRAIT}}}}}}}
|{{{Portrait|{{{PORTRAIT}}}}}}Portrait of <span style="{{{captionstyle|}}}">{{{Caption|{{{NAME}}}}}}
 
 
|-
 
|-
 
|colspan="2" style="text-align: center; background: Gainsboro;"| '''In-Character Information'''
 
|colspan="2" style="text-align: center; background: Gainsboro;"| '''In-Character Information'''
|-Country        = {{#if: {{{Country}}} | {{Country|{{{COUNTRY}}}|}}
+
|-Country        = {{#if: {{{COUNTRY}}} | {{Country|{{{COUNTRY}}}}}}}
|-Other Name(s)  = {{#if: {{{Aliases}}}        | {{Aliases | {{{ALIASES}}}|}}
+
|-Other Name(s)  = {{#if: {{{ALIASES}}}        | {{Aliases | {{{ALIASES}}}}}}}
|-Symbol          = {{#if: {{{Symbol}}}          | {{Symbol|{{{SYMBOL}}}|}}  
+
|-Class          = {{#if: {{{CLASS}}}          | {{Class|{{{CLASS}}}}}}}         
|-Class          = {{#if: {{{Class}}}          | {{Class|{{{CLASS}}}|}}         
+
|-Gender          = {{#if: {{{GENDER}}}          | {{Gender|{{{GENDER}}}}}}}  
|-Gender          = {{#if: {{{Gender}}}          | {{Gender|{{{GENDER}}}|}}  
+
|-Alignment      = {{#if: {{{ALIGNMENT}}}      | {{Alignment|{{{ALIGNMENT}}}}}}}
|-Alignment      = {{#if: {{{Alignment}}}      | {{Alignment|{{{ALIGNMENT}}}|}}
+
|-Race            = {{#if: {{{RACE}}}            | {{Race|{{{RACE}}}}}}}
|-Race            = {{#if: {{{Race}}}            | {{Race|{{{RACE}}}|}}
+
|-Religion        = {{#if: {{{RELIGION}}}        | {{Religion|{{{RELIGION}}}}}}}
|-Religion        = {{#if: {{{Religion}}}        | {{Religion|{{{RELIGION}}}|}}
 
 
|-
 
|-
 
|}
 
|}
 
+
<includeonly>[[category:Non_Player_Characters]]</includeonly>
[[category:Non_Player_Characters]][[category:Contents]]
 

Latest revision as of 23:40, 7 December 2012

Follow the directions!

DO NOT EDIT THIS PAGE! To use this template, copy the following code into your page:

{{template:NPC
|NAME=
|PORTRAIT=Placeholderperson.png
|COUNTRY=
|ALIASES=
|CLASS=
|GENDER=
|ALIGNMENT=
|RACE=
|RELIGION=
}}

Fill out the lines after the '=' sign. You may leave a parameter blank if you don't want to fill it out. When done right, everything will be set up for you and you won't have to worry about any formating.

  • Do not give NPCs a noble category unless we make a 'noble NPCs' category in the future.


{{#if:{{{NAME}}}|{{{NAME}}}}}
[[File:{{{PORTRAIT}}}|200px|]]}}
In-Character Information
Country {{{COUNTRY}}}}}
Other Name(s) {{{ALIASES}}}}}
Class {{{CLASS}}}}}
Gender {{{GENDER}}}}}
Alignment {{{ALIGNMENT}}}}}
Race {{{RACE}}}}}
Religion {{{RELIGION}}}}}