Difference between revisions of "Template:Character"

Template page
m (Bringing the character infobox up to scratch with the new way of doing them. Have removed the Age field as kinda pointless really and just begging to constantly need maintence. DoB and DoD work just fine to capture age if you know the current year.)
m (Fixing the header rows to actually be invisible if the follow on rows aren't there.)
Line 12: Line 12:
<data source="dateofbirth"><label>Date of Birth</label><format>{{{dateofbirth}}}</format></data>
<data source="dateofbirth"><label>Date of Birth</label><format>{{{dateofbirth}}}</format></data>
<data source="dateofdeath"><label>Date of Death</label><format>{{{dateofdeath}}}</format></data>
<data source="dateofdeath"><label>Date of Death</label><format>{{{dateofdeath}}}</format></data>
<header>Physical Description</header>
<header>{{#if:{{{height|}}}{{{weight|}}}{{{hair|}}}{{{eyes|}}}|Physical Description|}}</header>
<data source="height"><label>Height</label><format>{{{height}}}</format></data>
<data source="height"><label>Height</label><format>{{{height}}}</format></data>
<data source="weight"><label>Weight</label><format>{{{weight}}}</format></data>
<data source="weight"><label>Weight</label><format>{{{weight}}}</format></data>
<data source="hair"><label>Hair</label><format>{{{hair}}}</format></data>
<data source="hair"><label>Hair</label><format>{{{hair}}}</format></data>
<data source="eyes"><label>Eyes</label><format>{{{eyes}}}</format></data>
<data source="eyes"><label>Eyes</label><format>{{{eyes}}}</format></data>
<header>Career Information</header>
<header>{{#if:{{{affiliation|}}}{{{rank|}}}{{{posting|}}}{{{position|}}}|Career Information|}}</header>
<data source="affiliation"><label>Affiliation</label><format>{{{affiliation}}}</format></data>
<data source="affiliation"><label>Affiliation</label><format>{{{affiliation}}}</format></data>
<data source="rank"><label>Rank</label><format>{{{rank}}}</format></data>
<data source="rank"><label>Rank</label><format>{{{rank}}}</format></data>
Line 51: Line 51:
| eyes =  
| eyes =  
| affiliation = Government or organisation they work for or are part of. Link if you can for beautiful cross-linking.
| affiliation = Government or organisation they work for or are part of. Link if you can for beautiful cross-linking.
| rank = Where to they stand in their group
| rank = Where do they stand in their group
| posting = Where are they currently working ie Peace Moon, Starbase Kickass, Subspace Radar Station Alaska
| posting = Where are they currently working ie Peace Moon, Starbase Kickass, Subspace Radar Station Alaska
| position = What are they doing there ie Commanding Officer, Lord High Inquisitor, Tea-lady
| position = What are they doing there ie Commanding Officer, Lord High Inquisitor, Tea-lady

Revision as of 06:27, 31 July 2024


Character

All fields, if not assigned, will not render in the infobox. Physical Description and Career Information headers will not render without at least one of the appropriate fields having information.

Fullname exists to allow for the character to have an excessively long name in the field while a more shorthand version is used for the infbox title.

{{clear}}
==Example==
{{Character
| image = 
| name = First and last name ideally
| fullname = Go buck crazy, show all those middle names and lordly titles
| placeoforigin = 
| species = 
| gender = 
| dateofbirth = 
| dateofdeath = 
| height = 
| weight = 
| hair = 
| eyes = 
| affiliation = Government or organisation they work for or are part of. Link if you can for beautiful cross-linking.
| rank = Where do they stand in their group
| posting = Where are they currently working ie Peace Moon, Starbase Kickass, Subspace Radar Station Alaska
| position = What are they doing there ie Commanding Officer, Lord High Inquisitor, Tea-lady
}}

Example


The following code generates the infobox to the right.

{{Character
| image = 
| name = Old Lady Higgins
| fullname = Old Lady Gertrude Wilhemina Higgins
| placeoforigin = Starbase Kickass
| species = Old Lady
| gender = Female
| dateofbirth = Big Bang
| dateofdeath = 
| height = 1.65m
| weight = Don't you dare ask
| hair = Grey
| eyes = Hazel
| affiliation = She's a strong independent woman
| rank = Grandma to all
| posting = Starbase Kickass' only knitting shop
| position = Not too old to give you a good smacking sonny
}}