Modèle:Hidden : Différence entre versions

De NVCwiki
Aller à : navigation, rechercher
 
(2 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expanded|}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}}
+
<noinclude>
|bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}}
+
{{languages}}
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}}
+
</noinclude><div style="display:{{{display|block}}};margin-{{dir|{{pagelang}}|right|left}}:{{{indent|0px}}};{{{extrastyle|}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
|bg2={{{bg2|transparent}}}|ta2={{{ta2|left}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }}
+
{| <!-- Template:Collapse top --> class="navbox mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: {{dir|{{pagelang}}|right|left}}; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
{{{content|{{{contents|{{{2}}}}}}}}}{{hidden end}}{{#if:{{{bg1|}}}{{{bg2|}}}{{{ta1|}}}{{{ta2|}}}{{{fw1|}}}{{{fw2|}}}|[[Category:Hidden templates using styles|{{NAMESPACE}}{{PAGENAME}}]]}}<noinclude>
+
|-
{{documentation}}
+
! style="background-color: {{{bg|#F8FCFF}}}; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|{{dir|{{pagelang}}|right|left}}|center}}; font-size:112%; color: {{{fc|black}}};" | {{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}}  
 +
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}
 +
|{{{{{|safesubst:}}}!}}-
 +
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}
 +
|-
 +
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{{{{|safesubst:}}}!}}<noinclude>
 +
<center>''The following content has been placed in a collapsed box for improved usability.''</center>
 +
{{ {{TNTN|Collapse bottom}} }}
 +
{{ {{TNTN|Documentation}} }}
 +
[[Category:Formatting templates{{translation}}]]
 
</noinclude>
 
</noinclude>
 
 
{{test|style: nw-collapsible}}
 
 
 
 
<div class="mw-collapsible">{{test-collapsible}}</div>
 

Version actuelle datée du 19 janvier 2017 à 18:58

Modèle:Languages

Menu de navigation