Template:Navbox: Difference between revisions

From Mainlining Wiki
Jump to navigation Jump to search
Knuxify (talk | contribs)
No edit summary
Knuxify (talk | contribs)
move template source above template data
 
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>{{Sidebar
</noinclude>
|class = navbox
|content =
{{#if: {{{header|Related pages}}}|<div class="navbox-header">{{{header|Related pages}}}</div>|}}
<div class="navbox-content">
{{{links|}}}
</div>}}

Latest revision as of 19:23, 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