• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Transclusion

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Gtk-arrow-utl.svgThis template is used for lightweight transclusion in [[:{{{1}}}]].
Transclusion templates are utilized to avoid disruption and unnecessary server load while editing heavy articles. Please consider discussing any changes to this template on the [[Talk:{{{1}}}|article's talk page]] before implementing them.
Template documentation[view] [edit] [history] [purge]

This is the {{Transclusion}} message box. It is meant to be put at the top of templates used for lightweight transclusion in Wikipedia's main namespace. For more information, see Wikipedia:Transclusion.

Usage

The template consists consists of two parameters:

  • article – Used to indicated the article or articles to which the template is transcluded.
{{Transclusion|Article 1|...|Article 15}}
  • One to fifteen articles can be listed.
  • The word "and" is always placed between the final two entries.
  • You can use parameters label 1 to label 15 to specify alternative labels for the links.
  • label – If needed, this parameter can be used to directly indicate a particular section within an article.
{{Transclusion|Article 1#Section 1|l1=Label 1}}
  • Note that the parameter name is a lower case 'L' followed by the number '1', not the number eleven.

Examples

As used in Template:2012 Summer Olympics calendar:

Simple use:
{{Transclusion|2012 Summer Olympics}}
Gtk-arrow-utl.svgThis template is used for lightweight transclusion in 2012 Summer Olympics.
Transclusion templates are utilized to avoid disruption and unnecessary server load while editing heavy articles. Please consider discussing any changes to this template on the article's talk page before implementing them.
Use of more than one article:
{{Transclusion|2012 Summer Olympics|Chronological summary of the 2012 Summer Olympics}}
Gtk-arrow-utl.svgThis template is used for lightweight transclusion in 2012 Summer Olympics and Chronological summary of the 2012 Summer Olympics.
Transclusion templates are utilized to avoid disruption and unnecessary server load while editing heavy articles. Please consider discussing any changes to this template on the articles' talk pages before implementing them.
Use of specific section:
{{Transclusion|2012 Summer Olympics#Calendar|l1=2012 Summer Olympics calendar}}
Gtk-arrow-utl.svgThis template is used for lightweight transclusion in 2012 Summer Olympics calendar.
Transclusion templates are utilized to avoid disruption and unnecessary server load while editing heavy articles. Please consider discussing any changes to this template on the article's talk page before implementing them.

See also

  • {{Transcluded}} – For transclusions providing source.
The above documentation is transcluded from Template:Transclusion/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Transclusion&oldid=33930"
Category:
  • Template namespace templates
Last edited on 4 October 2016, at 18:21

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 4 October 2016, at 18:21.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop