|
|
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"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | <includeonly><div class="collapsibletemplate collapsed" style="float:left | + | <includeonly><div class="collapsibletemplate collapsed" style="float:left;"> |
<div class="collapsibleheader header" style="display:none; background-color:transparent; text-align:left; line-height:1.6em;"> | <div class="collapsibleheader header" style="display:none; background-color:transparent; text-align:left; line-height:1.6em;"> | ||
<h3 class="headertext" >{{{title|{{red|b=1|No title}}}}}</h3> | <h3 class="headertext" >{{{title|{{red|b=1|No title}}}}}</h3> | ||
</div> | </div> | ||
| − | <div class="body" style="background:transparent; | + | <div class="body" style="background:transparent; clear:both; display:none; font-weight:normal; padding:3px; text-align:left; width:{{{width|}}};"> |
<div style="display:block; width:{{{width|28em}}};"></includeonly><noinclude>{{documentation}}</noinclude> | <div style="display:block; width:{{{width|28em}}};"></includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 17:39, 17 April 2017
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}}
| The above documentation is transcluded from Template:Master begin/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
