Template:Cat: Difference between revisions

From Braindump
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 &#61; or {{=}} | not inside [[..]] use &#124; or {{!}} {{ use &#123;..."
 
(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 &#61; or {{=}}
   | not inside [[..]] use &#124; or {{!}}
   {{                  use &#123; twice or {{lb}}
   }}                  use &#125; twice or {{rb}}
   unmatched [[        use &#91; twice
   unmatched ]]        use &#93; twice
   #                   use &#35;