Difference between revisions of "Template:Pre"

m
m (Okay. That broke everything, apparently.)
Line 1: Line 1:
<pre style="{{#ifeq:{{{1}}}|scroll|overflow:auto; width:auto;{{{style|}}}">
+
<pre<includeonly></includeonly> style="{{#ifeq:{{{1}}}|scroll|overflow:auto; width:auto;{{{style|}}}">{{#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;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}</pre>
{{#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;{{{style|}}}">
+
  {{#switch:{{{1}}}
+
  | nowiki
+
  | nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}}
+
  }}
+
</pre>
+

Revision as of 12:01, 3 October 2009

{{{1}}}