Template:Pre: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Alfakim
(adjust)
m (36 revisions imported: importing hlist)
 
(28 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; line-height: 2.1ex; font-family: Courier New, Courier, Arial Sans Unicode, Arial; color: #000; overflow: auto; white-space: {{{space|auto}}}">{{{1|}}}</div><noinclude>
<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}}}}}<!--
This template is an alternative to <code><nowiki><pre></pre></nowiki></code> tags. The difference is that it allows line-breaks and dissallows the text to overflow the page.
-->{{#if:{{{4|}}}|{{!}}{{{4}}}}}<!--
 
-->{{#if:{{{5|}}}|{{!}}{{{5}}}}}<!--
Due to limitations, if the parameter contains any HTML or other Wikimarkup, it will be rendered as such. Thus if a parameter might contain any Wikitext, enclose it manually in <code><nowiki><nowiki></nowiki></nowiki></code> tags.
-->{{#if:{{{6|}}}|{{!}}{{{6}}}}}<!--
 
-->{{#if:{{{7|}}}|{{!}}{{{7}}}}}<!--
See the [[Template talk:Pre|Talk page]] for examples of use and further information.
-->{{#if:{{{8|}}}|{{!}}{{{8}}}}}<!--
 
-->{{#if:{{{9|}}}|{{!}}{{{9}}}}}<!--
[[Category:Wikipedia special effects templates|Pre]]</noinclude>
-->{{#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