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"
Line 1: | Line 1: | ||
<includeonly><div class="NavFrame collapsed" style="border:none;"> | <includeonly><div class="NavFrame collapsed" style="border:none;"> | ||
<div class="NavHead" style="background:#f2f2f2; border:1px solid #aaaaaa; padding:10px; text-align:center; vertical-align:middle; width:60%;"> | <div class="NavHead" style="background:#f2f2f2; border:1px solid #aaaaaa; padding:10px; text-align:center; vertical-align:middle; width:60%;"> | ||
− | <span style="font-size:130%;">{{{title|}}}</span> | + | <span style="font-size:130%;">{{{title|}}}</span> |
</div> | </div> | ||
<div class="NavContent" style="background:transparent; text-align:left; display:block; width:{{{width|28em}}};"></includeonly><noinclude>{{documentation}}</noinclude> | <div class="NavContent" style="background:transparent; text-align:left; display:block; width:{{{width|28em}}};"></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 16:31, 27 October 2014
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 |
---|---|
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. |
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. |