Transcluding wikipedia templates

Jump to: navigation, search
(New page: Wikipedia templates can be used on this wiki via interwiki transclusion. ==Setup== #In LocalSettings.php, set $wgEnableScaryTranscluding to 'true'. #In includes/parser/Parser.php, set $fo...)
 
(Usage)
Line 11: Line 11:
 
<nowiki>{{raw:Wikipedia:templatename|templatevalue}}</nowiki>
 
<nowiki>{{raw:Wikipedia:templatename|templatevalue}}</nowiki>
  
So, to invoke the [[:Wikipedia:Template:Rounded]] template
+
So, for example, to invoke the [[:Wikipedia:Template:Rounded]] template, you can use the following:
 +
 
 +
{{raw:Wikipedia:Rounded | bg=#f9f9f9 | bc=#aaaaaa | w=75% | content=This is a transcluded rounded box}}
  
 
==References==
 
==References==
 
*http://www.mediawiki.org/wiki/Manual_talk:$wgEnableScaryTranscluding
 
*http://www.mediawiki.org/wiki/Manual_talk:$wgEnableScaryTranscluding

Revision as of 16:55, 10 July 2009

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox