Template:Feature: Difference between revisions

From Freephile Wiki
No edit summary
adjust the set syntax
Line 21: Line 21:
</noinclude><onlyinclude>
</noinclude><onlyinclude>
<!-- Use #set for property setting -->
<!-- Use #set for property setting -->
{{#declare:
{{#set:
feature title = title
feature title = {{{title|}}}
| feature description = description
| feature description = {{{description|}}}
| feature notes = notes
| feature notes = {{{notes|}}}
| feature examples = examples
| feature examples = {{{examples|}}}
| feature tests = tests
| feature tests = {{{tests|}}}
}}
}}



Revision as of 12:28, 8 September 2025

This is the 'Feature' template.

It is used like this:

{{Feature
 | image =
 | imgdesc =
 | collection =
 | title =
 | description =
 | notes =
 | examples =
 | tests =
}}

The template doesn't set 'has coordinates' but if the page does have the property, then the infobox will display a map

Template preview

Feature
Summary
Title: Feature
More