Template:Cat: Difference between revisions
Dubiousjim (talk | contribs) (Change example, tentatively add docs re escaping) |
Dubiousjim (talk | contribs) m (fix markup) |
||
Line 9: | Line 9: | ||
====Example==== | ====Example==== | ||
<nowiki>{{ | <nowiki>{{Cat|/path/file|Body '''text'''</nowiki> <br /> more<br /> | ||
Second line.}} | Second line.}} | ||
Revision as of 06:12, 8 March 2012
Template Documentation for Cat
This page is a template and should only be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.A box displaying file contents.
Template Documentation
See also:
Example
{{Cat|/path/file|Body '''text''' <br /> more
Second line.}}
produces:
Contents of /path/file
Body '''text''' <br /> more
Second line.
You must escape characters as follows:
= = or {{=}} | | or {{!}} {{ { twice or {{lb}} }} } twice or {{rb}} [[ [ twice ]] ] twice