Template:Oou box: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "<includeonly><div class="oou-box"> <div class="oou-box-title">{{{title|}}}</div> <div class="oou-box-body">{{{1|}}}</div> </div> </includeonly> <noinclude>category:Layout templates{{documentation}}</noinclude>")
 
No edit summary
Tag: Manual revert
 
(6 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>
[[Category:Templates]]
</includeonly>
{{documentation}}</noinclude>
<noinclude>[[category:Layout templates]]{{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.

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