Difference between revisions of "Template:Character"

From The Kingkiller Chronicle Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<infobox>
+
<infobox layout="stacked">
 
   <title source="title">
 
   <title source="title">
 
     <default>'''{{PAGENAME}}'''</default>
 
     <default>'''{{PAGENAME}}'''</default>
Line 11: Line 11:
 
     <data source="fullname">
 
     <data source="fullname">
 
       <label>Full name</label>
 
       <label>Full name</label>
 +
      <default>Unknown</default>
 
     </data>
 
     </data>
 
     <data source="gender">
 
     <data source="gender">
 
       <label>Gender</label>
 
       <label>Gender</label>
 +
      <default>Unknown</default>
 
     </data>
 
     </data>
 
     <data source="status">
 
     <data source="status">
 
       <label>Status</label>
 
       <label>Status</label>
 +
      <default>Unknown</default>
 
     </data>
 
     </data>
 
   </group>
 
   </group>
Line 23: Line 26:
 
     <data source="eyecolor">
 
     <data source="eyecolor">
 
       <label>Eye color</label>
 
       <label>Eye color</label>
 +
      <default>Unknown</default>
 
     </data>
 
     </data>
 
     <data source="haircolor">
 
     <data source="haircolor">
 
       <label>Hair color</label>
 
       <label>Hair color</label>
 +
      <default>Unknown</default>
 
     </data>
 
     </data>
 
   </group>
 
   </group>

Revision as of 04:28, 25 December 2018


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