From GamingWiki
Jump to: navigation, search
 
Line 17: Line 17:
 
   Don't set a property on the template.
 
   Don't set a property on the template.
 
--><includeonly><!--
 
--><includeonly><!--
   -->{{#ifeq:{{{noproperty|M_NUL}}}|M_NUL|{{#set: has aspect={{#var:aspect}}}} }} }}<!--
+
   -->{{#ifeq:{{{noproperty|M_NUL}}}|M_NUL|{{#set: has aspect={{#var:aspect}}}} }}<!--
 
--></includeonly><!--
 
--></includeonly><!--
 
-->{{aspect|{{#var:aspect}}}}<!--
 
-->{{aspect|{{#var:aspect}}}}<!--

Latest revision as of 14:43, 6 August 2011

This template will both add a value for Property:has aspect to the current page and mark up the aspect in text. So for example:

: After this incident I was known for {{has aspect|running with frogs}}.

will be rendered as:

After this incident I was known for running with frogs.

and an SMW property will be set.