Template:Userbox Generic: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(New page: <div style="float: left; border: solid #4169E1 1px; margin: 1px;"> {| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;" | style="width: 45px; height: 45px; backgro...)
 
imported>Konoko (historical)
(+parameters for formatting)
Line 1: Line 1:
<div style="float: left; border: solid #4169E1 1px; margin: 1px;">
<div style="float: {{{float|left}}}; border: {{{border|solid #4169E1 1px}}}; margin: 1px;">
{| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;"
{| cellspacing="0" style="width: {{{width|238px}}}; color: {{{color|#000000}}}; background: {{{background|#D3D3D3;}}}"
| style="width: 45px; height: 45px; background: white; text-align: center;" | {{{2|[[Image:Power_Missing.png]]}}}
| style="width: 45px; height: 45px; background: {{{background2|white}}}; text-align: {{{align2|center}}}; {{{css2}}}" | {{{2|[[Image:Power_Missing.png]]}}}
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | {{{1|Empty Userbox.}}}
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em; {{{css1}}}" | {{{1|Empty Userbox.}}}
|}</div><noinclude>
|}</div><noinclude>
{{clr}}
{{clr}}
==Usage==
==Usage==
Two parameters
Parameters
* first is the text displayed on the right
* first is the text displayed on the right
* second is the image displayed on the left. (or straight text  if you like [[Template:User time zone]], but will have no text formatting)
* second is the image displayed on the left. (or straight text  if you like [[Template:User time zone]], but will have no text formatting)
* the rest are optional, float, border, width, color, background, align2, background2, css2 and css1


'''<nowiki>{{Userbox Generic|Stuff to display|[[Image:ArcticMastery BlockOfIce.png]]}}</nowiki>'''{{Userbox Generic|Stuff to display|[[Image:ArcticMastery BlockOfIce.png]]}}
'''<nowiki>{{Userbox Generic|Stuff to display|[[Image:ArcticMastery BlockOfIce.png]]}}</nowiki>'''{{Userbox Generic|Stuff to display|[[Image:ArcticMastery BlockOfIce.png]]}}
[[Category:Userbox Templates]]</noinclude>
[[Category:Userbox Templates]]</noinclude>

Revision as of 20:35, 3 July 2007

Power Missing.png Empty Userbox.


Usage

Parameters

  • first is the text displayed on the right
  • second is the image displayed on the left. (or straight text if you like Template:User time zone, but will have no text formatting)
  • the rest are optional, float, border, width, color, background, align2, background2, css2 and css1

{{Userbox Generic|Stuff to display|[[Image:ArcticMastery BlockOfIce.png]]}}

ArcticMastery BlockOfIce.png Stuff to display