Template:Sidebar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
move template source above template data |
||
Line 1: | Line 1: | ||
<templatestyles src="Sidebar/styles.css"/><noinclude> | <templatestyles src="Sidebar/styles.css"/><!-- | ||
--><includeonly><div class="sidebar {{#if: {{{nomobile|}}}|nomobile|}} {{{class|}}}" {{#if: {{{style|}}}|style="{{{style|}}}"|}}>{{{content|{{{1|}}}}}}</div></includeonly><!-- | |||
--><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 36: | Line 40: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude | </noinclude> |
Latest revision as of 19:22, 19 February 2025
Common helper template for sidebars.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Do not show on mobile | nomobile | no description | Boolean | optional |
HTML classes | class | HTML classes to add to the box, space-separated. | String | optional |
Inline style | style | Inline CSS style to add to the sidebar | String | optional |
Sidebar content | content 1 | no description | Unbalanced wikitext | required |