Template:Feature: Difference between revisions

From Freephile Wiki
m minor syntax fix
adds 'more' as a summary of all other template parameters
Line 4: Line 4:
|-
|-
| [[featureDescription::{{{description}}}| ]]
| [[featureDescription::{{{description}}}| ]]
{{ #if: {{{notes|}}} |
|-
{{!}}-
| [[more::{{ #if: {{{notes|}}} | Notes<br /> {{{notes}}} | }} {{ #if: {{{tests|}}} | Tests<br /> {{{tests}}} | }} {{ #if: {{{examples|}}} | Examples<br /> {{{examples}}} | }} | ]]
{{!}} Notes<br /> {{{notes}}} | }}
{{ #if: {{{tests|}}} |
{{!}}-
{{!}} Tests<br /> {{{tests}}} | }}
{{ #if: {{{examples|}}} |
{{!}}-
{{!}} Examples<br /> {{{examples}}} | }}
|}
|}
<noinclude>
<noinclude>

Revision as of 11:22, 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.
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.
The wikipage input value is empty (e.g. <code>SomeProperty::, [[]]</code>) and therefore it cannot be used as a name or as part of a query condition.
Documentation icon Template documentation[view] [edit] [history] [purge]

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Feature imageimage

a suitable representation of the feature

Fileoptional
feature image descriptionimgdesc

describe the image used

Stringoptional
Image collectioncollection

no description

Unknownoptional
Feature Titletitle

no description

Stringoptional
Feature descriptiondescription

no description

Stringoptional
notesnotes

no description

Stringoptional
examplesexamples

no description

Stringoptional
teststests

no description

Stringoptional