Template:RandomSelection: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span class="random-selection" | <includeonly><span class="random-selection" style="display:none;">{{{choices|}}}</span></includeonly><noinclude> | ||
When using the template put the available choices after a <nowiki>|</nowiki> character, separated by semicolons, for example <nowiki>{{Template:RandomSelection|first choice;second choice;third choice}}</nowiki> will result in | When using the template put the available choices after a <nowiki>|</nowiki> character, separated by semicolons, for example <nowiki>{{Template:RandomSelection|choices=first choice;second choice;third choice}}</nowiki> will result in {{Template:RandomSelection|choices=first choice;second choice;third choice}}. Note that if you use a HTML tag as an input, instead of being rendered, it will be printed as text. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:59, 3 October 2024
When using the template put the available choices after a | character, separated by semicolons, for example {{Template:RandomSelection|choices=first choice;second choice;third choice}} will result in
. Note that if you use a HTML tag as an input, instead of being rendered, it will be printed as text.