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

From blackwiki
Jump to navigation Jump to search
imported>AfroThundr3007730
(update doc)
imported>Redrose64
(→‎TemplateData: this cat should not be used directly, it is generated by a WikiProject banner template)
Line 46: Line 46:
 
[[Category:Wikipedia featured content templates]]
 
[[Category:Wikipedia featured content templates]]
 
[[Category:Title templates]]
 
[[Category:Title templates]]
[[Category:Template-Class Portal pages]]
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 06:15, 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