Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
Neon Knight (talk | contribs) |
Neon Knight (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>{{NoticeBox/CollapsibleNoImage | <includeonly>{{NoticeBox/CollapsibleNoImage | ||
|title={{{title}}} | |title={{{title}}} | ||
|bgcolor=#cccccc | |||
|color=#000000 | |color=#000000 | ||
|bgcolor_text=#ffffff | |bgcolor_text=#ffffff | ||
|color_text=#444444 | |||
|body={{{body}}} | |body={{{body}}} | ||
}}</includeonly><noinclude>{{Navbox/doc}}{{AddCategories|type=Navbox}}</noinclude> | }}</includeonly><noinclude>{{Navbox/doc}}{{AddCategories|type=Navbox}}</noinclude> |
Revision as of 20:56, 12 July 2020
Navbox templates |
---|
Navbox | |
---|---|
Class | Navbox |
A simple navigation box of one column and one row, usually used for link lists and warnings/errors.
Mostly self-explanatory, though color only accepts these values: "blue", "red", "green", "yellow" and "black", and will revert to the neutral color if no value is specified. Meanwhile collapse determines if the box should be collapsible, this is desireable for navigation boxes, for example.
{{Navbox |title= |body= |image= |color= |collapse= }}
Here are some examples:
{{Navbox|title=This is a test.|body=Red navbox with an image.|image=Malcolm-stub-ut3.jpg|color=red|collapse=}}
This is a test. |
---|
Red navbox with an image. |
{{Navbox|title=This is another test.|body=Blue navbox without an image.|image=|color=blue|collapse=}}
This is another test. |
---|
Blue navbox without an image. |
{{Navbox|title=This is yet another test.|body=Gold navbox without an image, collapsible.|image=|color=yellow|collapse=1}}
This is another test. |
---|
Blue navbox without an image, collapsible. |
{{Navbox|title=And yet another test.|body=Green navbox with an image, collapsible.|image=Malcolm-stub-ut3.jpg|color=green|collapse=1}}
And yet another test. |
---|
Green navbox with an image, collapsible. |
{{Navbox|title=And a neutral box|body=Neutral-colored box without an image, and non-collapsible.|image=|color=|collapse=}}
And a neutral box |
---|
Neutral-colored box without an image, and non-collapsible. |
{{Navbox|title=Finally, a black navbox.|body=Black-colored box without an image, and non-collapsible.|image=|color=black|collapse=}}
Finally, a black navbox. |
---|
Black-colored box without an image, and non-collapsible. |