Talk:Transclusion

Afterthought
I think I should have created this page in the  namespace. (Anyway, it's in the default searchpath here.) Well, an admin might fix it.--Imz 19:16, 26 August 2007 (UTC)

Transclusion restriction
Is there a way i can create a page and then when i transclude it onto another page....i only want the top 3 results. Similar to doing a transclusion of the Recent Changes special page. --Goldbishop 15:48, 20 July 2010 (UTC)

Limiting Category Transclusion
Please point me in a better direction if there is one.

I'm trying to find a way to limit category transclusion such that a page created by a template is categorized, but if that page is then transcluded to another page via another template, the category is NOT. So far, by various placement of the and 's, I've gotten the categorization to jump around including categorization of the template itself instead of the page.

What I CAN do is if I edit the page generated by the template and add to it the to the end of it, THEN that page will be categorized, but it won't be when it is transcluded.

My question: is there any way to enable a template to push to a page without acting on it, such that the rest of the template works and the resulting page is categorized, but when it is transcluded, the  is recognized? I feel like I'm missing something. --Glitch25 22:48, 17 March 2011 (UTC)

Transclude Entire pages into another separate wiki
Hello, I would like to have pages in my wiki that are totally identical to certain pages in Wikipedia.org. I am including these pages as a convenience to my readers so they know what work has already been done on the subject.

Would transclusion do the job? What would be code?

--Ali.T 1:48 AM, Dec 1 2011 IRST

Partial transclusion
A version of Transclusion is also at w:en:Wikipedia:Transclusion. The problem with syncing articles and subpages has previously been discussed (Wikipedia talk:Summary style, Wikipedia:Village pump (technical) Wikitech-l). Has this been previously discussed here? Is this something that can be addressed in /trunk/extensions? I couldn't find anything obviously related on the Bug tracker, so will add something there, pointing here. Thanks for reading. -- Trevj (talk) 12:22, 7 February 2012 (UTC)

Transclude only the name of the last contributor or author?
Hello! I am trying to determine how to transclude JUST the last contributor of a page or the author of the page. So in a template maybe that says "Under Construction" I would like to have something like a "variable call" or maybe more appropriately a "database call" that would output the name of the page author or the last contributor ... so that the page that is actually under construction uses which would then somehow on the actual page, show the last editor or author of that page, not the template, so for example if the last contributor of the under construction page was Bob but the last contributor of the  template was Tom, I would want the page which is under construction to show Bob when you transclude the template into the page. A good example of this can be seen at

Does anybody know of the code bit that would do this? I'm pretty sure it's very simple, but Google search, and mediawiki search, are failing me today.

--Dehvokahn 14:24, 8 Aug 2014 (EDT)


 * You're probably looking for . That always shows the very last editor of the page, though, so if someone other than the original author puts the Under Construction template on the page, it'll be their name that shows up. You can try and get fancy by using substitution, but honestly, I usually find it's more reliable to just add a parameter to the call so you know with certainty what'll show up. So your template might look something like   and then you'd call it with  . – RobinHood70 talk 00:50, 9 August 2014 (UTC)

Something seriously wrong with section
I think vandalism made its way into this section: Transclusion. It reads nonsensically. And if it wasn't vandalized, then it needs to be rewritten, because the instructions are incoherent. WinterSpw (talk) 23:21, 1 March 2017 (UTC)


 * It's not well-explained, but it's correctly written as is (give or take the bit about not renumbering...I'm not sure what that was all about). The short of it is: surround the section you want to transclude with &lt;onlyinclude> and &lt;/onlyinclude> tags, then transclude that page normally. – Robin Hood  (talk)  03:21, 3 March 2017 (UTC)