Difference between revisions of "Template:SemanticTest"

From BattleMaster Wiki
Jump to navigation Jump to search
m (removing line breaks)
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>Region: {{{RegionName}}}<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: [[capital of::{{{CapitalOf}}}]]<br>|}}{{#ifeq: {{{WantPop}}} | Yes |Population: [[population::{{{Pop}}}]]<br>|}}{{#ifeq: {{{WantRegionType}}} | Yes |Region type: [[is region type::{{{RegionType}}}]]<br>|}}{{#ifeq: {{{WantFeature}}} | Yes |Notable feature: [[has feature::{{{Feature}}}]]<br>|}}</includeonly>
+
<includeonly>
<noinclude>
+
* 1 = {{{1}}}
This template is being used for testing [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions parser functions] for use in the [[Semantic Wiki]].
+
* 2 = {{{2}}}
 
+
* 3 = {{{3}}}
Parameters:
+
* 4 = {{{4}}}
* RegionName
+
</includeonly>
* WantCapital
 
* CapitalOf
 
* WantPop - Yes if you want population shown.
 
* Pop - the population value
 
* WantRegionType
 
* RegionType
 
* 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.