Wiktenauer logo.png

Difference between revisions of "Template:Master begin/doc"

From Wiktenauer
Jump to navigation Jump to search
(Created page with "This template is simplified from {{tl|hidden begin}}, with all of the parameter for use on a '''Master''' page (except <code><nowiki>{{{width|}}}</nowiki></code>) preset so th...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is simplified from {{tl|hidden begin}}, with all of the parameter for use on a '''Master''' page (except <code><nowiki>{{{width|}}}</nowiki></code>) preset so they can be controlled globally. The <code><nowiki>{{{width|}}}</nowiki></code> parameter should be equal to 28em for each full column and 20 em for each narrow column.
+
These templates are simplified from {{tl|hidden begin}}, with all of the parameter for use on a '''Master''' page (except <code><nowiki>{{{title|}}}</nowiki></code> and <code><nowiki>{{{width|}}}</nowiki></code>) preset so they can be controlled globally.  
 +
 
 +
== Usage ==
 +
 
 +
The <code><nowiki>{{{width|}}}</nowiki></code> parameter should be equal to 28em for each full column and 20em for each narrow column.
 +
 
 +
=== Example ===
 +
 
 +
<pre><nowiki>{{master begin
 +
| title = Lorem Ipsum
 +
| width = 56em
 +
}}
 +
{| class="master"
 +
|-
 +
! <p>Lorem Ipsum<br/>by Wiktenauer</p>
 +
! <p>Lorem Ipsum<br/>by Wiktenauer</p>
 +
 
 +
|-
 +
| <p>{{lorem ipsum}}</p>
 +
| <p>{{lorem ipsum}}</p>
 +
 
 +
|}
 +
{{master end}}</nowiki></pre>
 +
 
 +
{{master begin
 +
| title = Lorem Ipsum
 +
| width = 56em
 +
}}
 +
{| class="wikitable floated master"
 +
|-
 +
! <p>Lorem Ipsum<br/>by Wiktenauer</p>
 +
! <p>Lorem Ipsum<br/>by Wiktenauer</p>
 +
 
 +
|-
 +
| <p>{{lorem ipsum}}</p>
 +
| <p>{{lorem ipsum}}</p>
 +
 
 +
|}
 +
{{master end}}

Latest revision as of 02:10, 4 June 2020

These templates are simplified from {{hidden begin}}, with all of the parameter for use on a Master page (except {{{title|}}} and {{{width|}}}) preset so they can be controlled globally.

Usage

The {{{width|}}} parameter should be equal to 28em for each full column and 20em for each narrow column.

Example

{{master begin
| title = Lorem Ipsum
| width = 56em
}}
{| class="master"
|- 
! <p>Lorem Ipsum<br/>by Wiktenauer</p>
! <p>Lorem Ipsum<br/>by Wiktenauer</p>

|- 
| <p>{{lorem ipsum}}</p>
| <p>{{lorem ipsum}}</p>

|}
{{master end}}