Difference between revisions of "Template:Character"

From The Kingkiller Chronicle Wiki
Jump to navigation Jump to search
(Testing SMW)
Line 45: Line 45:
  
 
{{#switch: {{lc:{{{type}}}}}
 
{{#switch: {{lc:{{{type}}}}}
| background = [[Category:Background characters]]
+
| background = [[Category:Background characters]][[Character type::Background characters|:Background characters]]
| major = [[Category:Major Characters]]
+
| major = [[Category:Major Characters]][[Character type::Major characters|:Major characters]]
| #default = [[Category:Minor Characters]]
+
| #default = [[Category:Minor Characters]][[Character type::Minor characters|:Minor characters]]
 
}}
 
}}
  

Revision as of 18:09, 26 June 2019


Template:Character/doc

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Creates an infobox for Character pages

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Eye coloreyecolor

Character's eye color

Example
Green
Stringoptional
Full namefullname

Full name of the character

Example
Kvothe, son of Arliden
Stringoptional
Gendergender

Character's gender

Example
Male
Stringrequired
Hair colorhaircolor

Character's hair color

Example
Red
Stringoptional
Character imageimage

File link to the character image

Example
[[File:MainPage-Kvothe.jpg]]
Fileoptional
Statusstatus

Character's status

Example
Alive
Stringrequired
Typetype

Type of character: Major/Minor

Example
Major
Stringoptional