Difference between revisions of "Template:Hide"

From Libre Pathology
Jump to navigation Jump to search
(version from 7 March 2021‎)
Line 1: Line 1:
{|border=1" cellspacing=0" cellpadding="2" class="mw-collapsible {{{state|mw-collapsed}}}" style="width:15%;margin:0;padding:0;border:none;border-collapse:collapse;background: #ffffff;"
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expand|{{{expanded|}}}}}}|class={{{class|}}}|border={{{border|none}}}|style={{{framestyle|{{{style|{{{css|}}}}}}}}}
|-
|bg1={{{background|{{{bg1|transparent}}}}}}|ta1={{{titlealign|{{{ta1|center}}}}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}}
!<div style="font-weight:{{{fw1|bold}}};background-color:#ffffff;text-align:{{{ta1|center}}};{{{headercss|}}}">{{{header|{{{1}}}}}}&nbsp;</div>
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}}
|-
|bg2={{{bg2|transparent}}}|ta2={{{ta2|left}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }}
|style="font-weight:{{{fw2|normal}}};background-color:{{{bg2|transparent}}};text-align:{{{ta1|center}}};{{{contentcss|}}}"|
{{{content|{{{contents|{{{text|{{{2}}}}}}}}}}}}{{hidden end}}{{#if:{{{background|}}}{{{bg1|}}}{{{bg2|}}}{{{titlealign|}}}{{{ta1|}}}{{{ta2|}}}{{{fw1|}}}{{{fw2|}}}|[[Category:Hidden templates using styles|{{NAMESPACE}}{{PAGENAME}}]]}}<noinclude>
{{{content|{{{2}}}}}}
{{documentation}}
|}<noinclude>{{documentation}}{{Derivative of Wikipedia}}
</noinclude>
This is based on the template [[Wikipedia:Template:Hidden]].</noinclude>

Revision as of 16:45, 9 March 2022

{{{1}}}
{{{2}}}
Documentation icon Template documentation[[{{fullurl:Template:Documentation/docspace:Template:Documentation/template page/doc| action=edit&preload=Template:Documentation/preload }} create]]