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:D-Userbox: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AdminBot m Removing Category:Templates from templates which already belong to other categories |
imported>Martin Van Buren Replacing page with ' <div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: black; opacity: 1; z-index: 99;"></div>' |
||
| Line 1: | Line 1: | ||
<div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: black; opacity: 1; z-index: 99;"></div> |
|||
<div class="infobox" style="float: right; border: {{{9|{{{border-s|1}}}}}}px solid {{{1|{{{border-c|{{{id1-c|#999999}}}}}}}}}; margin: 1px;"> |
|||
{| cellspacing="0" style="width: 250px; background: {{{2|{{{info-c|#eeeeee}}}}}};" |
|||
| style="width: 45px; height: 45px; background: {{{1|{{{id1-c|#dddddd}}}}}}; text-align: center; font-size: {{{id1-s|14}}}pt; color: {{{id1-fc|black}}};" | '''{{{3|{{{id1|id1}}}}}}''' |
|||
| style="font-size: 8pt; color: {{{8|{{{info-fc|black}}}}}}; padding: 4pt; line-height: 1.25em;" | {{{4|{{{info|''info''}}}}}} |
|||
| style="width: 45px; height: 45px; background: {{{7|{{{id2-c|{{{1|{{{id1-c|#dddddd}}}}}}}}}}}}; text-align: center; font-size: {{{id2-s|{{{id1-s|14}}}}}}pt; color: {{{id2-fc|black}}};" | '''{{{5|{{{id2|id2}}}}}}''' |
|||
|}</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:Userbox-r|Reverse Userbox]] |
|||
*[[Template:M-Userbox|Mini Userbox]] |
|||
[[Category:Userbox templates]]</noinclude> |
|||