Difference between revisions of "Template:StatusBox"

Jump to: navigation, search
(Created page with "<noinclude> Displays a badge indicating page status: Draft / In Review / Published </noinclude><includeonly> <div class="badge-page-status page-status-{{{1}}}">{{#switch:{{lc:...")
 
Line 9: Line 9:
 
}}</div>
 
}}</div>
 
</includeonly>
 
</includeonly>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Page status",
 +
"description": "Provide a page status keyword",
 +
"example": "review,draft,published",
 +
"type": "string",
 +
"default": "draft",
 +
"autovalue": "",
 +
"required": true,
 +
"suggested": true
 +
}
 +
},
 +
"description": "Displays a badge with page status infromation",
 +
"paramOrder": [
 +
"1"
 +
],
 +
"format": "inline"
 +
}
 +
</templatedata>
 +
</noinclude>

Revision as of 10:27, 25 December 2017

Displays a badge indicating page status: Draft / In Review / Published


Displays a badge with page status infromation

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Page status1

Provide a page status keyword

Default
draft
Example
review,draft,published
Auto value
Stringrequired