Difference between revisions of "Template talk:My sandbox"
From Computer History Wiki
(Good catch) |
(Transclusion from other namespaces works) |
||
Line 2: | Line 2: | ||
: Good catch. We should check with [[User:Dugo|Dugo]] to make sure it's OK, but then we can do more or less as you suggest, and move the page to be sub-page of their User: page, although I'll have to look up how to include one page in another (which is presumably the reason they used a Template: page). [[User:Jnc|Jnc]] ([[User talk:Jnc|talk]]) 01:30, 9 April 2019 (CEST) | : Good catch. We should check with [[User:Dugo|Dugo]] to make sure it's OK, but then we can do more or less as you suggest, and move the page to be sub-page of their User: page, although I'll have to look up how to include one page in another (which is presumably the reason they used a Template: page). [[User:Jnc|Jnc]] ([[User talk:Jnc|talk]]) 01:30, 9 April 2019 (CEST) | ||
+ | : Oh, it turns out to be simple; the <nowiki>{{}}</nowiki> syntax can transclude pages/sub-pages from namespaces other than Template:, all one has to do is specify the namespace. So <nowiki>{{User:Dugo/My sandbox}}</nowiki> will do it. (I used to known all this stuff back when I was an active admin on Wikipedia, but I've forgotten a lot of it, had to look it up! :-) [[User:Jnc|Jnc]] ([[User talk:Jnc|talk]]) 05:04, 9 April 2019 (CEST) |
Revision as of 04:04, 9 April 2019
Why is this a template? Shouldn't this be a regular page, preferably a sub-page under the owners' user page? --Darkstar (talk) 00:57, 9 April 2019 (CEST)
- Good catch. We should check with Dugo to make sure it's OK, but then we can do more or less as you suggest, and move the page to be sub-page of their User: page, although I'll have to look up how to include one page in another (which is presumably the reason they used a Template: page). Jnc (talk) 01:30, 9 April 2019 (CEST)
- Oh, it turns out to be simple; the {{}} syntax can transclude pages/sub-pages from namespaces other than Template:, all one has to do is specify the namespace. So {{User:Dugo/My sandbox}} will do it. (I used to known all this stuff back when I was an active admin on Wikipedia, but I've forgotten a lot of it, had to look it up! :-) Jnc (talk) 05:04, 9 April 2019 (CEST)