User:Bibbly/sandbox/templatetest: Difference between revisions

From The Talos Principle Wiki
Bibbly (talk | contribs)
mNo edit summary
Bibbly (talk | contribs)
No edit summary
Line 12: Line 12:
| style="text-align:right;" | {{{location}}}
| style="text-align:right;" | {{{location}}}
|}
|}
'''{{{file|{{BASEPAGENAME}}}}}''' is a [[document]] stored in an [[terminal]] in {{{location}}}.
'''{{{file|{{BASEPAGENAME}}}}}''' is a [[document]] stored in a [[terminal]]{{#if:{{{location|}}}| in {{{location}}}}}.
{{clear}}
{{clear}}
== Transcript ==
== Transcript ==
<blockquote>
{{#ifexist:{{/Transcript}}|<blockquote>{{/Transcript}}</blockquote>|missing transcript! please create it at [[/Transcript]]}}
{{/transcript}}
</blockquote>
<noinclude>
<noinclude>
----
<templatedata>
<templatedata>
{
{
Line 27: Line 26:
"example": "figure_it_out.eml",
"example": "figure_it_out.eml",
"type": "string",
"type": "string",
"required": true,
"suggested": true
"default": "unknown file name"
},
},
"source": {
"source": {
Line 35: Line 33:
"example": "EP_arch",
"example": "EP_arch",
"type": "string",
"type": "string",
"default": "unknown",
"suggested": true
"suggested": true
},
},
Line 43: Line 40:
"example": "2032/02/19",
"example": "2032/02/19",
"type": "string",
"type": "string",
"default": "unknown",
"suggested": true
"suggested": true
},
},
Line 51: Line 47:
"example": "A1",
"example": "A1",
"type": "string",
"type": "string",
"required": true,
"suggested": true
"default": "unknown"
}
}
},
},
Line 62: Line 57:
],
],
"format": "block",
"format": "block",
"description": "Use this at the *very top* of every in-universe (terminal) document. It will create the one-sentence intro, the Contents header, and the document title."
"description": "Use this at the very top of every in-universe (terminal) document. It will create a one-sentence intro, an infobox for technical details, and will display the transcript at /Transcript if it has been created. Adds the page to Category:TTP1 documents"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 16:34, 2 February 2024

{{{file}}}
Source: {{{source}}}
Date: {{{date}}}
Area: {{{location}}}

Bibbly/sandbox is a document stored in a terminal.

Transcript

missing transcript! please create it at /Transcript


Use this at the very top of every in-universe (terminal) document. It will create a one-sentence intro, an infobox for technical details, and will display the transcript at /Transcript if it has been created. Adds the page to Category:TTP1 documents

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
File Namefile

The in-universe file name, shown on a terminal before selecting the file.

Example
figure_it_out.eml
Stringsuggested
Sourcesource

The "source" of the file, be it locally stored or from another server. Listed alongside the creation date and file name.

Example
EP_arch
Stringsuggested
Creation Datedate

The listed creation date of the document. Listed alongside the source and file name.

Example
2032/02/19
Stringsuggested
Locationlocation

The area in which this file (and its terminal) can be found.

Example
A1
Stringsuggested