Template:Comment-box1

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
<div style="align: center; width: {{{width|auto}}}; background: {{{bg|#FFF7D2}}}; padding: 0 0 0 1em; margin: .5em {{{rmargin|1em}}} 1em {{{lmargin|1em}}}; border: {{{border|1px solid #777}}}">
 
<div style="align: center; width: {{{width|auto}}}; background: {{{bg|#FFF7D2}}}; padding: 0 0 0 1em; margin: .5em {{{rmargin|1em}}} 1em {{{lmargin|1em}}}; border: {{{border|1px solid #777}}}">
{{{text}}}
+
{{{label|{{{Comment:'''}}}{{{text}}}
 
</div>
 
</div>
  
Line 6: Line 6:
 
<br style="clear:both" />
 
<br style="clear:both" />
 
== Usage ==
 
== Usage ==
<nowiki>{{Comment-box1|width=setting(optional)|bg=color(optional)|rmargin=xx(optional)|lmargin=xx(optional)|border=xx(optional)text=Sample text...}}</nowiki>
+
<nowiki>{{Comment-box1|width=setting(optional)|bg=color(optional)|rmargin=xx(optional)|lmargin=xx(optional)|border=xx(optional)|text=Sample text...}}</nowiki>
 
== Samples ==
 
== Samples ==
<nowiki>{{Comment-box1|width=75%|bg=lightred|text=Here's some sample text.}}</nowiki> yields:
+
<nowiki>{{Comment-box1|width=75%|bg=lightgreen|text=Here's some sample text.}}</nowiki> yields:
{{Comment-box1|width=75%|bg=lightred|text=Here's some sample text.}}
+
{{Comment-box1|width=75%|bg=lightgreen|text=Here's some sample text.}}
 
<nowiki>{{Comment-box1|rmargin=200px|lmargin=75px|text=Here's some sample text.}}</nowiki> yields:
 
<nowiki>{{Comment-box1|rmargin=200px|lmargin=75px|text=Here's some sample text.}}</nowiki> yields:
 
{{Comment-box1|rmargin=200px|lmargin=75px|text=Here's some sample text.}}
 
{{Comment-box1|rmargin=200px|lmargin=75px|text=Here's some sample text.}}
<nowiki>{{Comment-box1|width=auto|border=5px dotted #3FDDE4|text=Here's some sample text.}}</nowiki> yields:
+
<nowiki>{{Comment-box1|width=auto|border=5px dotted #3FDDE4|text=Here's some sample text.|label=Recipe:}}</nowiki> yields:
{{Comment-box1|width=auto|border=5px dotted #3FDDE4|text=Here's some sample text.}}
+
{{Comment-box1|width=300px|border=5px dotted #3FDDE4|text=Here's some sample text.}}
<nowiki>{{Comment-box1|text=Here's some sample text.}}</nowiki> yields:
+
<nowiki>{{Comment-box1|bg=#DDF|text=Here's some sample text.}}</nowiki> yields:
{{Comment-box1|text=Here's some sample text.}}
+
{{Comment-box1|bg=#DDF|text=Here's some sample text.}}
 
</noinclude>
 
</noinclude>

Revision as of 12:10, 24 August 2006

{{{label|{{{Comment:}}}{{{text}}}



Usage

{{Comment-box1|width=setting(optional)|bg=color(optional)|rmargin=xx(optional)|lmargin=xx(optional)|border=xx(optional)|text=Sample text...}}

Samples

{{Comment-box1|width=75%|bg=lightgreen|text=Here's some sample text.}} yields:

Here's some sample text.

{{Comment-box1|rmargin=200px|lmargin=75px|text=Here's some sample text.}} yields:

Here's some sample text.

{{Comment-box1|width=auto|border=5px dotted #3FDDE4|text=Here's some sample text.|label=Recipe:}} yields:

Here's some sample text.

{{Comment-box1|bg=#DDF|text=Here's some sample text.}} yields:

Here's some sample text.

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox