Template:Hidden: Difference between revisions

From WWII Archives

(Fulfilling edit request by Tacsipacsi. Thanks for helping!)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{1}}}|end
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expand|{{{expanded|}}}}}}|class={{{class|}}}|border={{{border|none}}}|style={{{framestyle|{{{style|{{{css|}}}}}}}}}
|<!--template is being used to close divs (bottom part)-->
|titlebgcolor={{{titlebgcolor|{{{background|{{{bg1|}}}}}}}}}|ta1={{{titlealign|{{{ta1|center}}}}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}}
</div></div>
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}}
|<!--template is being used to start divs (top part)-->
|contentbgcolor={{{contentbgcolor|{{{bg2|}}}}}}|ta2={{{ta2|}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }}
<div class="tpl-hidden mw-collapsible mw-{{{status|collapsed}}}" {{#if:{{{style|{{{css|}}}}}}|style="{{{style|{{{css|}}}}}}"}}>
{{{content|{{{contents|{{{text|{{{2}}}}}}}}}}}}{{hidden end}}{{#if:{{{background|}}}{{{bg1|}}}{{{bg2|}}}{{{titlealign|}}}{{{ta1|}}}{{{ta2|}}}{{{fw1|}}}{{{fw2|}}}|[[Category:Hidden templates using styles|{{NAMESPACE}}{{PAGENAME}}]]}}<noinclude>
<templatestyles src="Hidden/styles.css" />
<div class="mw-collapsible-toggle" style="font-weight:{{{fw1|bold}}}; background-color:{{{bg1|transparent}}}; text-align:{{#ifeq:{{{toggle|}}}|left|start|{{{toggle|center}}}}}; {{{headerstyle|{{{headercss|}}}}}}"><span class="tpl-hidden-headertext">{{{header|{{{1}}}}}}</span></div>
<div class="mw-collapsible-content {{#ifeq:{{{hlist|}}}|true|hlist}}" style="font-weight:{{{fw2|normal}}}; background:{{{bg2|transparent}}}; text-align:{{{ta2|start}}}; {{{contentstyle|{{{contentcss|}}}}}}">
{{#if:{{{2|<noinclude>demo</noinclude>}}}|
{{{content|{{{2}}}}}}
</div></div>
}}
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 17:57, 9 May 2023

{{{1}}}
{{{2}}}
File:Test Template Info-Icon.svg Template documentationcreate · purge ]
This documentation is transcluded from Template:Hidden/doc.