Template:Oou box: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Bongolium500 (talk | contribs) m (removed Category:Layout templates; added Category:Templates using HotCat) |
Bongolium500 (talk | contribs) No edit summary Tag: Manual revert |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="oou-box"> | <includeonly><templatestyles src="Oou box/styles.css" /><div class="oou-box"> | ||
<div class="oou-box-title">{{{title|}}}</div> | <div class="oou-box-title">{{{title|}}}</div> | ||
<div class="oou-box-body">{{{1|}}}</div> | <div class="oou-box-body">{{{1|}}}</div></div></includeonly><noinclude> | ||
</div> | |||
</includeonly> | |||
<noinclude> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 20:36, 4 April 2024
Instructions for {{Oou box}}
{{oou box}} is a template for adding short snippets of out-of-universe information to an in-universe page when it is absolutely essential to understand the accompanying in-universe information. It's usage is simple:
{{oou box|Text to display in the box|title=optional title}}
For example, the following code produces the box below, used on TARDIS console (The Snowmen):
{{oou box|The console's panels are listed here in clockwise order, starting with the panel facing the [[TARDIS door]]s in the placement first seen in the episode {{cs|The Snowmen (TV story)}}.}}
The console's panels are listed here in clockwise order, starting with the panel facing the TARDIS doors in the placement first seen in the episode The Snowmen [+]Loading...["The Snowmen (TV story)"].
With a title, this might look like:
{{oou box|The console's panels are listed here in clockwise order, starting with the panel facing the [[TARDIS door]]s in the placement first seen in the episode {{cs|The Snowmen (TV story)}}.|title=Panel numbering}}
Panel numbering
The console's panels are listed here in clockwise order, starting with the panel facing the TARDIS doors in the placement first seen in the episode The Snowmen [+]Loading...["The Snowmen (TV story)"].
The template will automatically shrink to fit around infoboxes and tables of contents.
Styling[[edit source]]
CSS for this template can be found at /styles.css.
TemplateData[[edit source]]
A template for adding short snippets of out-of-universe information to an in-universe page when it is absolutely essential to understand the accompanying in-universe information.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | The content to put in the box. | Content | required |
Title | title | The title for the box | Line | suggested |