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

From blackwiki
Jump to navigation Jump to search
imported>AfroThundr3007730
(Categories)
imported>AfroThundr3007730
(update doc)
Line 10: Line 10:
 
{{Top icon templates}}
 
{{Top icon templates}}
  
<includeonly><!--
+
===TemplateData===
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
<templatedata>
 +
{
 +
"params": {
 +
"sortkey": {
 +
"label": "SortKey",
 +
"description": "Allows ordering the icons according to the sortkey given",
 +
"example": "sortkey=foo",
 +
"type": "string",
 +
"default": "empty"
 +
},
 +
"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"
 +
}
 +
},
 +
"format": "inline",
 +
"description": "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"
 +
}
 +
</templatedata>
 +
 
 +
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!-- 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]]
 
[[Category:Title templates]]
 
[[Category:Title templates]]
 
[[Category:Template-Class Portal pages]]
 
[[Category:Template-Class Portal pages]]
</includeonly>
+
}}</includeonly>

Revision as of 02:11, 30 May 2018

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
SortKeysortkey

Allows ordering the icons according to the sortkey given

Default
empty
Example
sortkey=foo
Stringoptional
Widthwidth

Specify a width for the image

Default
20
Example
width=24
Numberoptional
Heightheight

Specify a height for the image

Default
20
Example
height=24
Numberoptional