Difference between revisions of "Template:Text"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#set: {{{1}}}={{#if:1|{{{2|}}}}}}}{{#if:1|{{{2|}}}}}</includeonly>") |
(simplification, documentation, category) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#set: {{{1}}}= | + | <includeonly>{{#set: {{{1}}} = {{{2|}}} }}{{{2|}}}</includeonly><noinclude>{{Documentation | content = |
+ | |||
+ | You can use the template like this: | ||
+ | |||
+ | <pre>{{Text|<Property>|<value>}}</pre> | ||
+ | |||
+ | This template will then set the given property to the given value and print the value. | ||
+ | |||
+ | [[Category:SMW templates]] | ||
+ | }}</noinclude> |
Latest revision as of 10:28, 14 December 2022
Template documentation
You can use the template like this:
{{Text|<Property>|<value>}}
This template will then set the given property to the given value and print the value.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |