قالب:Navigation with image/doc
For information about the parameters name, title, titlestyle, body, and the auto collapse logic, see Template:Navigation/doc. For information about abovestyle and above (top); and belowstyle and below (bottom), see Template:Navigation with columns/doc or Template:Navbox generic/doc.
The bodystyle (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 syntax (full)
{{Navigation with image |name = <!--{{subst:PAGENAME}}--> |titlestyle = <!--if used, usually "background:..."--> |title = |image = <!--Use standard image wikicode (see [[Help:Extended image syntax]])--> |imgpos = <!--"right" (default) or "left"--> |category = <!--Avoid; category/ies not shown when pages with template are edited--> |abovestyle = |above = |bodystyle = <!--or "style =" when no other style parameters used--> |body = |belowstyle = |below = }}
See also
collapsible | Header color† | Image | Groups | Style parameter |
Example | |
---|---|---|---|---|---|---|
{{Navigation}} | NavFrame | NavHead | لا | لا | لا | {{OPEC}} |
{{Navigation with image}} | NavFrame | NavHead | Left/right of body | لا | لا | {{HolmesNovels}} |
{{Navigation with columns}} | NavFrame | NavHead | لا | لا | لا | |
{{Dynamic navigation box}} | collapsible | navbox | لا | لا | نعم | {{CSUHeads}} |
{{Dynamic navigation box with image}} | NavFrame | NavHead | Upper left | لا | لا | {{SlovakPMs}} |
{{Navbox generic}} | collapsible | navbox | لا | نعم | نعم | {{Dilbert}} |
{{Navbox generic with image}} | collapsible | navbox | Right-hand side | نعم | نعم | {{Jewish life}} |
{{NavigationBox}} | لا | navbox | Right of title+body | لا | لا | {{EPA}} |
{{Commons:NavigationBox}} | لا | #ccccff | Right of title+body | لا | لا | |
{{Commons:Dynamic navigation box}} | NavFrame | #ccccff | لا | لا | لا | |
{{Commons:Dynamic navigation box with image}} | NavFrame | NavHead | Upper left | لا | لا | |
† The background color for the header or title is inherited from the class listed below. The templates have color 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 | لا | نعم | #efefef | 90% |
Collapsible table | collapsible, navbox | 2+ of the same | نعم | لا | #ccccff | 90% |
For the technically minded, انظر Common.css and Common.js. |