Wiktenauer logo.png

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

From Wiktenauer
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
=== Example ===
 
=== 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
 
{{master begin

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