Template:Infobox Character: Difference between revisions

From The Talos Principle Wiki
Removed extraneous {{!}} causing third cell in a row
m removed line break before <noinclude>
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! style="background-color: #ccc; color:black;" colspan=2| {{BASEPAGENAME}}
! 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 15: Line 15:
{{#if: {{{number|}}} |
{{#if: {{{number|}}} |
   {{!}}-
   {{!}}-
   {{!}} Serial&nbsp;number:
   {{!}} style="min-width:100px;" {{!}}Serial number:
   {{!}} {{{number}}}
   {{!}} {{{number}}}
   |  
   |  
Line 27: Line 27:
|-
|-
{{#if: {{{actor|}}} |
{{#if: {{{actor|}}} |
   {{!}}-
   {{!}}- style="border-top: 1px solid #ccc;"
   {{!}} Voice&nbsp;actor:
   {{!}} style="min-width:100px;" {{!}} Voice actor:
   {{!}} {{{actor}}}
   {{!}} {{{actor}}}
   |  
   |  
}}
}}
|}
|}<noinclude>== Usage ==
<noinclude>== Usage ==


New Human example:
New Human example:
<pre>
<pre>
{{Infobox Character
{{Infobox Character
| name = Yaqut
| species = New Human
| species = New Human
| image = Yaqut with cat.jpg
| image = Yaqut and Bruce.jpg
| number = 764
| number = 764
| affiliations = Megastructure expedition team
| affiliations = Megastructure expedition team
Line 47: Line 47:
creates
creates
{{Infobox Character
{{Infobox Character
| name = Yaqut
| species = New Human
| species = New Human
| image = Yaqut with cat.jpg
| image = Yaqut and Bruce.jpg
| number = 764
| number = 764
| affiliations = Megastructure expedition team
| affiliations = Megastructure expedition team
Line 91: Line 92:
"affiliations": {
"affiliations": {
"label": "Affiliations",
"label": "Affiliations",
"description": "Comma-separated list of groups to which this person belongs",
"description": "Groups to which this person belongs. (List with commas.)",
"suggestedvalues": [
"suggestedvalues": [
"Applied Institute for Noematics",
"Applied Institute for Noematics",
Line 97: Line 98:
"Megastructure expedition team"
"Megastructure expedition team"
],
],
"suggested": true
"suggested": true,
"type": "string"
},
},
"status": {
"status": {
Line 123: Line 125:
],
],
"default": "New Human",
"default": "New Human",
"required": true
},
"othernames": {
"label": "Aliases",
"description": "Other names this character is called. (List with commas.)",
"example": "The Founder",
"type": "string"
},
"name": {
"label": "Name",
"description": "For new humans, do NOT include the serial number here.",
"required": true
"required": true
}
}
Line 128: Line 141:
"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",
"affiliations",
"affiliations",
"status",
"status",

Latest revision as of 17:29, 22 November 2023

Infobox Character
Species: Unknown
Affiliations: None
Status: Unknown

== Usage ==

New Human example:

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

creates

Yaqut
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