Template:Nb-header: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude><div | <noinclude><div class="llwiki-noinclude"> | ||
The header for a '''navigation box''' (navbox). | The header for a '''navigation box''' (navbox). | ||
'''NOTE:''' Use <code><nowiki>{{Nb-footer}}</nowiki></code> to close this header! | |||
'''NOTE:''' Use <code><nowiki> | |||
See [[Template:NavBox:LanguageDescriptions]] for usage example. | See [[Template:NavBox:LanguageDescriptions]] for usage example. | ||
Parameters: | Parameters (all passed to [[Template:B-heading]]): | ||
; 1 | ; 1 | ||
: | : see B-heading - parameter 1 | ||
; vtepage | ; vtepage | ||
: | : see B-heading - parameter 2 | ||
; hsize | ; hsize | ||
: | : Default for this template: 3 | ||
</div></noinclude>< | : see B-heading - parameter 3 | ||
{{# | |||
[[Category:Box component templates]] | |||
</div></noinclude><div class="llwiki-nb" {{#ifeq:{{{hsize|3}}}|3||style="background-color:#f8f9fa;{{#ifeq:{{{hsize|}}}|2|margin-top:1.5em;}}"}}> | |||
{{B-heading|{{{1|}}}|{{{vtepage|}}}|{{{hsize|3}}}| | |||
}}<table> |
Latest revision as of 18:13, 16 January 2021
The header for a navigation box (navbox).
NOTE: Use {{Nb-footer}}
to close this header!
See Template:NavBox:LanguageDescriptions for usage example.
Parameters (all passed to Template:B-heading):
- 1
- see B-heading - parameter 1
- vtepage
- see B-heading - parameter 2
- hsize
- Default for this template: 3
- see B-heading - parameter 3