Template:Character: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(converted to template:Infobox Wiki)
(added several rows; political information -> professional information (more descriptive imo))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox Wiki
{{Infobox Wiki
|image={{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image size|210px}}}]]}}|image text={{{image text|}}}|header color=#106D3A|header text color=white|name={{{name|{{PAGENAME}}}}}}}
|image={{#if:{{{image|}}}|[[File:{{{image|}}}{{#ifeq: {{{image size|}}}|auto||{{!}}{{{image size|210px}}}}}]]}}|image text={{{image text|}}}|header color={{{header color|#106D3A}}}|header text color={{{header text color|white}}}|name={{{name|{{PAGENAME}}}}}}}
{{Infobox row|title=Character Type|{{{type|}}}}}
{{Infobox row|title=Character Type|{{{type|<noinclude>{{{type}}}</noinclude>}}}}}
{{Infobox row|type=subheader|color=#17924E|Biographical Information}}
{{Infobox row|type=subheader|color={{{subheader color|#1EAE5D}}}|Biographical Information}}
{{Infobox row|title=Homeworld|{{{homeworld|}}}}}
{{Infobox row|title=Pronunciation|{{{pronunciation|<noinclude>{{{pronunciation}}}</noinclude>}}}}}
{{Infobox row|title=Born|{{{birth|}}}}}
{{Infobox row|title=Former names|{{{former names|<noinclude>{{{former names}}}</noinclude>}}}}}
{{Infobox row|title=Died|{{{death|}}}}}
{{Infobox row|title=Other names|{{{other names|<noinclude>{{{other names}}}</noinclude>}}}}}
{{Infobox row|type=subheader|color=#17924E|Physical Description}}
{{Infobox row|title=Homeworld|{{{homeworld|<noinclude>{{{homeworld}}}</noinclude>}}}}}
{{Infobox row|title=Species|{{{species|}}}}}
{{Infobox row|title=Born|{{{birth|<noinclude>{{{birth}}}</noinclude>}}}{{#if: {{{birth|<noinclude>{{{birth}}}</noinclude>}}} | <br> }}{{{place of birth|<noinclude>{{{place of birth}}}</noinclude>}}}}}
{{Infobox row|title=Gender|{{{gender|}}}}}
{{Infobox row|title=Died|{{{death|<noinclude>{{{death}}}</noinclude>}}}{{#if: {{{death|<noinclude>{{{death}}}</noinclude>}}} | <br> }}{{{place of death|<noinclude>{{{place of death}}}</noinclude>}}}}}
{{Infobox row|title=Height|{{{height|}}}}}
{{Infobox row|title=Cause of death|{{{cause of death|<noinclude>{{{cause of death}}}</noinclude>}}}}}
{{Infobox row|title=Weight|{{{weight|}}}}}
{{Infobox row|title=Laid in rest|{{{laid in rest|<noinclude>{{{laid in rest}}}</noinclude>}}}{{#if: {{{laid in rest|<noinclude>{{{laid in rest}}}</noinclude>}}} | <br> }}{{{resting place|<noinclude>{{{resting place}}}</noinclude>}}}}}
{{Infobox row|title=Build|{{{build|}}}}}
{{Infobox row|title=Family|{{{Family|<noinclude>{{{family}}}</noinclude>}}}}}
{{Infobox row|title=Hair Colour|{{{hair|}}}}}
{{Infobox row|title=Parents|{{{parents|<noinclude>{{{parents}}}</noinclude>}}}}}
{{Infobox row|title=Eye Colour|{{{eyes|}}}}}
{{Infobox row|title=Spouses|{{{spouses|<noinclude>{{{spouses}}}</noinclude>}}}}}
{{Infobox row|type=subheader|color=#17924E|Political Information}}
{{Infobox row|title=Partners|{{{partners|<noinclude>{{{partners}}}</noinclude>}}}}}
{{Infobox row|title=Affiliation|{{{affiliation|}}}}}
{{Infobox row|title=Children|{{{children|<noinclude>{{{children}}}</noinclude>}}}}}
{{Infobox row|title=Job Description|{{{job|}}}}}
{{Infobox row|title=Relatives|{{{relatives|<noinclude>{{{relatives}}}</noinclude>}}}}}
{{Infobox row|title=Rank|{{{rank|}}}}}
{{Infobox row|type=subheader|color={{{subheader color|#1EAE5D}}}|Physical Description}}
{{Infobox row|title=Group|{{{group|}}}}}
{{Infobox row|title=Species|{{{species|<noinclude>{{{species}}}</noinclude>}}}}}
{{Infobox row|title=Gender|{{{gender|<noinclude>{{{gender}}}</noinclude>}}}}}
{{Infobox row|title=Height|{{{height|<noinclude>{{{height}}}</noinclude>}}}}}
{{Infobox row|title=Weight|{{{weight|<noinclude>{{{weight}}}</noinclude>}}}}}
{{Infobox row|title=Build|{{{build|<noinclude>{{{build}}}</noinclude>}}}}}
{{Infobox row|title=Hair Colour|{{{hair|<noinclude>{{{hair}}}</noinclude>}}}}}
{{Infobox row|title=Eye Colour|{{{eyes|<noinclude>{{{eyes}}}</noinclude>}}}}}
{{Infobox row|type=subheader|color={{{subheader color|#1EAE5D}}}|Professional Information}}
{{Infobox row|title=Affiliation|{{{affiliation|<noinclude>{{{affiliation}}}</noinclude>}}}}}
{{Infobox row|title=Education|{{{education|<noinclude>{{{education}}}</noinclude>}}}}}
{{Infobox row|title=Alma Mater|{{{alma mater|<noinclude>{{{alma mater}}}</noinclude>}}}}}
{{Infobox row|title=Employer|{{{employer|<noinclude>{{{employer}}}</noinclude>}}}}}
{{Infobox row|title=Office|{{{office|<noinclude>{{{office}}}</noinclude>}}}}}
{{Infobox row|title=Job Description|{{{job|<noinclude>{{{job}}}</noinclude>}}}}}
{{Infobox row|title=Rank|{{{rank|<noinclude>{{{rank}}}</noinclude>}}}}}
{{Infobox row|title=Title|{{{title|<noinclude>{{{title}}}</noinclude>}}}}}
{{Infobox row|title=Group|{{{group|<noinclude>{{{group}}}</noinclude>}}}}}
{{Infobox row|title=Party|{{{party|<noinclude>{{{party}}}</noinclude>}}}}}
{{Infobox row|title=Movement|{{{movement|<noinclude>{{{movement}}}</noinclude>}}}}}
|}
|}
<noinclude>
<noinclude>
Line 33: Line 51:
|image=
|image=
|type=
|type=
|pronunciation=
|former names=
|other names=
|homeworld=
|homeworld=
|birth=
|birth=
|place of birth=
|death=
|death=
|place of death=
|cause of death=
|laid in rest=
|resting place=
|family=
|parents=
|spouses=
|partners=
|children=
|relatives=
|species=
|species=
|gender=
|gender=
Line 44: Line 76:
|eyes=
|eyes=
|affiliation=
|affiliation=
|education=
|alma mater=
|employer=
|office=
|job=
|job=
|rank=
|rank=
|title=
|group=
|group=
|party=
|movement=
}}</nowiki></pre>
}}</nowiki></pre>
 
{{Navbox|TITLE=Template Data|
<templatedata>
{
"params": {
"image": {
"label": "Image",
"description": "Adds image to the top of the infobox",
"type": "wiki-file-name"
},
"image size": {
"label": "Image size",
"description": "Size of the top image",
"type": "line"
},
"image text": {
"label": "Image text",
"description": "A short description of the top image in smaller font",
"type": "content"
},
"name": {
"label": "Name",
"description": "Name of the character",
"type": "content",
"suggested": true
},
"type": {
"label": "Character type",
"description": "The OOC role of the character",
"type": "line",
"suggestedvalues": [
"Primary PC",
"Secondary PC",
"Personal NPC",
"General NPC"
],
"suggested": true
},
"homeworld": {
"label": "Homeworld",
"description": "Where the character originates from",
"type": "content"
},
"birth": {
"label": "Born",
"description": "Date of birth",
"type": "content"
},
"death": {
"label": "Died",
"description": "Date of death",
"type": "content"
},
"species": {
"label": "Species",
"description": "What species the character is",
"type": "content"
},
"gender": {
"label": "Gender",
"description": "What gender the character is",
"type": "content"
},
"height": {
"label": "Height",
"description": "How tall the character is",
"type": "content"
},
"weight": {
"label": "Weight",
"description": "How much does the character weight",
"type": "content"
},
"build": {
"label": "Build",
"description": "What body shape does the character have",
"type": "content"
},
"hair": {
"label": "Hair colour",
"description": "What color are the character's hair",
"type": "content"
},
"eyes": {
"label": "Eye colour",
"description": "What color are the character's eyes",
"type": "content"
},
"affiliation": {
"label": "Affiliation",
"description": "Which faction or other organization is the character affiliated with",
"type": "content"
},
"job": {
"label": "Job Description",
"description": "What is the character's role in their organization",
"type": "content"
},
"rank": {
"label": "Rank",
"description": "What military or similar rank does the character have",
"type": "content"
},
"group": {
"label": "Group",
"description": "In which ship or other group within the organization does the character belong to",
"type": "content"
}
},
"description": "Infobox for characters",
"format": "block"
}
</templatedata>}}
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 21:24, 19 June 2024

Character
Character Type {{{type}}}
Biographical Information
Pronunciation {{{pronunciation}}}
Former names {{{former names}}}
Other names {{{other names}}}
Homeworld {{{homeworld}}}
Born {{{birth}}}
{{{place of birth}}}
Died {{{death}}}
{{{place of death}}}
Cause of death {{{cause of death}}}
Laid in rest {{{laid in rest}}}
{{{resting place}}}
Family {{{family}}}
Parents {{{parents}}}
Spouses {{{spouses}}}
Partners {{{partners}}}
Children {{{children}}}
Relatives {{{relatives}}}
Physical Description
Species {{{species}}}
Gender {{{gender}}}
Height {{{height}}}
Weight {{{weight}}}
Build {{{build}}}
Hair Colour {{{hair}}}
Eye Colour {{{eyes}}}
Professional Information
Affiliation {{{affiliation}}}
Education {{{education}}}
Alma Mater {{{alma mater}}}
Employer {{{employer}}}
Office {{{office}}}
Job Description {{{job}}}
Rank {{{rank}}}
Title {{{title}}}
Group {{{group}}}
Party {{{party}}}
Movement {{{movement}}}

Usage instructions

Paste the following code into the top of an article, filling all known fields: (The "type=" field should have one of the four following:

  1. "Primary PC" - this is a primary character of a user
  2. "Secondary PC" - this is a secondary character of a user
  3. "Personal NPC" - this character is an NPC that should only be used by his/her creator
  4. "General NPC" - this character can be run by multiple persons)
{{character
|name=
|image=
|type=
|pronunciation=
|former names=
|other names=
|homeworld=
|birth=
|place of birth=
|death=
|place of death=
|cause of death=
|laid in rest=
|resting place=
|family=
|parents=
|spouses=
|partners=
|children=
|relatives=
|species=
|gender=
|height=
|weight=
|build=
|hair=
|eyes=
|affiliation=
|education=
|alma mater=
|employer=
|office=
|job=
|rank=
|title=
|group=
|party=
|movement=
}}
Template Data

Infobox for characters

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Adds image to the top of the infobox

Fileoptional
Image sizeimage size

Size of the top image

Lineoptional
Image textimage text

A short description of the top image in smaller font

Contentoptional
Namename

Name of the character

Contentsuggested
Character typetype

The OOC role of the character

Suggested values
Primary PC Secondary PC Personal NPC General NPC
Linesuggested
Homeworldhomeworld

Where the character originates from

Contentoptional
Bornbirth

Date of birth

Contentoptional
Dieddeath

Date of death

Contentoptional
Speciesspecies

What species the character is

Contentoptional
Gendergender

What gender the character is

Contentoptional
Heightheight

How tall the character is

Contentoptional
Weightweight

How much does the character weight

Contentoptional
Buildbuild

What body shape does the character have

Contentoptional
Hair colourhair

What color are the character's hair

Contentoptional
Eye coloureyes

What color are the character's eyes

Contentoptional
Affiliationaffiliation

Which faction or other organization is the character affiliated with

Contentoptional
Job Descriptionjob

What is the character's role in their organization

Contentoptional
Rankrank

What military or similar rank does the character have

Contentoptional
Groupgroup

In which ship or other group within the organization does the character belong to

Contentoptional