Template:Indentedpre: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> <ul> ::<table style="background:white;"><tr><td><source lang="text">{{{1}}} </source></td></tr></table></ul> </includeonly><noinclude> This template is used to c..." |
No edit summary |
||
Line 3: | Line 3: | ||
::<table style="background:white;"><tr><td><source lang="text">{{{1}}} | ::<table style="background:white;"><tr><td><source lang="text">{{{1}}} | ||
</source></td></tr></table></ul> | </source></td></tr></table></ul> | ||
<pre>{{{1}}} | |||
</pre> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This template is used to create a pre-styled display, but indented and not extending the colored box all of the way to the right margin. Example: | This template is used to create a pre-styled display, but indented and not extending the colored box all of the way to the right margin. Example: |
Revision as of 21:39, 15 January 2013
This template is used to create a pre-styled display, but indented and not extending the colored box all of the way to the right margin. Example:
{{indentedpre|This is some text}}
Which generates this result:
{{{1}}}
{{{1}}}
Compare to a regular pre:
<pre>This is some text</pre>
Which generates this style:
This is some text