Template:Character: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
(added several rows; political information -> professional information (more descriptive imo))
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
{{Infobox Wiki
|-
|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}}}}}}}
|colspan=2 style="text-align:center;" | {{{image}}}
{{Infobox row|title=Character Type|{{{type|<noinclude>{{{type}}}</noinclude>}}}}}
|-
{{Infobox row|type=subheader|color={{{subheader color|#1EAE5D}}}|Biographical Information}}
!colspan=2 bgcolor="#106D3A" style="color:#fff; font-size:larger;" |{{{name}}}
{{Infobox row|title=Pronunciation|{{{pronunciation|<noinclude>{{{pronunciation}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Former names|{{{former names|<noinclude>{{{former names}}}</noinclude>}}}}}
| Character Type
{{Infobox row|title=Other names|{{{other names|<noinclude>{{{other names}}}</noinclude>}}}}}
| {{{type}}}
{{Infobox row|title=Homeworld|{{{homeworld|<noinclude>{{{homeworld}}}</noinclude>}}}}}
|-
{{Infobox row|title=Born|{{{birth|<noinclude>{{{birth}}}</noinclude>}}}{{#if: {{{birth|<noinclude>{{{birth}}}</noinclude>}}} | <br> }}{{{place of birth|<noinclude>{{{place of birth}}}</noinclude>}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#17924E;" | '''Biographical Information'''
{{Infobox row|title=Died|{{{death|<noinclude>{{{death}}}</noinclude>}}}{{#if: {{{death|<noinclude>{{{death}}}</noinclude>}}} | <br> }}{{{place of death|<noinclude>{{{place of death}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Cause of death|{{{cause of death|<noinclude>{{{cause of death}}}</noinclude>}}}}}
| Homeworld  
{{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>}}}}}
| {{{homeworld}}}
{{Infobox row|title=Family|{{{Family|<noinclude>{{{family}}}</noinclude>}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Parents|{{{parents|<noinclude>{{{parents}}}</noinclude>}}}}}
| Born
{{Infobox row|title=Spouses|{{{spouses|<noinclude>{{{spouses}}}</noinclude>}}}}}
| {{{birth}}}
{{Infobox row|title=Partners|{{{partners|<noinclude>{{{partners}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Children|{{{children|<noinclude>{{{children}}}</noinclude>}}}}}
| Died
{{Infobox row|title=Relatives|{{{relatives|<noinclude>{{{relatives}}}</noinclude>}}}}}
| {{{death}}}
{{Infobox row|type=subheader|color={{{subheader color|#1EAE5D}}}|Physical Description}}
|-
{{Infobox row|title=Species|{{{species|<noinclude>{{{species}}}</noinclude>}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#17924E;" | '''Physical Description'''
{{Infobox row|title=Gender|{{{gender|<noinclude>{{{gender}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Height|{{{height|<noinclude>{{{height}}}</noinclude>}}}}}
| Species
{{Infobox row|title=Weight|{{{weight|<noinclude>{{{weight}}}</noinclude>}}}}}
| {{{species}}}
{{Infobox row|title=Build|{{{build|<noinclude>{{{build}}}</noinclude>}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Hair Colour|{{{hair|<noinclude>{{{hair}}}</noinclude>}}}}}
| Gender
{{Infobox row|title=Eye Colour|{{{eyes|<noinclude>{{{eyes}}}</noinclude>}}}}}
| {{{gender}}}
{{Infobox row|type=subheader|color={{{subheader color|#1EAE5D}}}|Professional Information}}
|- style="vertical-align:top;"
{{Infobox row|title=Affiliation|{{{affiliation|<noinclude>{{{affiliation}}}</noinclude>}}}}}
| Height
{{Infobox row|title=Education|{{{education|<noinclude>{{{education}}}</noinclude>}}}}}
| {{{height}}}
{{Infobox row|title=Alma Mater|{{{alma mater|<noinclude>{{{alma mater}}}</noinclude>}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Employer|{{{employer|<noinclude>{{{employer}}}</noinclude>}}}}}
| Weight
{{Infobox row|title=Office|{{{office|<noinclude>{{{office}}}</noinclude>}}}}}
| {{{weight}}}
{{Infobox row|title=Job Description|{{{job|<noinclude>{{{job}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Rank|{{{rank|<noinclude>{{{rank}}}</noinclude>}}}}}
| Build
{{Infobox row|title=Title|{{{title|<noinclude>{{{title}}}</noinclude>}}}}}
| {{{build}}}
{{Infobox row|title=Group|{{{group|<noinclude>{{{group}}}</noinclude>}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Party|{{{party|<noinclude>{{{party}}}</noinclude>}}}}}
| Hair Colour
{{Infobox row|title=Movement|{{{movement|<noinclude>{{{movement}}}</noinclude>}}}}}
| {{{hair}}}
|- style="vertical-align:top;"
| Eye Colour
| {{{eyes}}}
|-
! colspan=2 style="text-align:left; font-weight:normal; background:#17924E;" | '''Political Information'''
|- style="vertical-align:top; background:#f0f0f0;"
| Affiliation
| {{{affiliation}}}
|- style="vertical-align:top;"
| Job Description
| {{{job}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Rank
| {{{rank}}}
|}
|}
 
<noinclude>
===Usage instructions===
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:
(The '''"type="''' field should have one of the four following:
# "Primary PC" - this is a primary character of a user
# "Secondary PC" - this is a secondary character of a user
# "Personal NPC" - this character is an NPC that should only be used by his/her creator
# "General NPC" - this character can be run by multiple persons)
<pre><nowiki>
<pre><nowiki>
{{character
{{character
Line 61: 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 72: Line 76:
|eyes=
|eyes=
|affiliation=
|affiliation=
|education=
|alma mater=
|employer=
|office=
|job=
|job=
|rank=
|rank=
}}</nowiki>
|title=
|group=
|party=
|movement=
}}</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}}]]
</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