Difference between revisions of "Template:Condition"

From DBpedia Mappings
Jump to: navigation, search
Line 15: Line 15:
 
<td>{{#if:{{{operator|}}}|{{{operator}}}|<span style="color:red">please define an operator</span>}}</td>
 
<td>{{#if:{{{operator|}}}|{{{operator}}}|<span style="color:red">please define an operator</span>}}</td>
 
</tr>
 
</tr>
 +
{{#ifeq:{{{value|}}}|isSet||
 
<tr>
 
<tr>
 
<td>value</td>
 
<td>value</td>
<td>{{#ifeq:{{{value|}}}|equals|{{#if:{{{value|}}}|{{{value}}}|<span style="color:red">please define a value</span>}}}}</td>
+
<td>{{#ifeq:{{{value|}}}|equals|{{#if:{{{value|}}}|{{{value}}}|<span style="color:red">please define a value</span>}}}} {{#ifeq:{{{value|}}}|contains|{{#if:{{{value|}}}|{{{value}}}|<span style="color:red">please define a value</span>}}}}</td>
 
</tr>
 
</tr>
 +
}}
 
}}
 
}}
 
</table><blockquote>{{#if:{{{mapping|}}}|{{{mapping}}}}}</blockquote></includeonly>
 
</table><blockquote>{{#if:{{{mapping|}}}|{{{mapping}}}}}</blockquote></includeonly>

Revision as of 17:10, 5 March 2010