PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

Template:Featured/doc: Difference between revisions

From PC Gaming Shelter
No edit summary
No edit summary
Line 4: Line 4:
"1": {
"1": {
"label": "Type of content",
"label": "Type of content",
"description": "Selects the featured card variant.",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
Line 23: Line 24:
"type": "string"
"type": "string"
},
},
"text": {
"description": {
"label": "Card text"
"aliases": [
"text"
],
"label": "Featured description",
"description": "Text displayed in the card and stored as the featured description.",
"type": "content"
},
},
"image": {
"image": {
"label": "Image name",
"label": "Image name",
"type": "string"
"description": "File name of the featured image, without the File: prefix.",
"type": "wiki-file-name"
},
},
"id": {
"id": {
Line 35: Line 42:
],
],
"label": "YouTube video ID or URL",
"label": "YouTube video ID or URL",
"description": "YouTube video identifier or complete video URL.",
"type": "string"
},
"video id": {
"label": "Video ID",
"description": "Explicit video identifier to store semantically.",
"type": "string"
"type": "string"
},
"external link": {
"label": "External link",
"description": "External source or media URL associated with the featured content.",
"type": "url"
},
"featured media": {
"aliases": [
"media"
],
"label": "Featured media page",
"description": "Local wiki file or page associated with the featured content.",
"type": "wiki-page-name"
},
"featured category": {
"aliases": [
"category"
],
"label": "Featured category",
"description": "Editorial category assigned to the featured content.",
"type": "string",
"suggestedvalues": [
"Picture of the Month",
"Video of the Month"
]
},
"attribution": {
"label": "Attribution",
"description": "Creator, uploader, owner, or source credited for the media.",
"type": "string"
},
"alt text": {
"aliases": [
"alt"
],
"label": "Alternative text",
"description": "Accessible textual description of the featured media.",
"type": "string"
},
"game": {
"label": "Related game",
"description": "Wiki page for the game associated with the featured content.",
"type": "wiki-page-name"
}
}
},
},
Line 43: Line 99:
"title",
"title",
"tagline",
"tagline",
"text",
"description",
"image",
"image",
"id"
"id",
"video id",
"external link",
"featured media",
"featured category",
"attribution",
"alt text",
"game"
]
]
}
}

Revision as of 08:59, 7 June 2026

No description.

Template parameters

ParameterDescriptionTypeStatus
Type of content1

Selects the featured card variant.

Suggested values
video image
Stringrequired
Card header textheader

no description

Stringoptional
Card titletitle

no description

Stringoptional
Card taglinetagline

no description

Stringoptional
Featured descriptiondescription text

Text displayed in the card and stored as the featured description.

Contentoptional
Image nameimage

File name of the featured image, without the File: prefix.

Fileoptional
YouTube video ID or URLid url

YouTube video identifier or complete video URL.

Stringoptional
Video IDvideo id

Explicit video identifier to store semantically.

Stringoptional
External linkexternal link

External source or media URL associated with the featured content.

URLoptional
Featured media pagefeatured media media

Local wiki file or page associated with the featured content.

Page nameoptional
Featured categoryfeatured category category

Editorial category assigned to the featured content.

Suggested values
Picture of the Month Video of the Month
Stringoptional
Attributionattribution

Creator, uploader, owner, or source credited for the media.

Stringoptional
Alternative textalt text alt

Accessible textual description of the featured media.

Stringoptional
Related gamegame

Wiki page for the game associated with the featured content.

Page nameoptional

Example

{{Featured
|video
|Video of the Month
|EF2 Multiplayer Highlights!
|Rediscover Elite Force 2 multiplayer and newly resurrected community servers.
|iQ0pANm9kls
}}
Result

Script error: The function "" does not exist.