Template:Feature: Difference between revisions
From Freephile Wiki
remove the "display none" aspect of the featureDescription |
No edit summary |
||
| Line 7: | Line 7: | ||
| {{#if: {{{notes|}}} | Notes<br />{{{notes}}}<br /> | }}{{#if: {{{tests|}}} | Tests<br />{{{tests}}}<br /> | }}{{ #if: {{{examples|}}} | Examples<br />{{{examples}}} | }} | | {{#if: {{{notes|}}} | Notes<br />{{{notes}}}<br /> | }}{{#if: {{{tests|}}} | Tests<br />{{{tests}}}<br /> | }}{{ #if: {{{examples|}}} | Examples<br />{{{examples}}} | }} | ||
|} | |} | ||
<includeonly>[[Category:Feature]] [[Category:Wiki]]</includeonly> | |||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Revision as of 14:50, 19 January 2016
| {{{explains}}}Property "ExplainsFeature" (as page type) with input value "{{{explains}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
|---|
| {{{description}}}Property "FeatureDescription" (as page type) with input value "{{{description}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
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 |
| The above documentation is transcluded from Template:Feature/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |