No edit summary |
|||
| Line 76: | Line 76: | ||
"alt", | "alt", | ||
"game" | "game" | ||
] | ], | ||
"description": "This is the main template for the Featured namespace. However, it can be used on any page in any namespace." | |||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 10:02, 7 June 2026
This is the main template for the Featured namespace. However, it can be used on any page in any 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.
