Template:Pre fake/doc

From Workers & Resources: Soviet Republic Official Wiki
< Template:Pre fake
Revision as of 00:30, 4 March 2023 by workers-resources-fandom>Abominação (Created page with "<noinclude>{{Documentationpage}}</noinclude>{{Template dependencies|css=MediaWiki:Common.css}} Template for producing {{tag|pre}}-like formatting. The difference is that you can still use magic words and variables properly in the text. ==Usage== <pre>{{Pre fake|text}}</pre> ===Parameters=== {{Docparam|name=<unnamed 1> // text|req=yes|default=|desc= The text inside the {{tag|pre}}-like formatting. }} ==Examples== ===Normal text=== <pre>{{Pre fake|text}}</pre> re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template for producing <pre></pre>-like formatting. The difference is that you can still use magic words and variables properly in the text.

Usage

{{Pre fake|text}}

Parameters

Yes
<unnamed 1> or text
The text inside the <pre></pre>-like formatting.

Examples

Normal text

{{Pre fake|text}}

results in:

text

Magic word

{{Pre fake|{{FULLPAGENAME}}}}

results in:

Template:Pre fake/doc