Template:Infobox Character: Difference between revisions

From The Talos Principle Wiki
File: before image
m removed line break before <noinclude>
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! style="align:center; 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|]]|}}
|-
|-
{{#if: {{{othernames|}}} |
  {{!}}-
  {{!}} Aliases:
  {{!}} {{{othernames}}}
  |
}}
|-
| Species:
| {{{species|''Unknown''}}}
{{#if: {{{number|}}} |
{{#if: {{{number|}}} |
   {{!}}-
   {{!}}-
   {{!}} Serial number:
   {{!}} style="min-width:100px;" {{!}}Serial number:
  {{!}} style="text-align:right;" {{!}} {{{number}}}
  {{!}} {{{number}}}
   |  
   |  
{{!}}
}}
}}
|-
|-
| Affiliations:
| Affiliations:
| style="text-align:right;" | {{{affiliations|''None''}}}
| {{{affiliations|''None''}}}
|-
|-
| Status:
| Status:
| style="text-align:right;" | {{{status|''Unknown''}}}
| {{{status|''Unknown''}}}
|-
|-
{{#if: {{{actor|}}} |
{{#if: {{{actor|}}} |
   {{!}}-
   {{!}}- style="border-top: 1px solid #ccc;"
  {{!}} Voice actor:
   {{!}} style="min-width:100px;" {{!}} Voice actor:
   {{!}} style="text-align:right;" {{!}} {{{actor}}}
  {{!}} {{{actor}}}
   |  
   |  
{{!}}
}}
}}
|}
|}<noinclude>== Usage ==
<noinclude>
Example with number:


New Human example:
<pre>
{{Infobox Character
| name = Yaqut
| species = New Human
| image = Yaqut and Bruce.jpg
| number = 764
| affiliations = Megastructure expedition team
| status = Alive
| actor = Adam Green
}}</pre>
creates
{{Infobox Character
{{Infobox Character
|name=Athena
| name = Yaqut
|number=1
| species = New Human
|appearances= [[The Talos Principle]]
| image = Yaqut and Bruce.jpg
[[The Talos Principle 2]]
| number = 764
| affiliations = Megastructure expedition team
| status = Alive
| actor = Adam Green
}}
}}


Example without number:


Ancient Human example:
<pre>{{Infobox Character
|name=Alexandra Drennan
|species=Ancient Human
|affiliations=Applied Institute for Noematics
|status=Deceased
|othernames=Alex, The Progenitor
|actor=Erin Fitzgerald
}}</pre>
creates
{{Infobox Character
{{Infobox Character
|name=B.T. Odhiambo
|name=Alexandra Drennan
|image=File:East 2-1.jpg
|species=Ancient Human
|affiliations=Applied Institute for Noematics
|status=Deceased
|othernames=Alex, The Progenitor
|actor=Erin Fitzgerald
}}
}}


Line 53: Line 86:
"number": {
"number": {
"label": "Serial number",
"label": "Serial number",
"description": "Can be \"Unknown\". Omit completely for ancient humans.",
"description": "Can be \"Unknown\". For ancient humans, omit this field completely (UNCHECK the box for it).",
"type": "string",
"type": "string",
"suggestedvalues": [
"Unknown"
],
"suggested": true
"suggested": true
},
},
"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 68: Line 98:
"Megastructure expedition team"
"Megastructure expedition team"
],
],
"suggested": true
"suggested": true,
"type": "string"
},
},
"status": {
"status": {
Line 84: Line 115:
"label": "Voice Actor",
"label": "Voice Actor",
"type": "string"
"type": "string"
},
"species": {
"label": "Species",
"suggestedvalues": [
"New Human",
"Ancient Human",
"Cat",
"Program"
],
"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
}
}
},
},
"description": "Infobox for a character from either game",
"description": "Infobox for a character from either game",
"paramOrder": [
"paramOrder": [
"name",
"number",
"image",
"image",
"number",
"species",
"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