Difference between revisions of "Help:Transclusion"
From EncyclopAtys
m |
m (→Transclusion) |
||
Line 10: | Line 10: | ||
==Transclusion== | ==Transclusion== | ||
'''See https://www.mediawiki.org/wiki/Transclusion''' | '''See https://www.mediawiki.org/wiki/Transclusion''' | ||
+ | |||
+ | The syntax is <nowiki>{{Namespace:Pagename}}</nowiki>. In short, some transclusion examples: | ||
+ | |||
+ | |||
+ | |||
=== Partial transclusion tags === | === Partial transclusion tags === | ||
More about <nowiki><noinclude></nowiki>, <nowiki><onlyinclude></nowiki> and <nowiki><includeonly></nowiki>: see https://www.mediawiki.org/wiki/Transclusion#Partial_transclusion | More about <nowiki><noinclude></nowiki>, <nowiki><onlyinclude></nowiki> and <nowiki><includeonly></nowiki>: see https://www.mediawiki.org/wiki/Transclusion#Partial_transclusion |
Revision as of 10:48, 25 July 2020
Transclusion is generally the inclusion of the content of a document into another document by reference.
Transclusion
See https://www.mediawiki.org/wiki/Transclusion
The syntax is {{Namespace:Pagename}}. In short, some transclusion examples:
Partial transclusion tags
More about <noinclude>, <onlyinclude> and <includeonly>: see https://www.mediawiki.org/wiki/Transclusion#Partial_transclusion
Specialpages
{{Special:RecentChanges|namespace=10|limit=5}}, produce:No changes during the given period match these criteria.
.
It does not work with FR/DE/... wikis (gives a 301 nginx error).
In game
To include wiki pages in game, see Templates under Category:IGtemplate: all between {{IGend}} and {{IGstart}} will be displayed in game.
Notes and links
- Source: transclusion
- https://www.mediawiki.org/wiki/Transclusion/
- On URL parameters https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php
- On ns (namespaces) : Wiki Technical Guide/EN ns list, fr:Guide Technique du wiki/FR ns liste