「テンプレート:Pre2」の版間の差分

ナビゲーションに移動 検索に移動
make scrolling possible again after committing gerrit:220701
(1版)
(make scrolling possible again after committing gerrit:220701)
1行目: 1行目:
<pre<includeonly></includeonly> style="{{#ifeq: {{{1}}} | scroll
<pre<includeonly></includeonly> style="{{#ifeq:{{{1}}}|scroll|overflow:auto; white-space:pre; 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><noinclude>
|overflow:auto; width:auto; {{{style|}}}">{{#switch: {{{2}}}
{{Documentation}}
  |nowiki
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
  |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><noinclude>
== Usage ==
<pre>
{{pre2|scroll|code here}}
{{pre2|scroll|nowiki|code here}}
{{pre2|nowiki|code here}}</pre>
 
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
匿名利用者

案内メニュー