User:Bibbly/sandbox/templatetest: Difference between revisions
m embarrasing script fix (again) |
No edit summary |
||
Line 14: | Line 14: | ||
'''{{{file|{{BASEPAGENAME}}}}}''' is a [[document]] stored in a [[terminal]]{{#if:{{{location|}}}| in {{{location}}}.|.}} | '''{{{file|{{BASEPAGENAME}}}}}''' is a [[document]] stored in a [[terminal]]{{#if:{{{location|}}}| in {{{location}}}.|.}} | ||
{{clear}} | {{clear}} | ||
== Transcript == | {{#if:{{{transcript|}}} | ||
|== Transcript == | |||
{{#ifexist:{{FULLPAGENAME}}/Transcript|<blockquote>{{/Transcript}}</blockquote>|[[/Transcript]] missing. Please create one!}} | {{#ifexist:{{FULLPAGENAME}}/Transcript|<blockquote>{{/Transcript}}</blockquote>|[[/Transcript]] missing. Please create one!}} | ||
}} | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 45: | Line 47: | ||
"description": "The area in which this file (and its terminal) can be found.", | "description": "The area in which this file (and its terminal) can be found.", | ||
"example": "A1", | "example": "A1", | ||
"type": "string", | |||
"suggested": true | |||
}, | |||
"transcript": { | |||
"label": "Transcript?", | |||
"description": "Does the document a separate transcript page (TBD)? If so, this will enable is to be automatically transcluded.", | |||
"type": "boolean", | |||
"autovalue": "false", | |||
"suggested": true | |||
}, | |||
"terminal": { | |||
"label": "Terminal", | |||
"description": "The name of the Terminal that this document is found on. Can be seen in the journal.", | |||
"example": "A02 Extra", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Line 53: | Line 69: | ||
"source", | "source", | ||
"date", | "date", | ||
"location" | "location", | ||
"transcript", | |||
"terminal" | |||
], | ], | ||
"format": "block", | "format": "block", |
Revision as of 19:35, 2 February 2024
Bibbly/sandbox | |
---|---|
Source: | N/A |
Date: | N/A |
Area: | N/A |
Bibbly/sandbox is a document stored in a terminal.
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
File Name | file | The in-universe file name, shown on a terminal before selecting the file.
| String | suggested |
Source | source | The "source" of the file, be it locally stored or from another server. Listed alongside the creation date and file name.
| String | suggested |
Creation Date | date | The listed creation date of the document. Listed alongside the source and file name.
| String | suggested |
Location | location | The area in which this file (and its terminal) can be found.
| String | suggested |
Transcript? | transcript | Does the document a separate transcript page (TBD)? If so, this will enable is to be automatically transcluded.
| Boolean | suggested |
Terminal | terminal | The name of the Terminal that this document is found on. Can be seen in the journal.
| String | suggested |