From GamingWiki
Jump to: navigation, search
(Created page with "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: <nowiki>: After this incident I was known fo...")
 
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
--><onlyinclude><!--
 
--><onlyinclude><!--
 
   Don't set a property on the template.
 
   Don't set a property on the template.
--><includeonly>{{#set: has aspect={{#var:aspect}}}}</includeonly><!--
+
--><includeonly><!--
 +
  -->{{#ifeq:{{{noproperty|M_NUL}}}|M_NUL|{{#set: has aspect={{#var:aspect}}}} }}<!--
 +
--></includeonly><!--
 
-->{{aspect|{{#var:aspect}}}}<!--
 
-->{{aspect|{{#var:aspect}}}}<!--
 
--></onlyinclude><!--
 
--></onlyinclude><!--

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.