Difference between revisions of "Template:Nmbox"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <templatestyles src="Template:Nmbox/styles.css" /> |
− | < | + | <div class="nmbox noprint">{{#if: {{{image|}}}{{{header|}}} |
− | {{#if:{{{image|}}}{{{header|}}} | + | |<div class="nmbox-header">{{#if: {{{image|}}}|<div class="nmbox-image mbox-image">{{{image|}}}</div>}}{{{header|}}} |
− | | < | + | </div>}} |
− | | < | + | {{#if:{{{text|}}}|<div class="nmbox-text mbox-text">{{{text|}}}</div>}} |
− | + | </div><noinclude> | |
− | |||
− | </ | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:17, 1 October 2020
This is a meta-template for generating navigation boxes to go at the bottom of pages.
Examples
{{nmbox | image = [[File:Geographylogo.png|25px|Languages|link=]] | header = [[Project:Language policy|{{Languages/Title|{{SUBPAGENAME}}}}]] | text = Languages code }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | no description | Unknown | optional |
Header | header | no description | User | deprecated |
Text | text | no description | Unknown | optional |