User talk:Galeandrews

From Audacity Wiki
Revision as of 22:26, 16 November 2007 by Galeandrews (talk | contribs) (reply to Suf)
Jump to: navigation, search

Templates limitation, no recursion

Hi Gale,

I just realised another limitation of the templates mechanism: You can not invoke a template from the string you send to another template. Specifically, I tried to format an external link in an intro, like this:


That fails, as the interpreter is not recursive on this level, and thus is not able to nest template invocations like this. (That is also expressly stated on the Wiki template editing help page , section FAQ.)

The implication is that intros (and of course any use of a template) can only contain "plain text", or text formatted with other wiki or html functions. Pity. Suf 12:34, 16 November 2007 (PST)

Hi Suf

I came across this last night when trying to include an external link in the Vocal Removal inroduction but had not had time to figure whether 1= etc. would work. I'm sure <nowiki> won't work as it will stop the nested temploate running. But it looks from USB turntables that you cracked it with n=.

Use n= according to the string of the template where you invoke the nested template e.g.

{{intro|1=This {{external|[ Numark]}} page is great.
|2=Several manufacturers {{external|[ Ion Audio]}},
{{external|[ Numark]}}, use the current version of Audacity.}} 


This Numark  page is great.
Several manufacturers Ion Audio , Numark , use the current version of Audacity.


{{intro|1=This {{external|[ Numark]}} page is great.|2=}}


This Numark  page is great.

that is, you need to supply "2=" after the second pipe even though it contains no text. Assuming this has general applicability to nesting templates inside each other I will write it up on the Templates page and on the Template:Intro page which has a second string.

Missing page?

Hi Gale,

I may have missed it (I am known to occasionally miss things...), but I can not find a page on basic installation of Audacity. Suf 12:34, 16 November 2007 (PST)

The Wiki doesn't have this because generally installing Audacity (getting to the point where you are ready to launch Audacity for the first time) isn't much of a problem as long as your download manager has not corrupted the installer. Mac users have problems sometimes as they try to run Audacity from inside the .dmg image which will create problems, so I will add that to Mac Bugs. Though it would be nice, I'm not sure there is a burning need for (what amounts to) a guide to installing Audacity on Windows.