Difference between revisions of "Template:StatusBox"

Jump to: navigation, search
Line 3: Line 3:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
--><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= Pending Review [[Category:Pages being reviewed| ]]
| published = Approved [[Category:Approved pages| ]]
+
| published = Published [[Category:Published pages| ]]
| approved = Approved [[Category:Approved pages| ]]
+
| approved = Published [[Category:Published pages| ]]
| assigned = Assigned [[Category:Assigned pages| ]]
+
| assigned = In Process [[Category:In process pages| ]]
 +
| inprocess = In Process [[Category:In process pages| ]]
 
| draft
 
| draft
 
| #default = Draft [[Category:Pages drafts| ]]
 
| #default = Draft [[Category:Pages drafts| ]]
Line 18: Line 19:
 
"label": "Page status",
 
"label": "Page status",
 
"description": "Provide a page status keyword",
 
"description": "Provide a page status keyword",
"example": "review,draft,approved,assigned",
+
"example": "review,draft,inprocess,published",
 
"type": "string",
 
"type": "string",
"default": "draft / review / approved / assigned",
+
"default": "draft / inprocess / review / published",
 
"autovalue": "",
 
"autovalue": "",
 
"required": true,
 
"required": true,

Revision as of 18:04, 2 August 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 / inprocess / review / published
Example
review,draft,inprocess,published
Auto value
Stringrequired