User:Bibbly/sandbox/templatetest: Difference between revisions
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{file|}}}|{{DISPLAYTITLE:{{{file}}}}}}} | {{#if:{{{file|}}}|{{DISPLAYTITLE:{{{file}}}}}}} | ||
{| style="float:right; border:1px solid black" | {| style="float:right; border:1px solid black" | ||
! style="align:center; background-color: #ddd" colspan=2| {{{file}}} | ! style="align:center; background-color: #ddd" colspan=2| {{{file|{{BASEPAGENAME}}}}} | ||
|- | |- | ||
| Source: | | Source: | ||
| style="text-align:right;" | {{{source}}} | | style="text-align:right;" | {{{source|N/A}}} | ||
|- | |- | ||
| Date: | | Date: | ||
| style="text-align:right;" | {{{date}}} | | style="text-align:right;" | {{{date|N/A}}} | ||
|- | |||
| Area: | |||
| style="text-align:right;" | {{{location|N/A}}} | |||
|} | |} | ||
'''{{{file|{{BASEPAGENAME}}}}}''' is a [[document]] stored in | '''{{{file|{{BASEPAGENAME}}}}}''' is a {{#if:{{{multimedia|}}}|multimedia |text }}[[document]]{{#if:{{{terminal|}}}| stored in [[terminal]] {{{terminal}}}}}{{#if:{{{location|}}}| in {{{location}}}.|.}} | ||
== | {{clear}} | ||
<blockquote> | {{#if:{{{transcript|}}} | ||
{{/ | |== Transcript == | ||
</blockquote> | {{#ifexist:{{FULLPAGENAME}}/Transcript|<blockquote>{{/Transcript}}</blockquote>|[[/Transcript]] missing. Please create one!}} | ||
}} | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 23: | Line 28: | ||
"example": "figure_it_out.eml", | "example": "figure_it_out.eml", | ||
"type": "string", | "type": "string", | ||
" | "suggested": true | ||
}, | }, | ||
"source": { | "source": { | ||
Line 31: | Line 35: | ||
"example": "EP_arch", | "example": "EP_arch", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 39: | Line 42: | ||
"example": "2032/02/19", | "example": "2032/02/19", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 47: | Line 49: | ||
"example": "A1", | "example": "A1", | ||
"type": "string", | "type": "string", | ||
" | "suggested": true | ||
" | }, | ||
"transcript": { | |||
"label": "Transcript?", | |||
"description": "Does the document have 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, if applicable. Can be seen in the journal. Leave undefined if the document (e.g. audio log) does not come from a terminal.", | |||
"example": "A02 Extra", | |||
"type": "string" | |||
}, | |||
"multimedia": { | |||
"label": "Multimedia?", | |||
"description": "Does the document contain audio/visual components?", | |||
"type": "boolean", | |||
"autovalue": "false", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 55: | Line 76: | ||
"source", | "source", | ||
"date", | "date", | ||
"location" | "location", | ||
"transcript", | |||
"terminal", | |||
"multimedia" | |||
], | ], | ||
"format": "block", | "format": "block", | ||
"description": "Use this at the | "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> |
Latest revision as of 20:19, 2 February 2024
Bibbly/sandbox | |
---|---|
Source: | N/A |
Date: | N/A |
Area: | N/A |
Bibbly/sandbox is a text document.
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 have 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, if applicable. Can be seen in the journal. Leave undefined if the document (e.g. audio log) does not come from a terminal.
| String | optional |
Multimedia? | multimedia | Does the document contain audio/visual components?
| Boolean | suggested |