Template:Oou box: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 3: Line 3:
<div class="oou-box-body">{{{1|}}}</div></div></includeonly><noinclude>  
<div class="oou-box-body">{{{1|}}}</div></div></includeonly><noinclude>  
[[Category:Templates]]
[[Category:Templates]]
{{documentation}}<templatedata>
{{documentation}}</noinclude>
{
"params": {
"1": {
"label": "Content",
"description": "The content to put in the box.",
"type": "content",
"required": true,
"suggested": true
},
"title": {
"label": "Title",
"description": "The title for the box",
"type": "line",
"suggested": true
}
},
"description": "A template for adding short snippets of [[T:OOU|'''o'''ut-'''o'''f-'''u'''niverse]] information to an [[T:IU|in-universe]] page when it is absolutely essential to understand the accompanying in-universe information. ",
"paramOrder": [
"1",
"title"
],
"format": "inline"
}
</templatedata></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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Content1

The content to put in the box.

Contentrequired
Titletitle

The title for the box

Linesuggested