Difference between revisions of "Template:DE box"
Jump to navigation
Jump to search
Ben Barrett (talk | contribs) |
Ben Barrett (talk | contribs) |
||
Line 1: | Line 1: | ||
<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> | <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 width that is 60% of the page. | |||
How to use this template: | |||
{{ DE box | 1= <nowiki/> | |||
desired text | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 09:26, 17 February 2016
This template creates a left-aligned box with a width that is 60% of the page.
How to use this template:
{{ DE box | 1= <nowiki/> desired text }}