You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Difference between revisions of "Template:Master begin/doc"
(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: | ||
− | + | 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}}
Lorem Ipsum |
Lorem Ipsum |
---|---|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |