Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
Created page with "<templatestyles src="Navbox/styles.css"/><noinclude> <templatedata> { "params": { "header": { "label": "Header text", "description": "Text to display in the navbox header.", "type": "string", "default": "Related pages", "suggested": true }, "links": { "label": "Links", "description": "Links, as a wikitext list. Can also contain subheadings done with \"<span class=\"subheading\">(text goes here)</span>\".", "type": "unbalanced-wikitext",..." |
move template source above template data |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Navbox/styles.css"/><noinclude> | <templatestyles src="Navbox/styles.css"/><!-- | ||
--><includeonly>{{Sidebar | |||
|class = navbox | |||
|content = | |||
{{#if: {{{header|Related pages}}}|<div class="navbox-header">{{{header|Related pages}}}</div>|}} | |||
<div class="navbox-content"> | |||
{{{links|}}} | |||
</div>}}</includeonly><!-- | |||
--><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 21: | Line 31: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:23, 19 February 2025
Navigation sidebox for grouping together common pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header text | header | Text to display in the navbox header.
| String | suggested |
Links | links | Links, as a wikitext list. Can also contain subheadings done with "<span class="subheading">(text goes here)</span>". | Unbalanced wikitext | required |