Difference between revisions of "User talk:Galeandrews"
From Audacity Wiki
(Note to Gale) |
(Info on equal signs in template invocations) |
||
Line 1: | Line 1: | ||
Hi! | Hi! | ||
− | + | Here is an update on the 'equal signs in URL' business: | |
− | // [[User:Suf|Suf]] | + | I have confirmed (by reading the {{External|[http://en.wikipedia.org/wiki/Help:Template manual]}} - ouch, that hurt...) that one of the problems with templates is that they are not immediately happy with equal signs in the parameters. The equal sign is used for assigning values to named parameters and/or in any order, but the effect can be overridden. Here is an example: |
+ | |||
+ | <nowiki>{{external|[http://youtube.com/results?search_query=audacity+tutorial&search=Search video tutorials on using Audacity]}}</nowiki> | ||
+ | |||
+ | includes equal signs, confusing the parser, and will produce the erroneous | ||
+ | |||
+ | :{{external|[http://youtube.com/results?search_query=audacity+tutorial&search=Search video tutorials on using Audacity]}} | ||
+ | |||
+ | While | ||
+ | |||
+ | <nowiki>{{external|1=[http://youtube.com/results?search_query=audacity+tutorial&search=Search video tutorials on using Audacity]}}</nowiki> | ||
+ | |||
+ | by starting the string with {{Menu|1=1=}} says something like 'set parameter one to the following string' and will produce | ||
+ | |||
+ | :{{external|1=[http://youtube.com/results?search_query=audacity+tutorial&search=Search video tutorials on using Audacity]}} | ||
+ | |||
+ | Likewise the pipe character is restricted, see the {{External|[http://en.wikipedia.org/wiki/Help:Template manual]}} | ||
+ | |||
+ | '''NB:''' that the same problem occured for the invocation of the ''Menu'' template above! | ||
+ | |||
+ | |||
+ | // [[User:Suf|Suf]] 10:27, 2 September 2007 (PDT) |
Revision as of 17:27, 2 September 2007
Hi!
Here is an update on the 'equal signs in URL' business:
I have confirmed (by reading the manual - ouch, that hurt...) that one of the problems with templates is that they are not immediately happy with equal signs in the parameters. The equal sign is used for assigning values to named parameters and/or in any order, but the effect can be overridden. Here is an example:
{{external|[http://youtube.com/results?search_query=audacity+tutorial&search=Search video tutorials on using Audacity]}}
includes equal signs, confusing the parser, and will produce the erroneous
- {{{1}}}
While
{{external|1=[http://youtube.com/results?search_query=audacity+tutorial&search=Search video tutorials on using Audacity]}}
by starting the string with
says something like 'set parameter one to the following string' and will produceLikewise the pipe character is restricted, see the manual
NB: that the same problem occured for the invocation of the Menu template above!
// Suf 10:27, 2 September 2007 (PDT)