Difference between revisions of "Template:DE box"

From Lushootseed Wiki Dictionary
Jump to navigation Jump to search
 
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.  
This template creates a left-aligned box with a cream-colored background and a width that is 60% of the page.  


How to use this template:
Template format
 
&#123;&#123; DE box &#124; 1= &lt;nowiki/&gt;
desired text
&#125;&#125;


&#123;&#123; DE box &#124; 1= &lt;nowiki/&gt;<br>
desired text<br>
&#125;&#125;
<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 10:29, 17 February 2016

Template:lorem ipsum

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.