Difference between revisions of "Template:Userbox"

From Paradise Station Wiki
Jump to navigation Jump to search
(Allows for imageless Userboxes.)
(Added a "Padding" parameter to use for text-only Userboxes.)
Line 2: Line 2:
{|cellspacing="0" style="max-width:238px;background:{{{Background|}}}"  
{|cellspacing="0" style="max-width:238px;background:{{{Background|}}}"  
|style="font-size:0px" | [[File:{{{File|}}}|45px]] <noinclude>[[File:Generic_assistant.gif|45px]]</noinclude>
|style="font-size:0px" | [[File:{{{File|}}}|45px]] <noinclude>[[File:Generic_assistant.gif|45px]]</noinclude>
|style="font-size:{{{Font-s|8pt}}};font-family:{{{Font|sans-serif}}};padding:4pt;line-height:1.25em;color:{{{Font-c|black}}}" | {{{Text|This user loves default values.}}}
|style="font-size:{{{Font-s|8pt}}};font-family:{{{Font|sans-serif}}};padding:{{{Padding|4pt}}};line-height:1.25em;color:{{{Font-c|black}}}" | {{{Text|This user loves default values.}}}
|}</div>
|}</div>


Line 11: Line 11:
* ''''File'''' (optional): Full filename of the image to use inside the Userbox.
* ''''File'''' (optional): Full filename of the image to use inside the Userbox.
* ''''Font'''' (optional): Font family for the text.
* ''''Font'''' (optional): Font family for the text.
* ''''Padding'''' (optional): Padding for the text.
* ''''Font-s'''' (optional): Size of the font.
* ''''Font-s'''' (optional): Size of the font.
* ''''Font-c'''' (optional): Font color.
* ''''Font-c'''' (optional): Font color.

Revision as of 09:55, 21 January 2024

[[File:|45px]] File:Generic assistant.gif This user loves default values.




  • 'Border' (optional): Settings for the border.
  • 'Background' (optional): Background color of the Userbox.
  • 'File' (optional): Full filename of the image to use inside the Userbox.
  • 'Font' (optional): Font family for the text.
  • 'Padding' (optional): Padding for the text.
  • 'Font-s' (optional): Size of the font.
  • 'Font-c' (optional): Font color.
  • 'Text' (optional): All text inside the Userbox.