Difference between revisions of "Template:StatusBox"

Jump to: navigation, search
Line 4: Line 4:
 
--><div class="badge-page-status page-status-{{{1}}}">{{#switch:{{lc:{{{1}}}}}
 
--><div class="badge-page-status page-status-{{{1}}}">{{#switch:{{lc:{{{1}}}}}
 
| review=In Review [[Category:Pages being reviewed| ]]
 
| review=In Review [[Category:Pages being reviewed| ]]
| published = Published [[Category:Published pages| ]]
+
| published = Approved [[Category:Approved pages| ]]
 +
| approved = Approved [[Category:Approved pages| ]]
 
| assigned = Assigned [[Category:Assigned pages| ]]
 
| assigned = Assigned [[Category:Assigned pages| ]]
 
| draft
 
| draft
Line 17: Line 18:
 
"label": "Page status",
 
"label": "Page status",
 
"description": "Provide a page status keyword",
 
"description": "Provide a page status keyword",
"example": "review,draft,published,assigned",
+
"example": "review,draft,approved,assigned",
 
"type": "string",
 
"type": "string",
"default": "draft / review / published / assigned",
+
"default": "draft / review / approved / assigned",
 
"autovalue": "",
 
"autovalue": "",
 
"required": true,
 
"required": true,

Revision as of 19:34, 25 April 2018

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 / review / approved / assigned
Example
review,draft,approved,assigned
Auto value
Stringrequired