Template:Character: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
(Fixed photo, added TemplateData, simplifed some defaults)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<templatestyles src="Character/styles.css" />
 
<templatestyles src="Character/styles.css" />
 
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
 
{{Infobox/Header|title={{{name|{{PAGENAME}}}}}|subtitle={{{known_for|}}}}}
 
{{Infobox/Header|title={{{name|{{PAGENAME}}}}}|subtitle={{{known_for|}}}}}
Line 13: Line 12:
 
{{Infobox/Item|key=Nicknames|value={{{nicknames|}}}}}
 
{{Infobox/Item|key=Nicknames|value={{{nicknames|}}}}}
 
{{Infobox/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
 
 
 
<noinclude>
 
<noinclude>
 
{{Character}}
 
{{Character}}
Line 21: Line 18:
 
| name=[name]
 
| name=[name]
 
| known_for=[known_for • known_for]
 
| known_for=[known_for • known_for]
| photo=placeholderkerbal.png|photo_desc=[photo_desc]
+
| photo=placeholderkerbal.png|photo_caption=[photo_caption]
 
| birth_date=[birth_date]|birth_location=[birth_location]
 
| birth_date=[birth_date]|birth_location=[birth_location]
 
| death_date=[death_date]|death_location=[death_location]
 
| death_date=[death_date]|death_location=[death_location]

Latest revision as of 04:50, 7 May 2024


Character

Personal Details
Nationality {{{nationality}}}


[name]
[known_for • known_for]
Placeholderkerbal.png
[photo_caption]
Personal Details
Born [birth_date]
[birth_location]
Died [death_date]
[death_location]
Nationality [nationality]
Cause of Death [cause of death]
Relatives [relatives]
Signature
KP dark.png
Nicknames [nicknames]
[position]
In Office
[start] - [end]
Preceded by [predecessor]
Succeeded by [successor]
Military Service
Allegiance [nation]
Branch/Service [branch]
Years of Service
[periods]
Rank [rank]
Conflicts [wars in]
Awards [medals/etc]
Criminal Conviction
Status [released/pardoned/executed/etc]
Convictions [convictions]
Penalty [penalty]

Infobox template for any character

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The character's usual name

Auto value
{{PAGENAME}}
Stringrequired
Known Forknown_for

What the character is known for, position, status, etc...

Example
President of Example, Local Konigger, Avid warcrimes comitter
Stringsuggested
Photophoto

A picture of the character

Filesuggested
Photo Captionphoto_caption

A caption, description or context for the character's picture, if included

Stringsuggested
Nationalitynationality

no description

Stringrequired
Date of birthbirth_date

The character's birth date, if applicable

Datesuggested
Birthplacebirth_location

The character's birth place

Stringoptional
Statusstatus

The character's current status

Example
Alive, Missing in Action, Reigning...
Stringsuggested
Date of deathdeath_date

The character's date of death, if applicable

Datesuggested
Deathplacedeath_location

The character's place of death, if applicable

Stringoptional
Cause of deathcause

The cause of their death, if applicable

Stringoptional
Relativesrelatives

A set of character's relatives, if any (may include pages not yet created)

Stringoptional
Signaturesignature

The character's signature

Fileoptional
Nickname(s)nicknames

The character's nicknames

Stringsuggested