Difference between revisions of "Template:Txtbox"

From PC-BSD Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{|align="center" cellspacing="0" cellpadding="2" style="border:none; width:98%; border-collapse: collapse;"
 
{|align="center" cellspacing="0" cellpadding="2" style="border:none; width:98%; border-collapse: collapse;"
 
|style=" border: #aaaaaa dashed 1px; text-align:left; padding-left: .7em; padding-right: .4em; padding-top: .4em; padding-bottom: .4em;"|
 
|style=" border: #aaaaaa dashed 1px; text-align:left; padding-left: .7em; padding-right: .4em; padding-top: .4em; padding-bottom: .4em;"|
|style="border:none; text-align:left; width:{{{width|60%}}}|
 
|-
 
|align="left" style=" padding-right: 5px;" colspan="3"|
 
|
 
 
{{{box|error}}}
 
{{{box|error}}}
|                                             <!-- I could test for xterm being assigned, and if not, default to 1 & 2, and no title bar -->
+
|
<!--                                                but that is a concept for another day, another battle of wits against wiki markup!  -->
+
 
|style="border:none; text-align:left; width:{{{width|60%}}}"|
 
|style="border:none; text-align:left; width:{{{width|60%}}}"|
 
{{{1|}}}
 
{{{1|}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 +
{|align="center" cellspacing="0" cellpadding="1" style="border:none; width:98%; border-collapse: collapse;"
 +
|style=" border: #aaaaaa dashed 1px; text-align:left; padding-left: .7em; padding-right: .4em; padding-top: .4em; padding-bottom: .4em;"|
 +
A much improved variation of that above 'standard' also encloses the text within a similar box. Even though the text is a short paragraph of four sentences in length, it does not have the same flaw as before. The text is neatly contained within the dashed lines of the box, and also does not require the initial space character at the start of the first sentence. If that character were included, it would display with two nested boxes.
 +
|style="border:none; text-align:left; width:60%"|
 +
|}</noinclude>

Revision as of 20:05, 1 November 2012

A much improved variation of that above 'standard' also encloses the text within a similar box. Even though the text is a short paragraph of four sentences in length, it does not have the same flaw as before. The text is neatly contained within the dashed lines of the box, and also does not require the initial space character at the start of the first sentence. If that character were included, it would display with two nested boxes.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox