Difference between revisions of "Template:Featured portal/doc"

From blackwiki
Jump to navigation Jump to search
imported>JohnBlackburne
(Reverted 1 edit by Nihonjoe (talk): Update doc page also to match template. (TW))
imported>Retro
(Might as well update the TemplateData while I change the template (this was my edit to the template).)
Line 14: Line 14:
 
{
 
{
 
"params": {
 
"params": {
"sortkey": {
+
"FPOCyear": {
"label": "SortKey",
+
"label": "FPOCyear",
"description": "Allows ordering the icons according to the sortkey given",
+
"description": "Year the portal was a successful featured portal candidate.",
"example": "sortkey=foo",
+
"example": "FPOCyear=2008",
"type": "string",
+
"required": true,
"default": "empty"
+
"type": "number"
},
 
"width": {
 
"label": "Width",
 
"description": "Specify a width for the image",
 
"example": "width=24",
 
"type": "number",
 
"default": "20"
 
},
 
"height": {
 
"label": "Height",
 
"description": "Specify a height for the image",
 
"example": "height=24",
 
"type": "number",
 
"default": "20"
 
 
}
 
}
 
},
 
},

Revision as of 15:40, 12 July 2019

Usage

This template places a small empty star (Linecons big-star.svg) in the top right corner of a portal to indicate that it had been designed as a featured portal on Wikipedia before that process ceased operation in 2017.

This template should be placed at the bottom of the portal.

TemplateData

This template places a small empty star in the top right corner of a portal to indicate that it had been designed as a featured portal

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
FPOCyearFPOCyear

Year the portal was a successful featured portal candidate.

Example
FPOCyear=2008
Numberrequired