Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="navbox" cellspacing="0" style="border:1px solid #aaa; width:100%; clear:both; font-size:88%; text-align:center; padding:1px; margin:1em auto 0; background:#f9f9f9;" | <includeonly>{| class="navbox" cellspacing="0" style="border:1px solid #aaa; width:100%; clear:both; font-size:88%; text-align:center; padding:1px; margin:1em auto 0; background:#f9f9f9;" | ||
|- | |- | ||
{{#if:{{{name|}}}|! style="background:#ccccff; padding:2px; width:6em;" {{!}} {{Tnavbar|{{{name}}}|mini=1}} | {{#if:{{{name|}}}|! style="background:#ccccff; padding:2px; width:6em; text-align:left;" {{!}} {{Tnavbar|{{{name}}}|mini=1}} | ||
}}! style="background:#ccccff; padding:2px;" | ! style="background:#ccccff; padding:2px; text-align:center;" {{!}} <span style="font-size:110%;">{{{title}}}</span>|! style="background:#ccccff; padding:2px; text-align:center;" {{!}} <span style="font-size:110%;">{{{title}}}</span>}} | ||
{{#if:{{{above|}}}| | {{#if:{{{above|}}}| | ||
{{!}}- | {{!}}- | ||
Latest revision as of 11:30, 26 June 2025
Usage
This is a meta-template for creating navigation boxes. Use it to build specific navboxes for different topics.
Basic Usage
{{Navbox
| name = TemplateName
| title = Navigation Title
| group1 = Group Name
| list1 = [[Link1]] • [[Link2]] • [[Link3]]
| group2 = Another Group
| list2 = [[Link4]] • [[Link5]]
}}
Parameters
- name - Template name (for edit links)
- title - Main title of the navbox
- above - Text above all groups (optional)
- group1-12 - Group headers (optional)
- list1-12 - Content for each group/list
- below - Text below all groups (optional)