Template:Infobox Character: Difference between revisions

From The Talos Principle Wiki
Remove number for new humans from title bar, maybe
Use name field in header if provided
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! style="background-color: #ccc; color:black;" colspan=2| {{#titleparts: {{BASEPAGENAME}} | 1 | -1 }}
! style="background-color: #ccc; color:black;" colspan=2| {{{name|{{BASEPAGENAME}}}}}
|-
|-
|colspan=2|{{#if:{{{image|}}}|[[File:{{{image}}}|frameless|250px|thumb|]]|}}
|colspan=2|{{#if:{{{image|}}}|[[File:{{{image}}}|frameless|250px|thumb|]]|}}
Line 27: Line 27:
|-
|-
{{#if: {{{actor|}}} |
{{#if: {{{actor|}}} |
   {{!}}-
   {{!}}- style="border-top: 1px solid #ccc;"
   {{!}} Voice actor:
   {{!}} Voice actor:
   {{!}} {{{actor}}}
   {{!}} {{{actor}}}
Line 38: Line 38:
<pre>
<pre>
{{Infobox Character
{{Infobox Character
| name = Yaqut
| species = New Human
| species = New Human
| image = Yaqut with cat.jpg
| image = Yaqut with cat.jpg
Line 47: Line 48:
creates
creates
{{Infobox Character
{{Infobox Character
| name = Yaqut
| species = New Human
| species = New Human
| image = Yaqut with cat.jpg
| image = Yaqut with cat.jpg
Line 97: Line 99:
"Megastructure expedition team"
"Megastructure expedition team"
],
],
"suggested": true
"suggested": true,
"type": "string"
},
},
"status": {
"status": {
Line 130: Line 133:
"example": "The Founder",
"example": "The Founder",
"type": "string"
"type": "string"
},
"name": {
"label": "Name",
"description": "For new humans, do NOT include the serial number here.",
"required": true
}
}
},
},
"description": "Infobox for a character from either game",
"description": "Infobox for a character from either game",
"paramOrder": [
"paramOrder": [
"name",
"number",
"image",
"image",
"species",
"species",
"number",
"othernames",
"othernames",
"affiliations",
"affiliations",

Revision as of 18:21, 22 November 2023

Infobox Character
Species: Unknown
Affiliations: None
Status: Unknown

Usage

New Human example:

{{Infobox Character
| name = Yaqut
| species = New Human
| image = Yaqut with cat.jpg
| number = 764
| affiliations = Megastructure expedition team
| status = Alive
| actor = Adam Green
}}

creates

Yaqut
File:Yaqut with cat.jpg
Species: New Human
Serial number: 764
Affiliations: Megastructure expedition team
Status: Alive
Voice actor: Adam Green


Ancient Human example:

{{Infobox Character
|name=Alexandra Drennan
|species=Ancient Human
|affiliations=Applied Institute for Noematics
|status=Deceased
|othernames=Alex, The Progenitor
|actor=Erin Fitzgerald
}}

creates

Alexandra Drennan
Aliases: Alex, The Progenitor
Species: Ancient Human
Affiliations: Applied Institute for Noematics
Status: Deceased
Voice actor: Erin Fitzgerald


Infobox for a character from either game

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

For new humans, do NOT include the serial number here.

Unknownrequired
Serial numbernumber

Can be "Unknown". For ancient humans, omit this field completely (UNCHECK the box for it).

Stringsuggested
Imageimage

no description

Filesuggested
Speciesspecies

no description

Suggested values
New Human Ancient Human Cat Program
Default
New Human
Unknownrequired
Aliasesothernames

Other names this character is called. (List with commas.)

Example
The Founder
Stringoptional
Affiliationsaffiliations

Groups to which this person belongs. (List with commas.)

Suggested values
Applied Institute for Noematics Mayor's office Megastructure expedition team
Stringsuggested
Statusstatus

no description

Suggested values
Alive Deceased Unknown
Default
Alive
Example
Alive
Unknownsuggested
Voice Actoractor

no description

Stringoptional