Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Userbox: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Andrés
Protected "Template:Userbox": you fuck up this and you fuck up half user pages on ED ([edit=sysop] (indefinite) [move=sysop] (indefinite))
 
imported>Crossbow
No edit summary
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; {{{div-other-param|{{{div-op|}}}}}}">
{{#invoke:userbox|userbox}}<noinclude>
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
{{documentation}}
| style="width:45px; height:45px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}};" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}'''
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| style="text-align:left; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|4px}}}}}}; height:{{{logo-height|{{{id-h|45}}}}}}px; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; vertical-align: middle; {{{info-other-param|{{{info-op|}}}}}}" | {{{info|{{{4|''info''}}}}}}
|}</div><noinclude>
 
{{clear}}
 
 
Just a generic userbox template. This may also be appropriated for use in interwiki templates, etc.
 
== Arguments ==
The argument names, with their default values, if not supplied, from left to right.
* '''float''' defaults to "'''left'''"
* '''border-width''' defaults to '''border-s''' or "'''1'''". should be a number, "px" is added.
* '''border-color''' defaults to '''first unnamed argument''' or '''border-c''' or '''id-c''' or "'''#999'''"
* '''div-other-param''' final styling for the container div. defaults to '''div-op''' or empty
* '''info-background''' is the overall background color, defaults to '''second unnamed argument''' or '''info-c''' or "'''#EEE'''"
* '''logo-background''' is the "id" background, defaults to '''first unnamed argument''' or '''id-c''' or "'''#DDD'''"
* '''logo-size''' is "id" font size, defaults to '''fifth unnamed argument''' or '''id-s''' or "'''14'''". value should be a number, "pt" is added.
* '''logo-color''' is "id" color, defaults to '''id-fc''' or "'''black'''"
* '''logo''' the contents of the "id" box, defaults to '''third unnamed argument''' or '''id''' or "'''id'''"
* '''info-size''' is font size of info area, defaults to '''info-s''' or "'''8'''". should be a number, "pt" is added.
* '''info-padding''' defaults to '''info-p''' or "'''4px'''".
* '''logo-height''' height of the box, defaults to '''id-h''' or "'''45'''". should be a number, "px" is added.
* '''info-line-height''' defaults to '''info-lh''' or "'''1.25em'''"
* '''info-color''' defaults to '''info-color''' or '''info-fc''' or "'''black'''".
* '''info-other-param''' final styling, defaults to '''info-op''' or empty
* '''info''' is the text for the info area, defaults to '''fourth unnamed argument''' or "'''info'''"
 
== Example ==
 
<nowiki>{{userbox|red|blue|me|you|id-s=22|info-s=14|id-fc=white|info-fc=white}}</nowiki>
 
{{userbox|red|blue|me|you|id-s=22|info-s=14|id-fc=white|info-fc=white}}
 
[[Category:User Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<noinclude>[[Category:Userboxes|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:46, 3 April 2024

{{{info}}}
[create] Documentation icon Template documentation