Template:Sidebar: Difference between revisions

From Mainlining Wiki
Jump to navigation Jump to search
Knuxify (talk | contribs)
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>"
 
Knuxify (talk | contribs)
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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Sidebar contentcontent 1

no description

Unbalanced wikitextrequired
Do not show on mobilenomobile

no description

Booleanoptional