No edit summary Tags: Manual revert Reverted |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatedata> | |||
{ | |||
"params": { | |||
"header": { | |||
"label": "Card header text", | |||
"type": "string", | |||
"description": "Text of the card header." | |||
}, | |||
"title": { | |||
"label": "Card title", | |||
"type": "string", | |||
"description": "Display title of the featured content. " | |||
}, | |||
"tagline": { | |||
"label": "Card tagline", | |||
"type": "string", | |||
"description": "Tagline of the featured content." | |||
}, | |||
"description": { | |||
"label": "Featured description", | |||
"description": "Text displayed in the card and stored as the featured description.", | |||
"type": "content" | |||
}, | |||
"image": { | |||
"label": "Image name", | |||
"description": "File name of the featured image.", | |||
"type": "wiki-file-name" | |||
}, | |||
"id": { | |||
"label": "YouTube video ID.", | |||
"description": "YouTube video identifier", | |||
"type": "string" | |||
}, | |||
"attribution": { | |||
"label": "Attribution", | |||
"description": "Creator, uploader, owner, or source credited for the media.", | |||
"type": "string" | |||
}, | |||
"game": { | |||
"label": "Related game", | |||
"description": "Wiki page for the game associated with the featured content.", | |||
"type": "wiki-page-name" | |||
}, | |||
"mediatype": { | |||
"label": "Type of content", | |||
"description": "Selects the featured card variant.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Video", | |||
"Image" | |||
], | |||
"default": "Video", | |||
"required": true | |||
}, | |||
"category": { | |||
"label": "Featured category", | |||
"description": "Editorial category assigned to the featured content.", | |||
"type": "string" | |||
}, | |||
"alt": { | |||
"label": "Alternative text.", | |||
"description": "Accessible textual description of the featured media.", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"mediatype", | |||
"category", | |||
"header", | |||
"title", | |||
"tagline", | |||
"description", | |||
"image", | |||
"id", | |||
"attribution", | |||
"alt", | |||
"game" | |||
], | |||
"description": "This is the main template for the Featured namespace." | |||
} | |||
</templatedata> | |||
== Example == | |||
<pre> | |||
{{Featured | {{Featured | ||
|video | |mediatype=video | ||
|Video of the Month | |header=Video of the Month | ||
|EF2 Multiplayer Highlights! | |title=EF2 Multiplayer Highlights! | ||
|Rediscover Elite Force 2 multiplayer and newly resurrected community servers. | |tagline=Rediscover Elite Force 2 multiplayer and newly resurrected community servers. | ||
| | |id=iQ0pANm9kls | ||
}} | |||
</pre> | |||
;Result | |||
{{Featured | |||
|mediatype=video | |||
|header=Video of the Month | |||
|title=EF2 Multiplayer Highlights! | |||
|tagline=Rediscover Elite Force 2 multiplayer and newly resurrected community servers. | |||
|id=iQ0pANm9kls | |||
}} | }} | ||
Latest revision as of 10:25, 7 June 2026
This is the main template for the Featured namespace.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type of content | mediatype | Selects the featured card variant.
| String | required |
| Featured category | category | Editorial category assigned to the featured content. | String | optional |
| Card header text | header | Text of the card header. | String | optional |
| Card title | title | Display title of the featured content. | String | optional |
| Card tagline | tagline | Tagline of the featured content. | String | optional |
| Featured description | description | Text displayed in the card and stored as the featured description. | Content | optional |
| Image name | image | File name of the featured image. | File | optional |
| YouTube video ID. | id | YouTube video identifier | String | optional |
| Attribution | attribution | Creator, uploader, owner, or source credited for the media. | String | optional |
| Alternative text. | alt | Accessible textual description of the featured media. | String | optional |
| Related game | game | Wiki page for the game associated with the featured content. | Page name | optional |
Example
{{Featured
|mediatype=video
|header=Video of the Month
|title=EF2 Multiplayer Highlights!
|tagline=Rediscover Elite Force 2 multiplayer and newly resurrected community servers.
|id=iQ0pANm9kls
}}
- Result
Video of the Month
EF2 Multiplayer Highlights!
Rediscover Elite Force 2 multiplayer and newly resurrected community servers.
