Template:Character: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(fix)
(template data)
Line 48: 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>

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