Difference between revisions of "Template:Character"
(Alphabetize) |
Tag: Rollback |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | + | <infobox layout="stacked"> | |
− | + | <title source="title"> | |
− | + | <default>'''{{PAGENAME}}'''</default> | |
− | + | </title> | |
− | + | <image source="image"> | |
− | + | <caption source="caption"/> | |
− | + | </image> | |
− | + | <group> | |
− | + | <header>Biographical Information</header> | |
− | + | <data source="fullname"> | |
− | + | <label>Full name</label> | |
− | + | <default>Unknown</default> | |
− | + | </data> | |
− | + | <data source="alias"> | |
− | + | <label>Alias(es)</label> | |
− | + | <default>None</default> | |
− | + | </data> | |
− | + | <data source="age"> | |
− | + | <label>Age</label> | |
− | + | <default>Unknown</default> | |
− | + | </data> | |
− | + | <data source="gender"> | |
− | + | <label>Gender</label> | |
− | + | <default>Unknown</default> | |
− | + | </data> | |
− | + | <data source="status"> | |
− | + | <label>Status</label> | |
− | + | <default>Unknown</default> | |
+ | </data> | ||
+ | <data source="family"> | ||
+ | <label>Family Members</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
+ | </group> | ||
+ | <group> | ||
+ | <header>Appearance</header> | ||
+ | <data source="species"> | ||
+ | <label>Species</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
+ | <data source="ethnicity"> | ||
+ | <label>Ethnicity</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
+ | <data source="eyecolor"> | ||
+ | <label>Eye color</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
+ | <data source="haircolor"> | ||
+ | <label>Hair color</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
+ | <data source="skincolor"> | ||
+ | <label>Skin color</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
+ | </group> | ||
+ | <group> | ||
+ | <header>Personal Information</header> | ||
+ | <data source="occupation"> | ||
+ | <label>Occupation</label> | ||
+ | <default>None</default> | ||
+ | </data> | ||
+ | <data source="field"> | ||
+ | <label>Field of Study</label> | ||
+ | <default>None</default> | ||
+ | </data> | ||
+ | <data source="rank"> | ||
+ | <label>Rank</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
+ | </group> | ||
+ | </infobox> | ||
[[Category:Characters]] | [[Category:Characters]] | ||
{{#switch: {{lc:{{{gender}}}}} | {{#switch: {{lc:{{{gender}}}}} | ||
− | | female = [[Category:Gender:_Female]] | + | | female = [[Category:Gender:_Female]][[Character gender::Female| ]] |
− | | male = [[Category:Gender:_Male]] | + | | male = [[Category:Gender:_Male]][[Character gender::Male| ]] |
− | | unknown = [[Category:Gender:_Unknown]] | + | | unknown = [[Category:Gender:_Unknown]][[Character gender::Unknown| ]] |
− | | #default = [[Category:Characters with an undefined gender]] | + | | #default = [[Category:Characters with an undefined gender]][[Character gender::Unknown| ]] |
}} | }} | ||
{{#switch: {{lc:{{{type}}}}} | {{#switch: {{lc:{{{type}}}}} | ||
− | | major = [[Category:Major Characters]] | + | | background = [[Category:Background characters]][[Character type::Background| ]] |
− | | #default = [[Category:Minor Characters]] | + | | major = [[Category:Major Characters]][[Character type::Major| ]] |
+ | | #default = [[Category:Minor Characters]][[Character type::Minor| ]] | ||
}} | }} | ||
{{#switch: {{lc:{{{status}}}}} | {{#switch: {{lc:{{{status}}}}} | ||
− | | alive = [[Category:Status:_Alive]] | + | | alive = [[Category:Status:_Alive]][[Character status::Alive| ]] |
− | | deceased = [[Category:Status:_Deceased]] | + | | deceased = [[Category:Status:_Deceased]][[Character status::Deceased| ]] |
− | | unknown = [[Category:Status:_Unknown]] | + | | unknown = [[Category:Status:_Unknown]][[Character status::Unknown| ]] |
− | | #default = [[Category: | + | | #default = [[Category:Status:_Unknown]][[Character status::Unknown| ]] |
}} | }} | ||
</includeonly> | </includeonly> | ||
Line 55: | Line 101: | ||
{ | { | ||
"params": { | "params": { | ||
+ | "age": { | ||
+ | "label": "Age", | ||
+ | "description": "The character's age, preferably in years.", | ||
+ | "example": "18", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "alias": { | ||
+ | "label": "Alias(es)", | ||
+ | "description": "Alternate names for a character.", | ||
+ | "example": "Kvothe Kingkiller, Maedre, Kvothe the Bloodless", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "ethnicity": { | ||
+ | "label": "Ethnicity", | ||
+ | "description": "The character's ethnicity.", | ||
+ | "example": "Edema Ruh", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | |||
"eyecolor": { | "eyecolor": { | ||
"label": "Eye color", | "label": "Eye color", | ||
"description": "Character's eye color", | "description": "Character's eye color", | ||
"example": "Green", | "example": "Green", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "family": { | ||
+ | "label": "Family Members", | ||
+ | "description": "Known members of someone's family.", | ||
+ | "example": "Arliden, Laurian", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "field": { | ||
+ | "label": "Field of Study", | ||
+ | "description": "What a character is studying, either independently or at The University", | ||
+ | "example": "Chemistry, Naming, Sympathy", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 85: | Line 162: | ||
"example": "[[File:MainPage-Kvothe.jpg]]", | "example": "[[File:MainPage-Kvothe.jpg]]", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
+ | }, | ||
+ | "occupation": { | ||
+ | "label": "Occupation", | ||
+ | "description": "What the character does for a living, a job.", | ||
+ | "example": "Student", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "rank": { | ||
+ | "label": "Rank", | ||
+ | "description": "What rank a character is", | ||
+ | "example": "Re'lar, King, Maer", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "skincolor": { | ||
+ | "label": "Skin Color", | ||
+ | "description": "What color a character's skin is", | ||
+ | "example": "Pale", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "species": { | ||
+ | "label": "Species", | ||
+ | "description": "What species a character is.", | ||
+ | "example": "Human", | ||
+ | "type": "string" | ||
}, | }, | ||
"status": { | "status": { |
Latest revision as of 02:47, 27 December 2019
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
|