Template:Nosubst: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Fixed template (tl -> t))
w:c:strategywiki>Moydow
mNo edit summary
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>

Revision as of 21:09, 21 February 2015

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}}}})