Actions

Template

Difference between revisions of "ForTestingOnly"

From The RadioReference Wiki

m
m (prior ok)
Line 1: Line 1:
 +
StateCat: {{{StateParent}}}<br/>
 +
FreqCat: {{{FreqParent|Collaboration}}}
 +
 +
<noinclude>
 +
ok
 
StateCat: {{{1}}}<br/>
 
StateCat: {{{1}}}<br/>
 
FreqCat: {{{2|Collaboration}}}
 
FreqCat: {{{2|Collaboration}}}
 +
</noinclude>
  
  

Revision as of 16:39, 20 October 2013

StateCat: {{{StateParent}}}
FreqCat: Collaboration


ok StateCat: {{{1}}}
FreqCat: Collaboration



Previous attempt: {{#if:{{{1}}}|{{{2}}}|{{{3}}}}}



Notes:

{{#if: first parameter | second parameter | third parameter }}

"This function first tests whether the first parameter is not empty. If the first parameter is not empty the function displays the second argument. If the first parameter is empty or contains only whitespace characters (spaces, newlines, etc.) it displays the third argument."

-- from: MediaWiki Help:Extension:ParserFunctions##if