Template:Navigation with image
From Wikipedia, the free encyclopedia
{{{body}}}
For information about the parameters name, title, titlebkg, body, cat, and the auto collapse logic, see Template:Navigation/doc. For information about above (or top) and below (or bottom), see Template:Navigation with columns/doc or Template:Navbox generic/doc.
The style parameter works in the same way as {{Navbox generic}}'s style parameter.
The image is next to the body, and does not interfere with the title. The body wraps around before the left or right-hand edge of the image, i.e. parts of the body do not appear above or below the image.
Blank
{{Navigation with image |name = <!--{{subst:PAGENAME}}--> |title = |titlebkg = |image = <!--Use standard image wikicode (see [[Help:Extended image syntax]])--> |imgpos = <!--"right" (default) or "left"--> |cat = |style = |above = |body = |below = }}
See also
collapsible | Header color† | Image | Groups | Style parameter |
Example | |
---|---|---|---|---|---|---|
{{Navigation}} | NavFrame | NavHead | No | No | No | {{OPEC}} |
{{Navigation with image}} | NavFrame | NavHead | Left/right of body | No | No | {{HolmesNovels}} |
{{Navigation with columns}} | NavFrame | NavHead | No | No | No | |
{{Dynamic navigation box}} | collapsible | navbox | No | No | Yes | {{CSUHeads}} |
{{Dynamic navigation box with image}} | NavFrame | NavHead | Upper left | No | No | {{SlovakPMs}} |
{{Navbox generic}} | collapsible | navbox | Right-hand side | Yes | Yes | {{Dilbert}} |
{{Navbox generic with image}} | collapsible | navbox | Right-hand side | Yes | Yes | {{Jewish life}} |
{{NavigationBox}} | No | navbox | Right of title+body | No | No | {{EPA}} |
{{Commons:NavigationBox}} | No | #ccccff | Right of title+body | No | No | |
{{Commons:Dynamic navigation box}} | NavFrame | #ccccff | No | No | No | |
{{Commons:Dynamic navigation box with image}} | NavFrame | #ccccff | Upper left | No | No | |
† The background color for the header or title is inherited from the class listed below. The templates have titlebkg parameters that override the default. |
Type | CSS classes | Collapses when | Custom initial state |
Nesting | Header color |
Font size |
---|---|---|---|---|---|---|
NavFrame div | NavFrame, NavHead, NavContent | 3+ of the same | No | Yes | #ccccff | 95% |
Collapsible table | collapsible, navbox | 2+ of the same | Yes | No | #ccccff | 90% |
For the technically minded, see Common.css and Common.js. |