Template:Feature: Difference between revisions

From Freephile Wiki
unlink the image
No edit summary
Line 5: Line 5:
<pre>
<pre>
{{Feature
{{Feature
  |image=
  | image =
  |imgdesc=
  | imgdesc =
| collection =
| title =
| description =
| notes =
| examples =
| tests =
}}
}}
</pre>
</pre>
The template doesn't set 'has coordinates' but if the page does have the property, then the infobox will display a map
[[Category:Info templates]]
[[Category:Info templates]]


== Template preview ==
== Template preview ==
</noinclude><onlyinclude>
</noinclude><onlyinclude>
<!-- Use #set for property setting -->
{{#set
feature title = title
| feature description = description
| feature notes = notes
| feature examples = examples
| feature tests = tests
}}
{| class="smworgtable-v2" style="position: relative; float: right; clear: right; width: 260px;"
{| class="smworgtable-v2" style="position: relative; float: right; clear: right; width: 260px;"
! colspan="2" style="padding-top: 2px; " |  {{PAGENAME}} <span style="position: relative; top:-2px; float: right;">[[File:Dialog-information.svg|14px|link=Special:Browse/{{FULLPAGENAME}}]]</span>
! colspan="2" style="padding-top: 2px; " |  {{PAGENAME}} <span style="position: relative; top:-2px; float: right;">[[File:Dialog-information.svg|14px|link=Special:Browse/{{FULLPAGENAME}}]]</span>

Revision as of 12:15, 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

{{#set feature title = title | feature description = description | feature notes = notes | feature examples = examples | feature tests = tests }}

Feature
Summary
Title: Feature
More