From GamingWiki
(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...") |
|||
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><!-- |
Revision as of 14:32, 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.