Template:Navbox: Difference between revisions

From Mainlining Wiki
Jump to navigation Jump to search
Knuxify (talk | contribs)
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",..."
 
Knuxify (talk | contribs)
No edit summary
Line 24: Line 24:
|content = <div class="navbox">
|content = <div class="navbox">
{{#if: {{{header|Related pages}}}|<div class="navbox-header">{{{header|Related pages}}}</div>|}}
{{#if: {{{header|Related pages}}}|<div class="navbox-header">{{{header|Related pages}}}</div>|}}
<div class="navbox-content">{{{links|}}}</div>
<div class="navbox-content">
{{{links|}}}
</div>
</div>}}
</div>}}

Revision as of 19:10, 19 February 2025

Navigation sidebox for grouping together common pages

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Header textheader

Text to display in the navbox header.

Default
Related pages
Stringsuggested
Linkslinks

Links, as a wikitext list. Can also contain subheadings done with "<span class="subheading">(text goes here)</span>".

Unbalanced wikitextrequired