Template:TTP2Document: Difference between revisions

From The Talos Principle Wiki
No edit summary
m TemplateData
Line 30: Line 30:
(document text would appear here)
(document text would appear here)
</div>
</div>
</noinclude>
<templatedata>
{
"params": {
"file": {
"label": "File Name",
"description": "The in-universe file name, shown on a terminal before selecting the file. If this includes underscores, please also add `{{DISPLAYTITLE:...}}` to this article.",
"example": "4.2_kiloyear_event",
"type": "string",
"required": true
},
"author": {
"label": "Author",
"description": "The in-universe author of the document. You can make this a link using brackets (example: [[Byron]]). If this field is omitted, \"Unknown\" will be used.",
"suggested": true
},
"loc": {
"label": "Location",
"description": "The area in which this file can be found. If the specific terminal is known (e.g., VALA_EXT-1), use that. Otherwise use the prefix for the terminals in that area (e.g., VALA).",
"example": "VALA_EXT-1",
"type": "string",
"suggestedvalues": [
"HAR",
"VALA",
"LOS",
"GRODNA",
"THIRIEL",
"THARMAS",
"ENITHARMON",
"UTHA",
"FUZON",
"ULRO",
"RINTRAH",
"BEULAH",
"AHANIA"
],
"suggested": true
},
"title": {
"label": "Title",
"description": "The in-universe title, written at the top of a document. Sometimes this is the same as the file name, but sometimes it is not.",
"example": "The 4.2 Kiloyear Aridification Event",
"type": "string",
"required": true
}
},
"description": "Use this at the 'very top' of every in-universe (terminal) document. It will create the Infobox.",
"paramOrder": [
"file",
"title",
"author",
"loc"
],
"format": "block"
}
</templatedata></noinclude>

Revision as of 13:40, 22 November 2023

TTP2Document
Author: Unknown
Location: Unknown

'


This is a infobox template for a Document.

Usage

{{TTP2Document
|file = L1C_Niamh
|title = Niamh
|author = Unknown
|loc = [[LOS]]
}}

will show up as the box and header below:

L1C_Niamh
Author: Unknown
Location: LOS

Niamh

(document text would appear here)

Use this at the 'very top' of every in-universe (terminal) document. It will create the Infobox.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
File Namefile

The in-universe file name, shown on a terminal before selecting the file. If this includes underscores, please also add `{{DISPLAYTITLE:...}}` to this article.

Example
4.2_kiloyear_event
Stringrequired
Titletitle

The in-universe title, written at the top of a document. Sometimes this is the same as the file name, but sometimes it is not.

Example
The 4.2 Kiloyear Aridification Event
Stringrequired
Authorauthor

The in-universe author of the document. You can make this a link using brackets (example: [[Byron]]). If this field is omitted, "Unknown" will be used.

Unknownsuggested
Locationloc

The area in which this file can be found. If the specific terminal is known (e.g., VALA_EXT-1), use that. Otherwise use the prefix for the terminals in that area (e.g., VALA).

Suggested values
HAR VALA LOS GRODNA THIRIEL THARMAS ENITHARMON UTHA FUZON ULRO RINTRAH BEULAH AHANIA
Example
VALA_EXT-1
Stringsuggested