Difference between revisions of "Template:Featured portal/doc"
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=== |
| − | + | <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
| This is a documentation subpage for Template:Featured portal. It contains usage information, categories and other content that is not part of the original template page. |
Usage
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 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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| SortKey | sortkey | Allows ordering the icons according to the sortkey given
| String | optional |
| Width | width | Specify a width for the image
| Number | optional |
| Height | height | Specify a height for the image
| Number | optional |