Template:Feature: Difference between revisions
From Freephile Wiki
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}} |? | {{#ifeq: {{#show: {{FULLPAGENAME}} |?feature title}} | | |{{Tablerow |Label=Title: |Value={{#show: {{FULLPAGENAME}} |?feature title }} }} }} | ||
|- | |- | ||
{{#ifeq: {{#show: {{FULLPAGENAME}} |? | {{#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 21:48, 13 May 2020
This is the 'Feature' template.
It is used like this:
{{Feature |image= |imgdesc= }}
Template preview
Feature File:SMW-Info-button.png | |
---|---|
Summary | |
Title: | Feature |