Difference between revisions of "Template:Pre"

From xat wiki
Jump to: navigation, search
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.
 
Allows the use of pre HTML tag, in a way that editors and translators are familiar with.
  

Revision as of 12:26, 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