Changes

From Wazeopedia

Help:Inter wiki templates

1,024 bytes added, 2 years ago
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..."
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.

== Interwiki template transclusion ==
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>
this will enable the use of the Global wiki template named ''Template name'' in the destination wiki.
== 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):
<pre><nowiki>{{Global::Page name}}</nowiki></pre>
Or if the page is nested in a namespace than use:
<pre><nowiki>{{Global::Name Space name:Page name}}</nowiki></pre>
Where ''Name Space name'' is the name space prefix (i.e. - help:)
== Read more ==
* [[mw:Manual:$wgEnableScaryTranscluding|More explanations in the MediaWiki site]]