Difference between revisions of "Template:Userbox"

From Paradise Station Wiki
Jump to navigation Jump to search
(Added a "Padding" parameter to use for text-only Userboxes.)
(Added a "Max-w" parameter for better customization.)
Line 1: Line 1:
<div style="float:left;border:{{{Border|solid black}}};margin:1px">
<div style="float:left;border:{{{Border|solid black}}};margin:1px">
{|cellspacing="0" style="max-width:238px;background:{{{Background|}}}"  
{|cellspacing="0" style="max-width:{{{Box-w|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:{{{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.}}}
Line 8: Line 8:
<br><br>
<br><br>
* ''''Border'''' (optional): Settings for the border.
* ''''Border'''' (optional): Settings for the border.
* ''''Max-w'''' (optional): Specify the max width of the Userbox.
* ''''Background'''' (optional): Background color of the Userbox.
* ''''Background'''' (optional): Background color of the Userbox.
* ''''File'''' (optional): Full filename of the image to use inside the Userbox.
* ''''File'''' (optional): Full filename of the image to use inside the Userbox.

Revision as of 11:25, 21 January 2024

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




  • 'Border' (optional): Settings for the border.
  • 'Max-w' (optional): Specify the max width of the Userbox.
  • '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.