Template:TTP2Document: Difference between revisions
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:
Use this at the 'very top' of every in-universe (terminal) document. It will create the Infobox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
File Name | file | The in-universe file name, shown on a terminal before selecting the file. If this includes underscores, please also add `{{DISPLAYTITLE:...}}` to this article.
| String | required |
Title | title | 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.
| String | required |
Author | author | 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. | Unknown | suggested |
Location | loc | 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).
| String | suggested |