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-r: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Japanimation New page: A reverse userbox is the exact opposite of the standard userbox |
imported>AdminBot m Removing Category:Templates from templates which already belong to other categories |
||
| (32 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="float: left; border: {{{border-s|1}}}px solid {{{1|{{{border-c|{{{id-c|#999999}}}}}}}}}; margin: 1px;"> |
|||
A reverse userbox is the exact opposite of the standard userbox |
|||
{| 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><br clear=all> |
|||
==Usage== |
|||
{| cellspacing="1" cellpadding="2" style="background: #99f; colour: #000;" |
|||
!style="background: #fff;"|Code |
|||
!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> |
|||
''or'' <tt><nowiki>{{Userbox |side-box colour |main box colour |side-box content |main box content}}</nowiki></tt> |
|||
|style="background: #fff;"|{{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}} |
|||
|- |
|||
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Reverse box |
|||
|- |
|||
|style="background: #fff;"|<tt><nowiki>{{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}}</nowiki></tt> |
|||
''or'' <tt><nowiki>{{Userbox-r |side-box colour |main box colour |side-box content |main box content}}</nowiki></tt> |
|||
|style="background: #fff;"|{{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}} |
|||
|- |
|||
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Double box |
|||
|- |
|||
|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>{{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.'' |
|||
|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 |
|||
|- |
|||
|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>{{M-Userbox |box colour |box content}}</nowiki></tt> |
|||
|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|Userbox]] |
|||
*[[Template:D-Userbox|Double Userbox]] |
|||
*[[Template:M-Userbox|Mini Userbox]] |
|||
[[Category:Userbox templates| Userbox-r]]</noinclude> |
|||
Latest revision as of 22:46, 12 November 2007
| info | id |
Usage
| 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}} |
| |||
| 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}} |
| |||
| 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}}
|
| |||
| 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}} |
| |||