imported>Wottem (Created page with "It is possible to use Global wiki templates in local wikis without importing the templates. In this manner, we can keep templates updated with the gl...") |
imported>Wottem No edit summary |
||
Line 1: | Line 1: | ||
It is possible to use Global wiki templates in local wikis without [[Help:Interwiki import|importing]] the templates. In this manner, we can keep templates updated with the global source. | {{HelpPage | ||
|page content=It is possible to use Global wiki templates in local wikis without [[Help:Interwiki import|importing]] the templates. In this manner, we can keep templates updated with the global source. | |||
|zippers={{Togglesection | |||
In order to transclude a template from the global wiki we will need to use this syntax in the wiki source editor: | |title=Interwiki template transclusion | ||
|content=In order to transclude a template from the global wiki we will need to use this syntax in the wiki source editor: | |||
<pre><nowiki>{{Global:Template name}}</nowiki></pre> | <pre><nowiki>{{Global:Template name}}</nowiki></pre> | ||
this will enable the use of the Global wiki template named ''Template name'' in the destination wiki. | this will enable the use of the Global wiki template named ''Template name'' in the destination wiki.}}{{Togglesection | ||
|title=Interwiki page transclusion | |||
In order to transclude a page from the main name space from the global wiki we will need to use this syntax in the wiki source editor (note the double colon mark): | |content=In order to transclude a page from the main name space from the global wiki we will need to use this syntax in the wiki source editor (note the double colon mark): | ||
<pre><nowiki>{{Global::Page name}}</nowiki></pre> | <pre><nowiki>{{Global::Page name}}</nowiki></pre> | ||
Or if the page is nested in a namespace than use: | Or if the page is nested in a namespace than use: | ||
<pre><nowiki>{{Global::Name Space name:Page name}}</nowiki></pre> | <pre><nowiki>{{Global::Name Space name:Page name}}</nowiki></pre> | ||
Where ''Name Space name'' is the name space prefix (i.e. - help:) | Where ''Name Space name'' is the name space prefix (i.e. - help:)}}{{Togglesection | ||
= | |title=Where can i read more? | ||
|content=Please visit Mediawiki manual page for [[mw:Manual:$wgEnableScaryTranscluding|More explanations]]}} | |||
}} |
Revision as of 10:49, 14 October 2020
It is possible to use Global wiki templates in local wikis without importing the templates. In this manner, we can keep templates updated with the global source.
Interwiki template transclusion
Interwiki page transclusion
Where can i read more?
Related articles
How to use the Translation tool
You can translate pages from between different wikis to your local wiki. This is done by using the...