Template:Nmbox/doc: Difference between revisions

From Campaigns
Jump to navigation Jump to search
m 1 revision imported
mNo edit summary
 
Line 1: Line 1:
{{Documentation subpage}}
<noinclude>{{Documentation subpage}}</noinclude>
{{Uses TemplateStyles|Template:Nmbox/styles.css}}


<templatedata>
<templatedata>
{
{
"description": {
"description": "This is a meta-template for generating navigation boxes to go at the bottom of pages.",
"en": "This is a meta-template for generating navigation boxes to go at the bottom of pages.",
"tr": "Bu, sayfaların alt kısmına gitmek üzere gezinme kutuları oluşturmak için bir meta şablondur."
},
"format": "block",
"format": "block",
"params": {
"params": {
"image": {
"image": {
"label": {
"label": "Logo image",
"en": "Logo image",
"description": "A logo image.",
"tr": "Logo resmi"
},
"description": {
"en": "A logo image.",
"tr": "Bir logo resmi"
},
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
"header": {
"header": {
"label": {
"label": "Header",
"en": "Header",
"description": "A header notice.",
"tr": "Başlık"
},
"description": {
"en": "A header notice.",
"tr": "Bir başlık uyarısı"
},
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"required": true
},
},
"text": {
"text": {
"label": {
"label": "Text",
"en": "Text",
"description": "Description notice.",
"tr": "Metin"
},
"description": {
"en": "Description notice.",
"tr": "Açıklama uyarısı"
},
"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 = [[Project:Language policy|{{Languages/Title|{{SUBPAGENAME}}}}]]&nbsp;
  | header = {{Languages/Title|{{SUBPAGENAME}}}}&nbsp;
  | text = Languages code
  | text = Languages code
}}<includeonly>
}}<includeonly>
[[Category:Mbox templates{{#translation:}}]]
[[Category:Mbox templates]]
</includeonly>
</includeonly>

Latest revision as of 04:39, 15 February 2022

This is a meta-template for generating navigation boxes to go at the bottom of pages.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Logo imageimage

A logo image.

Fileoptional
Headerheader

A header notice.

Page namerequired
Texttext

Description notice.

Contentrequired

Examples

{{nmbox
 | image = [[File:Geographylogo.png|25px|Languages|link=]]
 | header = [[Project:Language policy|{{Languages/Title|{{SUBPAGENAME}}}}]] 
 | text = Languages code
}}
Languages
⧼tpt-languages-legend/doc⧽ 
Languages code