Template:Pre2: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rocket000
Drum guy's idea
meta>Rocket000
+nowiki option (doesn't work right for nowiki'ing {{templates}} but that's a MediaWiki bug - adding it anyway because everything else should ork exactly the same as before)
Line 1: Line 1:
<pre<includeonly></includeonly> style="{{#ifeq: {{{1}}} | scroll | overflow: auto; width: auto;">{{{2|}}} | white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;">{{{1|}}} }}</pre><noinclude>
<pre<includeonly></includeonly> style="{{#ifeq:{{{1}}}|scroll|overflow: auto; width: auto;">{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3|}}}}}|{{{2|}}}}}|white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2|}}}}}|{{{1|}}}}} }}</pre><noinclude>
{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 22:22, 15 June 2008