Difference between revisions of "Template talk:Download"
From Organic Design wiki
(template failing under transclusion TODO: use #if:) |
(Note) |
||
Line 1: | Line 1: | ||
− | + | This template fails under [[translude|transclusion]], the variable <nowiki>{</nowiki>{FULLPAGENAMEE}} is always the base page, not the transcluded article, so the download template in the transcluded page downloads the wrong article --[[User:Sven|Sven]] 14:22, 3 May 2007 (NZST) | |
+ | : I think there should be a global VARIABLE for the transcluded page name say <nowiki>{</nowiki>{TRANSPAGENAME}}. How do VARIABLES behave under transclusion, do some alter depending on wether they are embeded in another article or not? This may not be possible to do... | ||
+ | --[[User:Sven|Sven]] 16:11, 3 May 2007 (NZST) |
Latest revision as of 04:11, 3 May 2007
This template fails under transclusion, the variable {{FULLPAGENAMEE}} is always the base page, not the transcluded article, so the download template in the transcluded page downloads the wrong article --Sven 14:22, 3 May 2007 (NZST)
- I think there should be a global VARIABLE for the transcluded page name say {{TRANSPAGENAME}}. How do VARIABLES behave under transclusion, do some alter depending on wether they are embeded in another article or not? This may not be possible to do...
--Sven 16:11, 3 May 2007 (NZST)