Template:Navbox: Difference between revisions
Appearance
m 1 revision: Updates made for portability |
Replace Fandom component markup with native Wikipedia classes; retain source parameters, content, and archived history |
||
| Line 1: | Line 1: | ||
<div class="navbox" role="navigation" aria-label="Navigation" style="padding:3px"> | |||
<table class="navbox-inner nowraplinks mw-collapsible" style="border-spacing:0;background:transparent;color:inherit"> | |||
<tr><th scope="col" class="navbox-title" colspan="2"><div style="font-size:114%;margin:0 4em">{{{header}}}</div></th></tr> | |||
<tr><td class="navbox-list navbox-odd" colspan="2" style="width:100%;padding:0"><div style="padding:0 0.25em"> | |||
{{{body}}} | |||
</div></td></tr> | |||
</table> | |||
</div><noinclude> | |||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 17:59, 11 November 2026
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.
- Description
- This template creates a native collapsible navigation box using locally mirrored Wikipedia styles. Its original
headerandbodyparameters remain unchanged.
- Syntax
{{Navbox
|header=Land of Bob
|body=This [[place]] and that [[place]].
}}
- Example
- Creating another navigation template
- Create a template in the
Template:namespace and callNavboxwith its header and body. Use native wiki links and lists in the body. Do not copy Fandom colors or inline component styling.