Freephile Wiki:ToDo: Difference between revisions

Created page with "# Need to convert any usage of SMW property annotation to use the parser-friendly #set parser function syntax"
 
No edit summary
Line 1: Line 1:
# Need to convert any usage of SMW property annotation to use the parser-friendly #set parser function syntax
# Need to convert any usage of SMW property annotation to use the parser-friendly [https://www.semantic-mediawiki.org/wiki/Help:Setting_values #set parser function syntax].
A template for 'Animal' could use this:
<pre>
    {{#set:
    Species={{{Species|}}}
    |Habitat={{{Habitat|}}}
    |Diet={{{Diet|}}}
    }}
</pre>
Any any page such as 'Lion' would call the template <pre>{{Animal|Species=Lion|Habitat=Savanna|Diet=Carnivore}}</pre> instead of in-page property annotations.