Template:Nosubst: Difference between revisions

Template page
w:c:strategywiki>Skizzerz
m (Protected "Template:Nosubst": protecting as it is used as a the base of my sig [edit=sysop:move=sysop])
m (6 revisions imported: Imported from https://strategywiki.org/)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{{{{1}}}}}</includeonly><noinclude>A template that you can substitute in place of another template when substitution is forced, such as in the user signature box in preferences.
<includeonly>{{{{{1}}}}}</includeonly><noinclude>A template that you can substitute in place of another template when substitution is forced, such as in the user signature box in preferences.


To use this template for your signature, simply put <tt><nowiki>{{subst:Nosubst|User:Username/Your sig template}}</nowiki></tt> in the nickname box in your preferences and tick the raw signature box. If the template you want has pipe-separated parameters, use {{tl|!}} to generate them instead of using the pipe character.
To use this template for your signature, simply put <tt><nowiki>{{subst:Nosubst|User:Username/Your sig template}}</nowiki></tt> in the nickname box in your preferences and tick the raw signature box. If the template you want has pipe-separated parameters, use <nowiki>{{!}}</nowiki> to generate them instead of using the pipe character.


NOTE: DO NOT INCLUDE THE CURLY BRACES FOR THE TEMPLATE IN THE FIRST PARAMETER! IT AUTOMATICALLY WRAPS THEM FOR YOU (so <tt><nowiki>{{subst:Nosubst|Hello}}</nowiki></tt> instead of <tt><nowiki>{{subst:Nosubst|{{Hello}}}}</nowiki></tt>)
NOTE: DO NOT INCLUDE THE CURLY BRACES FOR THE TEMPLATE IN THE FIRST PARAMETER! IT AUTOMATICALLY WRAPS THEM FOR YOU (so <tt><nowiki>{{subst:Nosubst|Hello}}</nowiki></tt> instead of <tt><nowiki>{{subst:Nosubst|{{Hello}}}}</nowiki></tt>)


[[Category:Templates|N]]</noinclude>
[[Category:Templates|N]]</noinclude>

Latest revision as of 18:27, 28 October 2023

A template that you can substitute in place of another template when substitution is forced, such as in the user signature box in preferences.

To use this template for your signature, simply put {{subst:Nosubst|User:Username/Your sig template}} in the nickname box in your preferences and tick the raw signature box. If the template you want has pipe-separated parameters, use {{!}} to generate them instead of using the pipe character.

NOTE: DO NOT INCLUDE THE CURLY BRACES FOR THE TEMPLATE IN THE FIRST PARAMETER! IT AUTOMATICALLY WRAPS THEM FOR YOU (so {{subst:Nosubst|Hello}} instead of {{subst:Nosubst|{{Hello}}}})