Template:Character: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
(template data)
 
(3 intermediate revisions by the same user 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=#106D3A|header text color=white|name={{{name|{{PAGENAME}}}}}}}
|colspan=2 style="text-align:center;" | {{{image}}}
{{Infobox row|title=Character Type|{{{type|}}}}}
|-
{{Infobox row|type=subheader|color=#17924E|Biographical Information}}
!colspan=2 bgcolor="#106D3A" style="color:#fff; font-size:larger;" |{{{name}}}
{{Infobox row|title=Homeworld|{{{homeworld|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Born|{{{birth|}}}}}
| Character Type
{{Infobox row|title=Died|{{{death|}}}}}
| {{{type}}}
{{Infobox row|type=subheader|color=#17924E|Physical Description}}
|-
{{Infobox row|title=Species|{{{species|}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#17924E;" | '''Biographical Information'''
{{Infobox row|title=Gender|{{{gender|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Height|{{{height|}}}}}
| Homeworld  
{{Infobox row|title=Weight|{{{weight|}}}}}
| {{{homeworld}}}
{{Infobox row|title=Build|{{{build|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Hair Colour|{{{hair|}}}}}
| Born
{{Infobox row|title=Eye Colour|{{{eyes|}}}}}
| {{{birth}}}
{{Infobox row|type=subheader|color=#17924E|Political Information}}
|- style="vertical-align:top;"
{{Infobox row|title=Affiliation|{{{affiliation|}}}}}
| Died
{{Infobox row|title=Job Description|{{{job|}}}}}
| {{{death}}}
{{Infobox row|title=Rank|{{{rank|}}}}}
|-
{{Infobox row|title=Group|{{{group|}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#17924E;" | '''Physical Description'''
|- style="vertical-align:top;"
| Species
| {{{species}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Gender
| {{{gender}}}
|- style="vertical-align:top;"
| Height
| {{{height}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Weight
| {{{weight}}}
|- style="vertical-align:top;"
| Build
| {{{build}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Hair Colour
| {{{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}}}
|- style="vertical-align:top;"
| Group
| {{{group}}}
|}
|}
<noinclude>
<noinclude>
Line 84: Line 48:
|group=
|group=
}}</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 10:08, 4 April 2024

Character
Biographical Information
Physical Description
Political Information

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=
|homeworld=
|birth=
|death=
|species=
|gender=
|height=
|weight=
|build=
|hair=
|eyes=
|affiliation=
|job=
|rank=
|group=
}}
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