Template:Navbox: Difference between revisions

Want an adless experience? Log in or Create an account.
I'm going to get rid of the hooks until a situation comes up in which they're needed.
No edit summary
(I'm going to get rid of the hooks until a situation comes up in which they're needed.)
Line 1: Line 1:
<onlyinclude><includeonly>{| class="navbox {{{class|}}}" style="{{{style|}}}"
<onlyinclude><includeonly>{| class="navbox"
! class="title {{{tclass|}}}" colspan="2" | {{{1|}}}</includeonly></onlyinclude>
! class="title" colspan="2" | {{{1|}}}</includeonly></onlyinclude>


==Purpose==
==Purpose==
Line 19: Line 19:
{{Clear|left}}
{{Clear|left}}
<code><nowiki>{{Navbox}}</nowiki></code> and <code><nowiki>{{Navbox/Bottom}}</nowiki></code> are required. Between them, place any number of <code><nowiki>{{Navbox/Header}}</nowiki></code>s and <code><nowiki>{{Navbox/Row}}</nowiki></code>s in any order.
<code><nowiki>{{Navbox}}</nowiki></code> and <code><nowiki>{{Navbox/Bottom}}</nowiki></code> are required. Between them, place any number of <code><nowiki>{{Navbox/Header}}</nowiki></code>s and <code><nowiki>{{Navbox/Row}}</nowiki></code>s in any order.
Each of these templates (besides <code><nowiki>{{Navbox/Bottom}}</nowiki></code>) provides hooks for defining additional CSS classes and styles, using named parameters "class" and "style", respectively.




{{Cat|Formatting Templates}}
{{Cat|Formatting Templates}}
{{Cat|Navbox Templates}}
{{Cat|Navbox Templates}}