Template:Pre: Difference between revisions
From xat wiki
(Avoid using <pre> HTML tag.) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#tag:pre|{{{1}}}}}</includeonly><noinclude> | ||
Allows the use of pre HTML tag, in a way that editors and translators are familiar with. | |||
==Usage== | |||
===Example=== | |||
<nowiki>{{</nowiki>pre|This is some preformatted | <nowiki>{{</nowiki>pre|<nowiki>This is some preformatted text.</nowiki><nowiki>}}</nowiki> | ||
===Output=== | |||
{{pre|This is some preformatted text.}} | |||
{{pre|This is some preformatted | |||
</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.