Talk:Transclusion

From MediaWiki.org
Jump to: navigation, search

Contents

Limiting Category Transclusion [edit]

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

<noinclude> and <includeonly>'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

 <noinclude>[[Category:Blah]]</noinclude>

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

 <noinclude>[[Category:Blah]]</noinclude>

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

<noinclude>[[Category:Blah]]</noinclude>

is recognized? I feel like I'm missing something.

--Glitch25 22:48, 17 March 2011 (UTC)

Transclusion restriction [edit]

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({{Special:Newpages/5}}). --Goldbishop 15:48, 20 July 2010 (UTC)

Afterthought [edit]

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

Transclude Entire pages into another separate wiki [edit]

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 [edit]

A version of Transclusion#Partial transclusion is also at w:en:Wikipedia:Transclusion#Partial 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)