This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Userbox: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Japanimation
No edit summary
imported>AdminBot
m Removing Category:Templates from templates which already belong to other categories
 
(29 intermediate revisions by 4 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 class="infobox" style="float:{{{float|right}}}; border:{{{border-width|{{{border-s|0.25}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:0.25px;">
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
{| cellspacing="0" style="width:250px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
| 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}}}}}}; padding:{{{logo-padding|{{{id-p|1pt}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; {{{logo-other-param|{{{id-op}}}}}}" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}'''
| 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}}}}}}; padding:{{{logo-padding|{{{id-p|1pt}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; {{{logo-other-param|{{{id-op}}}}}}" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}'''
| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|4pt}}}}}}; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; {{{info-other-param|{{{info-op}}}}}}" | {{{info|{{{4|{{{info|''info''}}}}}}}}}
| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|4pt}}}}}}; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; {{{info-other-param|{{{info-op}}}}}}" | {{{info|{{{4|{{{info|''info''}}}}}}}}}
Line 6: Line 6:
<br clear=all>
<br clear=all>


<div style="float: left; border: {{{border-s|1}}}px solid {{{1|{{{border-c|{{{id-c|#999999}}}}}}}}}; margin: 1px;">
{| cellspacing="0" style="width: 238px; background: {{{2|{{{info-c|#eeeeee}}}}}};"
| style="font-size: {{{info-s|8}}}pt; text-align: {{{info-align|left}}}; padding: 4pt; line-height: 1.25em; color: {{{info-fc|black}}};" | {{{4|{{{info|''info''}}}}}}
| style="width: 45px; height: 45px; background: {{{1|{{{id-c|#dddddd}}}}}}; text-align: center; font-size: {{{5|{{{id-s|14}}}}}}pt;" | '''{{{3|{{{id|id}}}}}}'''
|}</div><noinclude>[[Category:Userbox templates| Userbox-r]]</noinclude>
<br clear=all>
==Usage==
==Usage==
Userboxes, in essence, are primarily used for visually describing a user. They can define just about anything, from personality to favorite food.
Userboxes, in essence, are primarily used for visually describing a user. They can define just about anything, from personality to favorite food.


This is the standard template for userboxes.
These are the standard templates for userboxes.


{| cellspacing="1" cellpadding="2" style="background: #99f; colour: #000;"
{| cellspacing="1" cellpadding="2" style="background: #99f; colour: #000;"
!style="background: #fff;"|Code
!style="background: #fff;"|Code
!style="background: #fff;"|Appearance
!style="background: #fff;"|Appearance
|-
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Standard box
|-
|-
|style="background: #fff;"|<tt><nowiki>{{Userbox |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |info-c=#039 |info-s=8 |info-fc=#fff |id=ID |info=Content}}</nowiki></tt>
|style="background: #fff;"|<tt><nowiki>{{Userbox |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |info-c=#039 |info-s=8 |info-fc=#fff |id=ID |info=Content}}</nowiki></tt>
Line 33: Line 29:
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Double box
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Double box
|-
|-
|style="background: #fff;"|<tt><nowiki>{{Userbox-2 |border-c=#000 |border-s=1 |id1-c=#fff |id1-s=12 |id1-fc=#000 |id2-c=#000 |id2-s=12 |id2-fc=#fff |info-c=#039 |info-s=8 |info-fc=#fff |id1=ID 1 |id2=ID 2 |info=Content}}</nowiki></tt>
|style="background: #fff;"|<tt><nowiki>{{D-Userbox |border-c=#000 |border-s=1 |id1-c=#fff |id1-s=12 |id1-fc=#000 |id2-c=#000 |id2-s=12 |id2-fc=#fff |info-c=#039 |info-s=8 |info-fc=#fff |id1=ID 1 |id2=ID 2 |info=Content}}</nowiki></tt>
''or'' <tt><nowiki>{{Userbox-2 |side-box 1 colour |main box colour |side-box 1 content |message |side-box 2 content |border colour |side-box 2 colour |main box font-colour |box border thickness}}</nowiki></tt>
''or'' <tt><nowiki>{{D-Userbox |side-box 1 colour |main box colour |side-box 1 content |message |side-box 2 content |border colour |side-box 2 colour |main box font-colour |box border thickness}}</nowiki></tt>
<br/>'''''Note''': If omitted, border colour and side-box 2 colour default to the same colour as side-box 1, and font colour is black. Default border thickness is 1.''
<br/>'''''Note''': If omitted, border colour and side-box 2 colour default to the same colour as side-box 1, and font colour is black. Default border thickness is 1.''
|style="background: #fff;"|{{Userbox-2 |border-c=#000 |border-s=1 |id1-c=#fff |id1-s=12 |id1-fc=#000 |id2-c=#000 |id2-s=12 |id2-fc=#fff |info-c=#039 |info-s=8 |info-fc=#fff |id1=ID 1 |id2=ID 2 |info=Content}}
|style="background: #fff;"|{{D-Userbox |border-c=#000 |border-s=1 |id1-c=#fff |id1-s=12 |id1-fc=#000 |id2-c=#000 |id2-s=12 |id2-fc=#fff |info-c=#039 |info-s=8 |info-fc=#fff |id1=ID 1 |id2=ID 2 |info=Content}}
|-
|-
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Mini box
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Mini box
|-
|-
|style="background: #fff;"|<tt><nowiki>{{Userbox-m |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |id=ID}}</nowiki></tt>
|style="background: #fff;"|<tt><nowiki>{{M-Userbox |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |id=ID}}</nowiki></tt>
''or'' <tt><nowiki>{{Userbox-m |box colour |box content}}</nowiki></tt>
''or'' <tt><nowiki>{{M-Userbox |box colour |box content}}</nowiki></tt>
|style="background: #fff;"|{{Userbox-m |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |id=ID}}
|style="background: #fff;"|{{M-Userbox |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |id=ID}}
|}
|}

== See Also ==
*[[Template:Userbox-r|Reverse Userbox]]
*[[Template:D-Userbox|Double Userbox]]
*[[Template:M-Userbox|Mini Userbox]]
=== Userbox Gallery ===
*''[[Template:Userbox/Nationalities]], for showing the country from which you hail.''


[[Category:Userbox templates|Userbox]]</noinclude>
[[Category:Userbox templates|Userbox]]</noinclude>

Latest revision as of 22:46, 12 November 2007

id info


Usage

Userboxes, in essence, are primarily used for visually describing a user. They can define just about anything, from personality to favorite food.

These are the standard templates for userboxes.

Code Appearance
Standard box
{{Userbox |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |info-c=#039 |info-s=8 |info-fc=#fff |id=ID |info=Content}}

or {{Userbox |side-box colour |main box colour |side-box content |main box content}}

ID Content
Reverse box
{{Userbox-r |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |info-c=#039 |info-s=8 |info-fc=#fff |id=ID |info=Content}}

or {{Userbox-r |side-box colour |main box colour |side-box content |main box content}}

Content ID
Double box
{{D-Userbox |border-c=#000 |border-s=1 |id1-c=#fff |id1-s=12 |id1-fc=#000 |id2-c=#000 |id2-s=12 |id2-fc=#fff |info-c=#039 |info-s=8 |info-fc=#fff |id1=ID 1 |id2=ID 2 |info=Content}}

or {{D-Userbox |side-box 1 colour |main box colour |side-box 1 content |message |side-box 2 content |border colour |side-box 2 colour |main box font-colour |box border thickness}}
Note: If omitted, border colour and side-box 2 colour default to the same colour as side-box 1, and font colour is black. Default border thickness is 1.

ID 1 Content ID 2
Mini box
{{M-Userbox |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |id=ID}}

or {{M-Userbox |box colour |box content}}

ID

See Also

Userbox Gallery