Template:Pre: Difference between revisions

From xat wiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


==Usage==
==Usage==
Examples:
===Example===


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


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


Output:
{{pre|This is some preformatted text.}}
 
{{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>}}


</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.