Template:Pre2/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Unused0029 m change ambox content - this a work in progress |
meta>Unused0029 update content and trim |
||
Line 4: | Line 4: | ||
{{ambox|type=notice|text=This is a work in progress --[[User:Drum guy|Drum guy]] ([[User talk:Drum guy|talk]])}} | {{ambox|type=notice|text=This is a work in progress --[[User:Drum guy|Drum guy]] ([[User talk:Drum guy|talk]])}} | ||
This template uses [[HTML element#Other containers|<nowiki><pre></nowiki>]] tags, but with text that is either [[word wrap|wrapped]] or is contained in a horizontal scrollbox. This means the text will not stretch past the right side of the screen. | |||
This template | |||
==Usage== | ==Usage== | ||
===Wrapped text=== | |||
{{ | <nowiki>{{Pre2|Text to be displayed. And more and more and more...}}</nowiki> | ||
:produces: | :produces: | ||
{{Pre2|Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.}} | {{Pre2|Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.}} | ||
== | ===Scrollbox=== | ||
<nowiki>{{Pre2|type=scroll|Text to be displayed. And more and more and more...}}</nowiki> | |||
:produces: | |||
{{Pre2|type=scroll|Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.}} | |||
==See also== | ==See also== | ||
* {{tl|pre}} | * {{tl|pre}}, which mimics <nowiki><pre></nowiki> tags as rendered with the monobook Wikipedia skin. | ||
* [[HTML element#Other containers|<nowiki><pre>…</pre></nowiki>]] | * [[HTML element#Other containers|<nowiki><pre>…</pre></nowiki>]] | ||
* [[Word wrap]]ping | * [[Word wrap]]ping |
Revision as of 22:14, 13 June 2008
This is a documentation subpage for Template:Pre2. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses <pre> tags, but with text that is either wrapped or is contained in a horizontal scrollbox. This means the text will not stretch past the right side of the screen.
Usage
Wrapped text
{{Pre2|Text to be displayed. And more and more and more...}}
- produces:
Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.
Scrollbox
{{Pre2|type=scroll|Text to be displayed. And more and more and more...}}
- produces:
Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.
See also
- {{pre}}, which mimics <pre> tags as rendered with the monobook Wikipedia skin.
- <pre>…</pre>
- Word wrapping