Transcluding wikipedia templates

Jump to: navigation, search
Line 13: Line 13:
 
So, for example, to invoke the [[:Wikipedia:Template:Rounded]] template, you can use the following:
 
So, for example, to invoke the [[:Wikipedia:Template:Rounded]] template, you can use the following:
  
 +
<nowiki>{{raw:Wikipedia:Rounded | bg=#f9f9f9 | bc=#aaaaaa | w=75% | content=This is a rounded box template, transcluded from Wikipedia}}</nowiki>
 +
 +
Which would result in the following:
 
{{raw:Wikipedia:Rounded | bg=#f9f9f9 | bc=#aaaaaa | w=75% | content=This is a rounded box template, transcluded from Wikipedia}}
 
{{raw:Wikipedia:Rounded | bg=#f9f9f9 | bc=#aaaaaa | w=75% | content=This is a rounded box template, transcluded from Wikipedia}}
  
 
==References==
 
==References==
 
*http://www.mediawiki.org/wiki/Manual_talk:$wgEnableScaryTranscluding
 
*http://www.mediawiki.org/wiki/Manual_talk:$wgEnableScaryTranscluding

Revision as of 17:16, 10 July 2009

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox