Difference between revisions of "Template:Userbox"

m
m
Line 1: Line 1:
{| class="uoguidetable" style="float:{{{float|left}}}; margin:1px; width:240px;"
+
<noinclude>{{Template Overview
! style="font-size:19px; height:{{{logo-height|50}}}px; padding:0px; text-align:center; vertical-align:middle; width:{{{logo-width|50}}}px;" | {{{logo|{{{3|{{{id|id}}}}}}}}}
+
|usedon=userbox template
| style="font-size:11px; padding:4px; text-align:left;" | {{{info|{{{4|{{{info|''info''}}}}}}}}}
+
|purpose=create various information boxes that can be used to display various personal facts on user pages
|}<noinclude>{{Clear}}
+
|template=<nowiki>{{Userbox
==Documentation==
+
|float=
See http://en.wikipedia.org/wiki/Template:Userbox for documentation
+
|id=
 
+
|info=
[[Category:Information Templates|{{PAGENAME}}]]</noinclude>
+
}}
 +
</nowiki>
 +
|display=yes
 +
}}
 +
{{Template Parameter
 +
|name=float
 +
|takes=a string
 +
|denotes=to which side of the screen to float the userbox
 +
|generates=the float property in the userbox's style code
 +
|validvalues="left," "right," or "none"
 +
}}
 +
{{Template Parameter
 +
|name=id
 +
|takes=a string
 +
|denotes=a word or picture to display as the focal point of the userbox
 +
|generates=the left cell in the userbox
 +
|validvalues=Any string or any string denoting a valid image on UOGuide.
 +
}}
 +
{{Template Parameter
 +
|name=info
 +
|takes=a string or strings
 +
|denotes=a description of the personal fact that the userbox is meant to convey
 +
|generates=the text in the right cell in the userbox
 +
|validvalues=Any string or strings.
 +
}}
 +
[[Category:Information Templates|{{PAGENAME}}]]</noinclude><includeonly>{| class="uoguidetable" style="float:{{{float|left}}}; margin:1px; width:240px;"
 +
! style="font-size:19px; height:50px; padding:0px; text-align:center; vertical-align:middle; width:50px;" | {{{id|{{{1|{{{id|id}}}}}}}}}
 +
| style="font-size:11px; padding:4px; text-align:left;" | {{{info|{{{2|{{{info|''info''}}}}}}}}}
 +
|}</includeonly>

Revision as of 08:30, 11 December 2009

Template:Userbox is designed for use on userbox template pages to create various information boxes that can be used to display various personal facts on user pages.

Template

{{Userbox
|float=
|id=
|info=
}}

Display

id info

Parameters

[[Category:{{{category}}} Templates|Userbox]]

float

  • Usage: Optional
  • Description: The float parameter takes a string denoting to which side of the screen to float the userbox. This is used to generate the float property in the userbox's style code.
  • Valid Value(s): "left," "right," or "none"

id

  • Usage: Optional
  • Description: The id parameter takes a string denoting a word or picture to display as the focal point of the userbox. This is used to generate the left cell in the userbox.
  • Valid Value(s): Any string or any string denoting a valid image on UOGuide.

info

  • Usage: Optional
  • Description: The info parameter takes a string or strings denoting a description of the personal fact that the userbox is meant to convey. This is used to generate the text in the right cell in the userbox.
  • Valid Value(s): Any string or strings.