Template:Pre fake/doc: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
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...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:45, 14 June 2024

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