Difference between revisions of "Template:SemanticTest"
Jump to navigation
Jump to search
m (more parameters) |
m (more testing) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq: {{{WantPop}}} | Yes | [[population:: {{{Pop}}}]]<br> | }} | + | <includeonly>{{#ifeq: {{{WantPop}}} | Yes |[[population::{{{Pop}}}]]<br>| }} |
− | {{#ifeq: {{{WantCapital}}} | Yes | [[capital of:: {{{CapitalOf}}}]]<br> | }} | + | {{#ifeq: {{{WantCapital}}} | Yes |[[capital of::{{{CapitalOf}}}]]<br>| }} |
− | {{#ifeq: {{{WantRegionType}}} | Yes | [[is region type:: {{{RegionType}}}]]<br> | }}</includeonly> | + | {{#ifeq: {{{WantRegionType}}} | Yes |[[is region type::{{{RegionType}}}]]<br>| }}</includeonly> |
− | {{#ifeq: {{{WantFeature}}} | Yes | [[has feature:: {{{Feature}}}]]<br> | }}</includeonly> | + | {{#ifeq: {{{WantFeature}}} | Yes |[[has feature::{{{Feature}}}]]<br>| }}</includeonly> |
<noinclude> | <noinclude> | ||
This template is being used for testing [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions parser functions] for use in the [[Semantic Wiki]]. | This template is being used for testing [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions parser functions] for use in the [[Semantic Wiki]]. |
Revision as of 19:55, 10 February 2009
</includeonly>
This template is being used for testing parser functions for use in the Semantic Wiki.
Parameters:
- WantPop - Yes if you want population shown.
- Pop - the population value
- WantRegionType
- RegionType
- WantCapital
- CapitalOf
- WantFeature
- Feature
Usage:
{{SemanticTest |WantPop = |Pop = }}