Difference between revisions of "Template:Userbox"
Jump to navigation
Jump to search
LordisMangis (talk | contribs) (Added an option to have a file on the right side and documented default parameter values.) |
LordisMangis (talk | contribs) (Aligned the text to the center to prevent the padding from breaking.) |
||
Line 2: | Line 2: | ||
{|cellspacing="0" style="width:{{{Box-w|238px}}};background:{{{Background|}}}" | {|cellspacing="0" style="width:{{{Box-w|238px}}};background:{{{Background|}}}" | ||
|style="font-size:0px" | [[File:{{{File|}}}|{{{File-s|45px}}}]] <noinclude>[[File:Generic_assistant.gif|45px]]</noinclude> | |style="font-size:0px" | [[File:{{{File|}}}|{{{File-s|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="text-align: center;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:0px" | [[File:{{{File2|}}}|{{{File2-s|45px}}}]] <noinclude>[[File:Generic_assistant.gif|45px]]</noinclude> | |style="font-size:0px" | [[File:{{{File2|}}}|{{{File2-s|45px}}}]] <noinclude>[[File:Generic_assistant.gif|45px]]</noinclude> | ||
|}</div> | |}</div> |
Revision as of 11:48, 21 January 2024
[[File:|45px]] File:Generic assistant.gif | This user loves default values | [[File:|45px]] File:Generic assistant.gif |
- 'Border' (optional): Settings for the border. Default: solid black
- 'Box-w' (optional): Specify the max width of the Userbox. Default: 238px
- 'Background' (optional): Background color of the Userbox. Default: white
- 'File' (optional): Full filename of the image to use on the left side of the Userbox. Default: Generic_assistant.gif
- 'File-s' (optional): Size of the image on the left side of the Userbox. Default: 45px
- 'Font' (optional): Font family for the text. Default: sans-serif
- 'Padding' (optional): Padding for the text. Default: 4pt
- 'Font-s' (optional): Size of the font. Default: 8pt
- 'Font-c' (optional): Font color. Default: black
- 'Text' (optional): All text inside the Userbox. Default: This user loves default values
- 'File2' (optional): Full filename of the image to use on the right size of the Userbox. Default: Generic_assistant.gif
- 'File2-s' (optional): Size of the image on the right side of the Userbox. Default: 45px