Jump to content

Template talk:Error:must be substituted

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


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)[reply]

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)[reply]

Done.--Patrick 15:36, 12 November 2007 (UTC)[reply]

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)[reply]

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:

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)[reply]

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)[reply]

Why? Please do not make requests without explaining the purpose and benefit of the change. — Martin (MSGJ · talk) 10:47, 22 September 2010 (UTC)[reply]