Difference between revisions of "Template:Character"

From Dargarth
Jump to navigation Jump to search
m
 
(90 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
  <nowiki>{{template:Character
 
  <nowiki>{{template:Character
 
|NAME=
 
|NAME=
|PORTRAIT=
+
|PORTRAIT=Placeholderperson.png
 
|COUNTRY=
 
|COUNTRY=
 
|ALIASES=
 
|ALIASES=
Line 19: Line 19:
 
''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 formatting.''
 
''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 formatting.''
  
*''If the character has a knighthood or noble title, add <nowiki>[[Category:X]]</nowiki>.  Make sure to replace 'X' with their noble rank.
+
''Please do not use any links or other wiki code in the Country, Class or Race input fields.  This messes with the automatic categories.  Country and Race will be automatically linked by the template in a way that doesn't mess with the categories.
 +
 
 +
''If you want to use an image, just type the name of the file (after you've uploaded it of course).  No brackets or URLs are needed.  The upload link is found to the left.''
 +
 
 +
*''If the character has a knighthood or noble title, add <nowiki>[[Category:X]]</nowiki>.  Make sure to replace 'X' with their noble rank.''
  
 
[[category:Dargarth Templates]]
 
[[category:Dargarth Templates]]
Line 28: Line 32:
 
|-
 
|-
 
|colspan="2" style="text-align: center; background: #AACCFF; font-weight: bold;" |<big>'''{{{NAME}}}'''</big>
 
|colspan="2" style="text-align: center; background: #AACCFF; font-weight: bold;" |<big>'''{{{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}}}}}
|-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}}}}}
 
|-
 
|-
 
|colspan="2" style="text-align: center; background: Gainsboro;"| '''Out-of-Character Information'''                   
 
|colspan="2" style="text-align: center; background: Gainsboro;"| '''Out-of-Character Information'''                   
|-Date Joined    = {{#if: {{{Date Joined}}}    | {{Date Joined|{{{DATE JOINED}}}|}}                     
+
|-Date Joined    = {{#if: {{{DATE JOINED}}}    | {{Date Joined|{{{DATE JOINED}}}}}                     
|-Affiliated with = {{#if: {{{Affiliated with}}} | {{Affiliates|{{{AFFILIATES}}}|}}
+
|-Affiliated with = {{#if: {{{AFFILIATES}}} | {{Affiliates|{{{AFFILIATES}}}}}
 
|-
 
|-
 
|}
 
|}
  
<includeonly>[[category:Characters]]</includeonly>
+
<includeonly>
 +
{{#if:{{{RACE}}}|[[Category:{{{RACE}}}s]]}}
 +
{{#if:{{{CLASS}}}|[[Category:{{{CLASS}}}s]]}}
 +
{{#if:{{{COUNTRY}}}|[[Category:{{{COUNTRY}}} Members]]}}
 +
[[Category:Characters]]</includeonly>

Latest revision as of 09:37, 2 April 2019

Follow the directions!

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

{{template:Character
|NAME=
|PORTRAIT=Placeholderperson.png
|COUNTRY=
|ALIASES=
|CLASS=
|GENDER=
|ALIGNMENT=
|RACE=
|RELIGION=
|DATE JOINED=
|AFFILIATES=
}}

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 formatting.

Please do not use any links or other wiki code in the Country, Class or Race input fields. This messes with the automatic categories. Country and Race will be automatically linked by the template in a way that doesn't mess with the categories.

If you want to use an image, just type the name of the file (after you've uploaded it of course). No brackets or URLs are needed. The upload link is found to the left.

  • If the character has a knighthood or noble title, add [[Category:X]]. Make sure to replace 'X' with their noble rank.


{{{NAME}}}
[[File:{{{PORTRAIT}}}|200px|]]
In-Character Information
Country [[{{{COUNTRY}}}]]
Other Name(s) {{{ALIASES}}}
Class {{{CLASS}}}
Gender {{{GENDER}}}
Alignment {{{ALIGNMENT}}}
Race [[{{{RACE}}}]]
Religion {{{RELIGION}}}
Out-of-Character Information
Date Joined {{{DATE JOINED}}}
Affiliated with {{{AFFILIATES}}}