Difference between revisions of "Template:Feature"

From Freephile Wiki
Jump to navigation Jump to search
(initial conversion to SMW 'City' template)
(incorporate two of our old fields)
Line 24: Line 24:
 
{{Tablesection |Label=Summary |Color=#dcf0f7 |Textcolor=#0c2c52 }}   
 
{{Tablesection |Label=Summary |Color=#dcf0f7 |Textcolor=#0c2c52 }}   
 
|-
 
|-
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Population}} | | |{{Tablerow |Label=Population: |Value={{#show: {{FULLPAGENAME}} |?Population }} }} }}
+
{{#ifeq: {{#show: {{FULLPAGENAME}} |?feature title}} | | |{{Tablerow |Label=Title: |Value={{#show: {{FULLPAGENAME}} |?feature title }} }} }}
 
|-
 
|-
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Area}} | | |{{Tablerow |Label=Area: |Value={{#show: {{FULLPAGENAME}}|?Area }} }} }}
+
{{#ifeq: {{#show: {{FULLPAGENAME}} |?feature description}} | | |{{Tablerow |Label=Description: |Value={{#show: {{FULLPAGENAME}}|?feature description }} }} }}
 
|-
 
|-
 
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Located in}} | | |{{Tablerow |Label=Located in: |Value={{#show: {{FULLPAGENAME}} |?Located in }} }} }}
 
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Located in}} | | |{{Tablerow |Label=Located in: |Value={{#show: {{FULLPAGENAME}} |?Located in }} }} }}

Revision as of 20:48, 13 May 2020

This is the 'Feature' template.

It is used like this:

{{Feature
 |image=
 |imgdesc=
}}

Template preview[edit source]

Feature 14px
Summary