Difference between revisions of "Hidden begin"
From Unofficial Stationeers Wiki
m (Protected Template:Hidden begin: Very high-risk template. [edit=sysop:move=sysop]) |
(made change per talk request) |
||
| Line 1: | Line 1: | ||
| − | <includeonly | + | <includeonly>{{#ifeq:{{{show-hide|}}}|left <!-- |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | -->| <!------------------------------------------------------------ | + | -->| <!------------------------------------------------------------ |
| − | + | show-hide=left, so place [show/hide] link on lefthand side: | |
| − | + | ------------------------------------------------------------- | |
| − | + | --><div class="NavFrame" <!-- | |
| − | + | -->style="position:relative; <!-- | |
| − | + | -->width:100%; border:{{{border|none}}};"><!-- | |
| − | + | --------positioning [show/hide]-------- | |
| + | --><div class="NavHead" <!-- | ||
| + | -->style="position:absolute; <!-- | ||
| + | -->width:3.4em;<!--to move [show/hide] onto titlebar--> <!-- | ||
| + | -->background:transparent;"><!-- | ||
| + | --></div><!-- | ||
| + | ----------------Title------------------ | ||
| + | --><div style="height:1.6em; <!-- | ||
| + | -->padding-left:3.6em;<!--i.e. NavHead width above plus 0.2em--> <!-- | ||
| + | -->background:{{{titlebackground|transparent}}}; <!-- | ||
| + | -->text-align:{{{titlealign|left}}}; font-size:100%; <!-- | ||
| + | -->font-weight:bold; {{{titlestyle|}}}"><!-- | ||
| + | -->{{{title|}}}</div><!-- | ||
| + | ------------Body formatting------------ | ||
| + | --><div class="NavContent" <!-- | ||
| + | -->style="display:none; <!-- | ||
| + | -->background:{{{bodybackground|transparent}}}; <!-- | ||
| + | -->text-align:{{{bodyalign|left}}}; {{{bodystyle|}}}"><!-- | ||
| − | -->}}</ | + | -->| <!-------------------------------------------------------------- |
| + | show-hide/=left, so place [show/hide] link on righthand side: | ||
| + | --------------------------------------------------------------- | ||
| + | --><div class="NavFrame" <!-- | ||
| + | -->style="border:{{{border|none}}};"><!-- | ||
| + | ---------Title and [show/hide]--------- | ||
| + | --><div class="NavHead" <!-- | ||
| + | -->style="background:{{{titlebackground|transparent}}}; <!-- | ||
| + | -->text-align:{{{titlealign|left}}}; {{{titlestyle|}}}"><!-- | ||
| + | -->{{{title|}}} </div><!-- | ||
| + | ------------Body formatting------------ | ||
| + | --><div class="NavContent" <!-- | ||
| + | -->style="display:none; <!-- | ||
| + | -->background:{{{bodybackground|transparent}}}; <!-- | ||
| + | -->text-align:{{{bodyalign|left}}}; {{{bodystyle|}}}"><!-- | ||
| − | + | -->}}</includeonly><noinclude> | |
| − | -->{{documentation|Template:Hidden begin-end/doc}} | + | {{pp-template|small=yes}} |
| − | + | {{documentation|Template:Hidden begin-end/doc}} | |
| − | <!--- Please add metadata to the <includeonly> section at the bottom of Template:Hidden begin-end/doc ---> | + | <!---Please add metadata to the <includeonly> section at the bottom |
| + | of [[Template:Hidden begin-end/doc]], not here - thank you!---> | ||
</noinclude> | </noinclude> | ||
Revision as of 17:49, 27 August 2008
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
