Difference between revisions of "Template:SemanticTest"

From BattleMaster Wiki
Jump to navigation Jump to search
m (more testing)
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{WantPop}}} | Yes |[[population::{{{Pop}}}]]<br>| }}
+
<noinclude>This is a template used for testing various semantic wiki functions as related to templates. It doesn't really do anything useful.</noinclude>
{{#ifeq: {{{WantCapital}}} | Yes |[[capital of::{{{CapitalOf}}}]]<br>| }}
+
<includeonly>
{{#ifeq: {{{WantRegionType}}} | Yes |[[is region type::{{{RegionType}}}]]<br>| }}</includeonly>
+
* 1 = {{{1}}}
{{#ifeq: {{{WantFeature}}} | Yes |[[has feature::{{{Feature}}}]]<br>| }}</includeonly>
+
* 2 = {{{2}}}
<noinclude>
+
* 3 = {{{3}}}
This template is being used for testing [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions parser functions] for use in the [[Semantic Wiki]].
+
* 4 = {{{4}}}
 
+
</includeonly>
Parameters:
 
* WantPop - Yes if you want population shown.
 
* Pop - the population value
 
* WantRegionType
 
* RegionType
 
* WantCapital
 
* CapitalOf
 
* WantFeature
 
* Feature
 
 
 
 
 
Usage:
 
<pre>{{SemanticTest
 
|WantPop =
 
|Pop =
 
}}</pre>
 
 
 
</noinclude>
 

Latest revision as of 17:49, 28 May 2009

This is a template used for testing various semantic wiki functions as related to templates. It doesn't really do anything useful.