Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Hidden begin: Difference between revisions

Template page
Created page with "{{pp-template}}: .hidden-begin { box-sizing: border-box; width: 100%; padding: 5px; border: none; font-size: 95%; } .hidden-title { font-weight: bold; line-height: 1.6; text-align: left; } .hidden-content { text-align: left; } [[phab:T360582]]: @media all and ( max-width: 500px ) { .hidden-begin { width: auto !important; clear: none !important; float: none !important; } }"
 
No edit summary
Line 1: Line 1:
/* {{pp-template}} */
<includeonly><templatestyles src="Template:Hidden begin/styles.css"/><div class="hidden-begin mw-collapsible {{#ifeq:{{{showhide|{{{toggle}}}}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}}||mw-collapsed}} {{{class|}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{border|}}}|border:{{{border}}};}} {{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}};}} {{{style|}}}"><!--
.hidden-begin {
--><div class="hidden-title skin-nightmode-reset-color" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}} {{#if:{{{titlebgcolor|}}}|background-color:{{{titlebgcolor}}};}} {{{titlestyle|}}}">{{{title|{{{header|}}}}}}</div><!--
box-sizing: border-box;
--><div class="hidden-content mw-collapsible-content" style="{{#if:{{{ta2|}}}|text-align:{{{ta2}}};}} {{#if:{{{contentbgcolor|}}}|background-color:{{{contentbgcolor}}};}} {{{contentstyle|{{{bodystyle|}}}}}}"><!--
width: 100%;
Content added after the template
padding: 5px;
--></includeonly><noinclude>
border: none;
{{Documentation}}
font-size: 95%;
</noinclude>
}
 
.hidden-title {
font-weight: bold;
line-height: 1.6;
text-align: left;
}
 
.hidden-content {
text-align: left;
}
 
/* [[phab:T360582]] */
@media all and ( max-width: 500px ) {
  .hidden-begin {
    width: auto !important;
    clear: none  !important;
    float: none !important;
  }
}

Revision as of 12:04, 2 March 2025