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>Andrybak
m (+category sort key)
 
(One intermediate revision by one other user not shown)
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"
 
 
}
 
}
 
},
 
},
Line 41: Line 27:
 
</templatedata>
 
</templatedata>
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
[[Category:Top icon content award templates]]
 
[[Category:Top icon content award templates]]
[[Category:Wikipedia featured content templates]]
+
[[Category:Wikipedia featured content templates|Portal]]
 
[[Category:Title templates]]
 
[[Category:Title templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:53, 18 April 2020

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