Wikia

WoWWiki

Transcludable pages

101,390pages on
this wiki

Forum page

Revision as of 18:09, November 18, 2009 by Eirik Ratcatcher (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Forums: Index WoWWiki technical Transcludable pages

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.
  • 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.
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)

Around Wikia's network

Random Wiki