m (→Transclusion) |
m |
||
Line 11: | Line 11: | ||
'''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: | + | The syntax is <nowiki>{{Namespace:Pagename}}</nowiki>. In short, some transclusion examples: If the source is in |
− | + | * Template ns (for ex "Template:Welcome"): use <nowiki>{{Welcome}}</nowiki> | |
+ | * Main ns (for ex "Lore"): <nowiki>{{:Lore}}</nowiki> | ||
+ | * Other ns (for ex: User:Example): <nowiki>{{User:Example}}</nowiki> | ||
+ | * If source is a subpage of the target (for ex « Transclusion/ja ») you can use subpage name, without the ns: <nowiki>{{/ja}}</nowiki> | ||
Transclusion is generally the inclusion of the content of a document into another document by reference.
See https://www.mediawiki.org/wiki/Transclusion
The syntax is {{Namespace:Pagename}}. In short, some transclusion examples: If the source is in
More about <noinclude>, <onlyinclude> and <includeonly>: see https://www.mediawiki.org/wiki/Transclusion#Partial_transclusion
It does not work with FR/DE/... wikis (gives a 301 nginx error).
To include wiki pages in game, see Templates under Category:IGtemplate: all between {{IGend}} and {{IGstart}} will be displayed in game.