Template:TF tag: Difference between revisions

From Shifti
Jump to navigation Jump to search
m template error fix
m bug-checking...
Line 1: Line 1:
{{#ifeq:{{{type| }}} | ||{{SMW Base|TF Type|{{{type}}}}}}}{{#ifeq:{{{degree| }}} | ||{{SMW Base|TF Degree|{{{degree}}}}}}}{{#ifeq:{{{species| }}} | ||{{SMW Base|TF Species|{{{species}}}}}}}<noinclude>
{{#ifeq:{{{type| }}} | |.|{{SMW Base|TF Type|{{{type}}}}}}}{{#ifeq:{{{degree| }}} | |,|{{SMW Base|TF Degree|{{{degree}}}}}}}{{#ifeq:{{{species| }}} | |/|{{SMW Base|TF Species|{{{species}}}}}}}<noinclude>
<pre>{{TF tag
<pre>{{TF tag
| type=Type of TF
| type=Type of TF

Revision as of 00:04, 13 February 2009

{{#ifeq: | |.|[[TF Type::{{{type}}}| ]]}}{{#ifeq: | |,|[[TF Degree::{{{degree}}}| ]]}}{{#ifeq: | |/|[[TF Species::{{{species}}}| ]]}}

{{TF tag
| type=Type of TF
| degree=Degree of TF
| Species=Species TF'd into
}}

This template defines three semantic properties for a page - 'TF Type', 'TF Degree' and 'TF Species'. You may omit any of the three when adding the template - that property just wont get set.