Difference between revisions of "Template:Character"
Tag: Rollback |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
</image> | </image> | ||
<group> | <group> | ||
− | <header>Biographical | + | <header>Biographical Information</header> |
<data source="fullname"> | <data source="fullname"> | ||
<label>Full name</label> | <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> | <default>Unknown</default> | ||
</data> | </data> | ||
Line 21: | Line 29: | ||
<default>Unknown</default> | <default>Unknown</default> | ||
</data> | </data> | ||
+ | <data source="family"> | ||
+ | <label>Family Members</label> | ||
+ | <default>Unknown</default> | ||
+ | </data> | ||
</group> | </group> | ||
<group> | <group> | ||
<header>Appearance</header> | <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"> | <data source="eyecolor"> | ||
<label>Eye color</label> | <label>Eye color</label> | ||
Line 30: | Line 50: | ||
<data source="haircolor"> | <data source="haircolor"> | ||
<label>Hair color</label> | <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> | <default>Unknown</default> | ||
</data> | </data> | ||
Line 38: | Line 77: | ||
{{#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}}}}} | ||
− | | background = [[Category:Background characters]][[Character type::Background | + | | background = [[Category:Background characters]][[Character type::Background| ]] |
− | | major = [[Category:Major Characters]][[Character type::Major | + | | major = [[Category:Major Characters]][[Character type::Major| ]] |
− | | #default = [[Category:Minor Characters]][[Character type::Minor | + | | #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 62: | 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 92: | 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
|