Freephile Wiki:ToDo: Difference between revisions
From Freephile Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
</pre> | </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. | 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. | ||
Some of the property annotations that were updated | |||
# [[MediaWiki]] | |||
# [[Metadata]] | |||
# [[Template:Logo]] | |||
# [[Template:Skill]] | |||
# [[Template:Organization]] | |||
# [[Template:Sdo:Organization]] |
Revision as of 23:12, 4 September 2025
- Need to convert any usage of SMW property annotation to use the parser-friendly #set parser function syntax.
A template for 'Animal' could use this:
{{#set: Species={{{Species|}}} |Habitat={{{Habitat|}}} |Diet={{{Diet|}}} }}
Any any page such as 'Lion' would call the template
{{Animal|Species=Lion|Habitat=Savanna|Diet=Carnivore}}
instead of in-page property annotations.
Some of the property annotations that were updated