Template:Sidebar: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude> <templatedata> { "params": {}, "description": "Common helper template for sidebars.", "format": "block" } </templatedata> </noinclude><includeonly><div class="sidebar {{#if: {{{nomobile|}}}| nomobile|}}"></div></includeonly>" |
No edit summary |
||
Line 2: | Line 2: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": {}, | "params": { | ||
"nomobile": { | |||
"label": "Do not show on mobile", | |||
"type": "boolean" | |||
}, | |||
"content": { | |||
"aliases": [ | |||
"1" | |||
], | |||
"label": "Sidebar content", | |||
"type": "unbalanced-wikitext", | |||
"required": true | |||
} | |||
}, | |||
"description": "Common helper template for sidebars.", | "description": "Common helper template for sidebars.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"content", | |||
"nomobile" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly><div class="sidebar {{#if: {{{nomobile|}}}| nomobile|}}"></div></includeonly> | </noinclude><includeonly><div class="sidebar {{#if: {{{nomobile|}}}| nomobile|}}">{{{content|{{{1|}}}</div></includeonly> |
Revision as of 18:45, 19 February 2025
Common helper template for sidebars.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Sidebar content | content 1 | no description | Unbalanced wikitext | required |
Do not show on mobile | nomobile | no description | Boolean | optional |