Template:Pre: Difference between revisions
From xat wiki
No edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#tag:pre|{{{1}}}}}</includeonly> | <includeonly>{{#tag:pre|{{{1}}}}}</includeonly><noinclude> | ||
<noinclude> | Allows the use of pre HTML tag, in a way that editors and translators are familiar with. | ||
==Usage== | |||
===Example=== | |||
<nowiki>{{</nowiki>pre| | <nowiki>{{</nowiki>pre|<nowiki>This is some preformatted text.</nowiki><nowiki>}}</nowiki> | ||
===Output=== | |||
{{pre|This is some preformatted text.}} | |||
{{pre| | |||
</noinclude> | </noinclude> |
Latest revision as of 13:15, 4 September 2016
Allows the use of pre HTML tag, in a way that editors and translators are familiar with.
Usage
Example
{{pre|This is some preformatted text.}}
Output
This is some preformatted text.