Template:Feature: Difference between revisions

From Freephile Wiki
replace button
set DISPLAYTITLE
Line 31: Line 31:
|-
|-
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Average rainy days}} | | |{{Tablerow |Label=Average rainy days: |Value={{#show:  {{FULLPAGENAME}} |?Average rainy days }} }} }}
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Average rainy days}} | | |{{Tablerow |Label=Average rainy days: |Value={{#show:  {{FULLPAGENAME}} |?Average rainy days }} }} }}
|- <!-- *** CHARTING *** -->
{{#if: {{{chart|}}} |{{Tablesection |Label=Chart |Color=#dcf0f7 |Textcolor=#fff }} }}
|-
{{#if: {{{chart|}}} |{{Tablesection |Label={{{chart|}}} |Color=#fff }} }}
|- <!-- *** MAP *** -->
|- <!-- *** MAP *** -->
{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label=Map |Color=#dcf0f7 |Textcolor=#0c2c52 }} }}
{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label=Map |Color=#dcf0f7 |Textcolor=#0c2c52 }} }}
Line 40: Line 36:
{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label={{#display_map: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |width=260 |height=260 |service=leaflet }} |Color=#fff }} }}
{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label={{#display_map: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |width=260 |height=260 |service=leaflet }} |Color=#fff }} }}
|}
|}
<includeonly>{{DISPLAYTITLE:{{{title|}}} }}[[Category:Feature]]</includeonly>
<includeonly>{{DISPLAYTITLE:{{{feature title|}}} }}[[Category:Feature]]</includeonly>
</onlyinclude>
</onlyinclude>

Revision as of 21:59, 13 May 2020

This is the 'Feature' template.

It is used like this:

{{Feature
 |image=
 |imgdesc=
}}

Template preview

Feature
Summary
Title: Feature