Template:Nosubst: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Fixed template (tl -> t))
m (6 revisions imported: Imported from https://strategywiki.org/)
 
(One intermediate revision by one other user 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 {{t|!}} 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}}}})