Template:Pre: Difference between revisions
en>Komusou (moved doc and cats to /doc, remplaced with {{Template doc}}) |
en>Komusou (after sandbox/testcases verification, moved {{Template sandbox notice}} to top <noinclude> block) |
||
Line 1: | Line 1: | ||
<div style="border: 1px dashed #2F6FAB; border-bottom:none; margin: 1em 0px 0px 0px; padding: 3px 3px 0.7em 3px; background: #F9F9F9; text-align: right; font-size: 0.5em; line-height: 1ex; color: #2f6fab;{{#if:{{{width|}}}|width: {{{width}}}|}}">[[Template:Pre|pre]]</div> | <noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}} }}</noinclude><!-- | ||
--><div style="border: 1px dashed #2F6FAB; border-bottom:none; margin: 1em 0px 0px 0px; padding: 3px 3px 0.7em 3px; background: #F9F9F9; text-align: right; font-size: 0.5em; line-height: 1ex; color: #2f6fab;{{#if:{{{width|}}}|width: {{{width}}}|}}">[[Template:Pre|pre]]</div> | |||
<div style="border: 1px dashed #2F6FAB; border-top:none; margin: 0px 0px 1em 0px; padding: 0px 1em 0.8em 1em; background: #F9F9F9; line-height: 2.1ex; font-family: monospace; color: #000; overflow: auto; white-space: {{{space|auto}}};{{#if:{{{width|}}}|width: {{{width}}}|}}">{{#if:{{{1|}}}|{{{1}}}|Pre-formatted text<BR />looks like this.}}<!-- | <div style="border: 1px dashed #2F6FAB; border-top:none; margin: 0px 0px 1em 0px; padding: 0px 1em 0.8em 1em; background: #F9F9F9; line-height: 2.1ex; font-family: monospace; color: #000; overflow: auto; white-space: {{{space|auto}}};{{#if:{{{width|}}}|width: {{{width}}}|}}">{{#if:{{{1|}}}|{{{1}}}|Pre-formatted text<BR />looks like this.}}<!-- | ||
//-->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!-- | //-->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!-- | ||
Line 23: | Line 25: | ||
--> | --> | ||
{{pp-semi-protected| small=yes | reason=No need for such template to be anon-editable. }} | {{pp-semi-protected| small=yes | reason=No need for such template to be anon-editable. }} | ||
{{#ifeq:{{SUBPAGENAME}} | sandbox | {{#ifeq:{{SUBPAGENAME}}|sandbox||{{Template doc}} }} | ||
}} | |||
<!-- | <!-- | ||
MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS | MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS | ||
--> | --> | ||
</noinclude> | </noinclude> |