Forum:Transcludable pages
Jump to navigation
Jump to search
Looking for some guidance on transcludable pages. Can't find any help articles or information. I'm trying to add info to a transcludable page, but when I preview it, my changes do not appear.
--Keyesc (talk) 20:28, November 14, 2009 (UTC)
- I could not find any sandbox examples of your working with transclusion, but here are the basics:
- The target page transcludes some page:
{{:InsertMyPage}}
- InsertMyPage, meanwhile, usually has a section bounded by the tags
<includeonly>
- Alternately, it could have everything ELSE bounded by
<noinclude>
. This should be done only sparingly, as additions to the page can be more difficult.
- Alternately, it could have everything ELSE bounded by
- If you have something you want NOT to appear when InsertMyPage is viewed directly, you can use
<onlyinclude>
around it. If you have an includeonly section, you'll want your onlyinclude section to be within it.
- The target page transcludes some page:
- You will likely want to either include the tag
{{transclude}}
, or to include the page in Category:Transcludable pages if it does not stand up as a page in its own right. - --Eirik Ratcatcher (talk) 18:09, November 18, 2009 (UTC)