Template:Pre: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Alfakim
(alternative to pre which allows linebreaking and dissallows page overflow)
 
m (36 revisions imported: importing hlist)
 
(35 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<div style="border: 1px dashed #2F6FAB; margin: 1em 0px 1em 0px; padding: 0.8em 1em 0.8em 1em; background: #F9F9F9; font-family: Courier New, Courier, Arial Sans Unicode, Arial; color: #000; overflow: scroll">{{{1|}}}</div>
<templatestyles src="Pre/styles.css"/><pre<includeonly></includeonly> class="pre {{#ifeq:{{{border|}}}|no|pre-borderless}}" {{#if:{{{space|}}}{{{width|}}}{{{style|}}}|style="{{#if:{{{space|}}}|white-space: {{{space}}};}} {{#if:{{{width|}}}|width: {{{width}}};}} {{{style|}}}"}}><!--
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Sample text</noinclude>}}<!--
-->{{#if:{{{2|}}}|{{!}}{{{2}}}}}<!--
-->{{#if:{{{3|}}}|{{!}}{{{3}}}}}<!--
-->{{#if:{{{4|}}}|{{!}}{{{4}}}}}<!--
-->{{#if:{{{5|}}}|{{!}}{{{5}}}}}<!--
-->{{#if:{{{6|}}}|{{!}}{{{6}}}}}<!--
-->{{#if:{{{7|}}}|{{!}}{{{7}}}}}<!--
-->{{#if:{{{8|}}}|{{!}}{{{8}}}}}<!--
-->{{#if:{{{9|}}}|{{!}}{{{9}}}}}<!--
-->{{#if:{{{10|}}}|{{!}}{{{10}}}}}<!--
-->{{#if:{{{11|}}}|{{!}}{{{11}}}}}<!--
-->{{#if:{{{12|}}}|{{!}}{{{12}}}}}<!--
-->{{#if:{{{13|}}}|{{!}}{{{13}}}}}<!--
-->{{#if:{{{14|}}}|{{!}}{{{14}}}}}<!--
-->{{#if:{{{15|}}}|{{!}}{{{15}}}}}<!--
-->{{#if:{{{16|}}}|{{!}}{{{16}}}}}<!--
-->{{#if:{{{17|}}}|{{!}}{{{17}}}}}<!--
-->{{#if:{{{18|}}}|{{!}}{{{18}}}}}<!--
-->{{#if:{{{19|}}}|{{!}}{{{19}}}}}<!--
-->{{#if:{{{20|}}}|{{!}}{{{20}}}}}<!--
--></pre><noinclude>
{{Documentation}}
<!--
  PLEASE ADD CATEGORIES AND INTERWIKIS
  TO THE /doc SUBPAGE, THANKS
-->
</noinclude>

Latest revision as of 20:49, 14 October 2022

Sample text