Template:Pre: Difference between revisions

From xat wiki
No edit summary
No edit summary
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.


Examples:
Examples:

Revision as of 12:25, 4 September 2016


Allows the use of pre HTML tag, in a way that editors and translators are familiar with.

Examples:

{{pre|<nowiki>This is some preformatted text.</nowiki>}}

{{pre|<nowiki>http://xat.com/web_gear/chat/SetScroller.php?Message=Hello%20all!&id=12345&pw=1234567890</nowiki>}}

Output:

This is some preformatted text.
http://xat.com/web_gear/chat/SetScroller.php?Message=Hello%20all!&id=12345&pw=1234567890