Transcluding wikipedia templates
(→Usage) |
|||
Line 9: | Line 9: | ||
Templates are invoked as follows: | Templates are invoked as follows: | ||
− | <nowiki>{{raw:Wikipedia:templatename|templatevalue}}</nowiki> | + | <code><nowiki>{{raw:Wikipedia:templatename|templatevalue}}</nowiki></code> |
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> | + | <code><nowiki>{{raw:Wikipedia:Rounded | bg=#f9f9f9 | bc=#aaaaaa | w=75% | content=This is a rounded box template, transcluded from Wikipedia}}</nowiki></code> |
Which would result in the following: | Which would result in the following: |