Template:Navbox: Difference between revisions
Appearance
Replace Fandom component markup with native Wikipedia classes; retain source parameters, content, and archived history |
m Use native notheme palette for fixed Wikipedia navbox colors in dark mode |
||
| Line 1: | Line 1: | ||
<div class="navbox" role="navigation" aria-label="Navigation" style="padding:3px"> | <div class="navbox notheme" role="navigation" aria-label="Navigation" style="padding:3px"> | ||
<table class="navbox-inner nowraplinks mw-collapsible" style="border-spacing:0;background:transparent;color:inherit"> | <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><th scope="col" class="navbox-title" colspan="2"><div style="font-size:114%;margin:0 4em">{{{header}}}</div></th></tr> | ||
Latest revision as of 19:08, 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.