Template:Nmbox/doc: Difference between revisions
Jump to navigation
Jump to search
parameter names are still in English |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | <noinclude>{{Documentation subpage}}</noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description | "description": "This is a meta-template for generating navigation boxes to go at the bottom of pages.", | ||
"format": "block", | "format": "block", | ||
"params": { | "params": { | ||
"image": { | "image": { | ||
"label | "label": "Logo image", | ||
"description": "A logo image.", | |||
"description | |||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
"header": { | "header": { | ||
"label | "label": "Header", | ||
"description": "A header notice.", | |||
"description | |||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | }, | ||
"text": { | "text": { | ||
"label | "label": "Text", | ||
"description": "Description notice.", | |||
"description | |||
"type": "content", | "type": "content", | ||
"required": true | "required": true | ||
Line 60: | Line 38: | ||
{{nmbox | {{nmbox | ||
| image = [[File:Geographylogo.png|25px|Languages|link=]] | | image = [[File:Geographylogo.png|25px|Languages|link=]] | ||
| header = | | header = {{Languages/Title|{{SUBPAGENAME}}}} | ||
| text = Languages code | | text = Languages code | ||
}}<includeonly> | }}<includeonly> | ||
[[Category:Mbox templates | [[Category:Mbox templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 04:39, 15 February 2022
This is a documentation subpage for Template:Nmbox. It contains usage information, categories and other content that is not part of the original Template page. |
This is a meta-template for generating navigation boxes to go at the bottom of pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Logo image | image | A logo image. | File | optional |
Header | header | A header notice. | Page name | required |
Text | text | Description notice. | Content | required |
Examples
{{nmbox | image = [[File:Geographylogo.png|25px|Languages|link=]] | header = [[Project:Language policy|{{Languages/Title|{{SUBPAGENAME}}}}]] | text = Languages code }}