Template:Oou box/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Typo)
Tags: Mobile edit Mobile web edit
No edit summary
Line 11: Line 11:
== Styling ==
== Styling ==
CSS for this template can be found at [[/styles.css]].
CSS for this template can be found at [[/styles.css]].
== TemplateData ==
<templatedata>
{
"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>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 20:36, 4 April 2024

{{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

CSS for this template can be found at /styles.css.

TemplateData

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.

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