Template:Cat: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>{{Template}} '''A box displaying file contents.''' == Template Documentation == See also: * Template:Cmd ====Example==== <nowiki>{{Cat|/path/file|Body '''text'''</nowiki> <br /> more<br /> Second line.}} produces: {{Cat|/path/file|Body '''text''' <br /> more Second line.}} You must escape characters as follows: <pre> = not inside [[..]] use = or {{=}} | not inside [[..]] use | or {{!}} {{ use {..." |
(No difference)
|
Latest revision as of 16:51, 16 April 2022
Template: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:
= not inside [[..]] use = or {{=}} | not inside [[..]] use | or {{!}} {{ use { twice or {{lb}} }} use } twice or {{rb}} unmatched [[ use [ twice unmatched ]] use ] twice # use #