Template talk:Error:must be substituted
This is the talk page for discussing improvements to the Error:must be substituted template. |
|
Template:Error:must be substituted is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Variable
[edit]Please add a second variable to the template, for example {{Error:not substituted|cfm|category:foo}}
could give the user the whole text to be substed. Dread Lord CyberSkull ✎☠ 01:43, 3 March 2007 (UTC)
- No change is necessary; just use
{{error:not substituted|<nowiki>cfm|category:foo</nowiki>}}
. —{admin} Pathoschild 02:21:04, 03 March 2007 (UTC)
invocation example
[edit]Can a specific invocation example be given? I think this invocation needs to be surrounded with include only tags but i am not sure. ++Lar: t/c 12:44, 12 November 2007 (UTC)
Error class
[edit]{{editprotected}}
This template should be using the "error" class for consistency and to make sure it is caught by the {{#iferror:}}
parser function. Please replace it with the following code.
<strong class="error">This template must be [[Wikipedia:Template substitution|substituted]]. Replace {{#switch:{{{1}}}|prod={{prod|reason}} with {{subst:prod|reason}}|#default={{{{{1}}}}} with {{subst:{{{1}}}}}}}.</strong><noinclude>{{pp-template|small=yes}} {{documentation}}</noinclude>
- Done Thanks, PeterSymonds (talk) 10:54, 21 June 2008 (UTC)
Everything's better with boxes
[edit]Should this error message be in a message box? I think that would make it stand out more, make it easier to see. The error message now can get lost in noise, even with the red. Something like:
This template must be substituted! |
Of course, assuming it should be, I don't know if it's technically possible. Perhaps the subst-detection kludgery won't play nice with {{mbox}}, or perhaps the way templates use {{Error:must be substituted}} will mess up {{mbox}}. —DragonHawk (talk|hist) 02:27, 17 July 2009 (UTC)
Code Update
[edit]{{editprotected}}
Could a templatey administrator change this
<strong class="error">This template must be [[Wikipedia:Substitution|substituted]]. Replace
{{#switch:{{{1}}}|prod=<nowiki>{{prod|reason}} with {{subst:prod|reason}}</nowiki>|#default=
<nowiki>{{</nowiki>{{{1}}}<nowiki>}} with {{</nowiki>subst:{{{1}}}<nowiki>}}</nowiki>
}}
.</strong><noinclude>{{documentation}}</noinclude>
to this
<strong class="error">This template must be [[Wikipedia:Substitution|substituted]]. Replace <nowiki>{{</nowiki>{{{1}}}<nowiki>}} with {{</nowiki>subst:{{{1}}}<nowiki>}}</nowiki>.</strong><noinclude>{{documentation}}</noinclude>
at Template:Error:must be substituted? Thanks. Set Sail For The Seven Seas 349° 41' 15" NET 23:18, 17 September 2010 (UTC)
- Why? Please do not make requests without explaining the purpose and benefit of the change. — Martin (MSGJ · talk) 10:47, 22 September 2010 (UTC)