Wikipedia:Transclusion

Dari Wikipedia bahasa Melayu

  Jalan pintas:  
WP:TRANS

Transclusion is generally the inclusion of the content of a document into another document by reference. In the Wikipedian context, it is the use of the template functionality of MediaWiki to include the same content in multiple documents without having to edit those documents separately.

Wikipedia:Transclusion/How Transclusion Works

Jadual isi kandungan

[Sunting] Examples

This very page uses template transclusion. The section above entitled "How transclusion works" is actually transcluded from the document Wikipedia:Transclusion/How_Transclusion_Works. That section is included by reference, by using the MediaWiki markup {{Wikipedia:Transclusion/How_Transclusion_Works}} to include it.

The template Flu at Template:Flu and text Spanish flu research at Spanish flu research are transcluded to Spanish flu using "{{Flu}}" and "{{:Spanish flu research}}" respectively.

[Sunting] Pages related to MediaWiki transclusion

[Sunting] Templates

  • m:Help:Template
  • Wikipedia:Template namespace
    • Wikipedia:Template messages
  • Wikipedia:Template limits
  • Wikipedia:Avoid using meta-templates (rejected)

[Sunting] See also