No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This is the 'Feature' template. | |||
== Usage == | == Usage == | ||
When you create a new '''Feature''' page, just use the [[Form:Feature|Feature]] form which automatically uses this template. | |||
If you were to manually include it in a page, it would be used like this: | |||
<pre> | |||
{{Feature | |||
| image = | |||
| imgdesc = | |||
| collection = | |||
| title = | |||
| description = | |||
| notes = | |||
| examples = | |||
| tests = | |||
}} | |||
</pre> | |||
The template doesn't set ''has coordinates''. But if a page does have the property, then the infobox will display a map | |||
The | |||
[[Category:Wiki]] | [[Category:Wiki]] | ||
[[Category:Info templates]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Feature image", | |||
"description": "a suitable representation of the feature", | |||
"type": "wiki-file-name" | |||
}, | |||
"imgdesc": { | |||
"label": "feature image description", | |||
"description": "describe the image used", | |||
"type": "string" | |||
}, | |||
"collection": { | |||
"label": "Image collection" | |||
}, | |||
"title": { | |||
"label": "Feature Title", | |||
"type": "string" | |||
}, | |||
"description": { | |||
"label": "Feature description", | |||
"type": "string" | |||
}, | |||
"notes": { | |||
"type": "string" | |||
}, | |||
"examples": { | |||
"type": "string" | |||
}, | |||
"tests": { | |||
"type": "string" | |||
} | |||
}, | |||
"description": "A template for creating pages with the content type \"Feature\", making the pages semantically rich, included in the Feature category and displayed on the Feature page." | |||
} | |||
</templatedata> |
Latest revision as of 14:33, 8 September 2025
This is the 'Feature' template.
Usage
When you create a new Feature page, just use the Feature form which automatically uses this template.
If you were to manually include it in a page, it would be used like this:
{{Feature | image = | imgdesc = | collection = | title = | description = | notes = | examples = | tests = }}
The template doesn't set has coordinates. But if a page does have the property, then the infobox will display a map
A template for creating pages with the content type "Feature", making the pages semantically rich, included in the Feature category and displayed on the Feature page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Feature image | image | a suitable representation of the feature | File | optional |
feature image description | imgdesc | describe the image used | String | optional |
Image collection | collection | no description | Unknown | optional |
Feature Title | title | no description | String | optional |
Feature description | description | no description | String | optional |
notes | notes | no description | String | optional |
examples | examples | no description | String | optional |
tests | tests | no description | String | optional |