Template:TTP2Document: Difference between revisions

From The Talos Principle Wiki
Created page with "{| class="infobox" ! style="align:center; background-color: #DFBA78; color: black;" colspan=2| {{BASEPAGENAME}} |- | Filename: | style="text-align:right;" | {{{filename|''Not set''}}} |- | Author: | style="text-align:right;" | {{{author|''Unknown''}}} |- | Location<span></span>: | style="text-align:right;" | {{{loc|''Unknown''}}} |} === {{{title|}}} === <noinclude> This is a infobox template for a Document. == Usage == <pre>{{TTP2Document |file = L1C_Niamh |title = Niam..."
 
file parameter is infobox title
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! style="align:center; background-color: #DFBA78; color: black;" colspan=2| {{BASEPAGENAME}}
! style="align:center; background-color: #DFBA78; color: black;" colspan=2| {{{file|{{BASEPAGENAME}}}}}
|-
|-
| Filename:
| Filename:
Line 23: Line 23:
}}</pre>
}}</pre>


That should show up as the box below:
will show up as the ''box and header'' below:
<div style="width: 300px">
<div style="width: 300px">
{{TTP2Document
{{TTP2Document

Revision as of 21:48, 19 November 2023

TTP2Document
Filename: Not set
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
Filename: Not set
Author: Unknown
Location: LOS

Niamh

(document text would appear here)