13,618
edits
(→External Links in Template:Info: new section) |
|||
Line 243: | Line 243: | ||
Is it intentional that you can't use external links in {{template|info}}? I tried to use it on the page [[Wrecks]], but while there was an external link it would only produce <nowiki>{{1}}</nowiki> instead of the actual message, so I had to reword the message to remove the link (then it worked). '''[[User:Biggest gta fan ever|Biggest GTA Fan Ever]]<sup>''[[User talk:Biggest gta fan ever|Talk]]''</sup>''' 06:00, 9 March 2009 (UTC) | Is it intentional that you can't use external links in {{template|info}}? I tried to use it on the page [[Wrecks]], but while there was an external link it would only produce <nowiki>{{1}}</nowiki> instead of the actual message, so I had to reword the message to remove the link (then it worked). '''[[User:Biggest gta fan ever|Biggest GTA Fan Ever]]<sup>''[[User talk:Biggest gta fan ever|Talk]]''</sup>''' 06:00, 9 March 2009 (UTC) | ||
I think you'll find it was actually the equals sign (=) that was causing it to break. This is because of the way templates (like infoboxes) work. You put <code><nowiki>{{templatename | parameter=value | parameter=value}}</nowiki></code>. If you don't specify any parameters (no equals signs) the first parameter is just called "1", which is what the info template is expecting. But what you actually did is have a parameter called "This article was proposed for deletion..." etc, up until the equals sign. You can fix this by going <code><nowiki>{{info|1=stuff}}</nowiki></code> (so that you're forcing it to parameter 1), or you could have a {{template|equals}} (like {{template|pipe}}) that you use instead of an equals sign. I'll add this into that page now to show you. [[w:c:gta:User:Gboyers|Gboyers]] <sup>[[:w:c:gta:User_talk:Gboyers|talk]]</sup> 15:52, 9 March 2009 (UTC) |
edits