Difference between revisions of "Template:DE box"
Jump to navigation
Jump to search
Ben Barrett (talk | contribs) |
Ben Barrett (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div {{#if:{{{class|}}}|class="{{{class}}}}}" style="padding- | <div {{#if:{{{class|}}}|class="{{{class}}}}}" style="padding-top: 5px; padding-bottom: 5px; border: 1px solid #aaa; background-color: #FFFDD0; width: 60%; overflow: hidden; {{#if:{{{style|}}}|{{{style}}}}}">{{{1|{{{text|{{{quote|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given to indent (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}</div><noinclude> | ||
This template creates a left-aligned box with a cream-colored background and a width that is 60% of the page. | |||
Template format | |||
{{ DE box | 1= <nowiki/><br> | |||
desired text<br> | |||
}} | |||
<br> | |||
The nowiki/ tag can be deleted if the text to be displayed is entered on the first line. | |||
</noinclude> | </noinclude> |
Latest revision as of 09:29, 17 February 2016
This template creates a left-aligned box with a cream-colored background and a width that is 60% of the page.
Template format
{{ DE box | 1= <nowiki/>
desired text
}}
The nowiki/ tag can be deleted if the text to be displayed is entered on the first line.