Template:Userbox Generic2: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
mNo edit summary
imported>Konoko
(move doc)
 
Line 5: Line 5:
| style="width: 45px; height: 45px; background: {{{background2|white}}}; text-align: {{{align2|center}}}; {{{css2}}}" | {{{3|[[Image:Power_Missing.png]]}}}
| style="width: 45px; height: 45px; background: {{{background2|white}}}; text-align: {{{align2|center}}}; {{{css2}}}" | {{{3|[[Image:Power_Missing.png]]}}}
|}</div><noinclude>
|}</div><noinclude>
{{clr}}
{{documentation}}
==Usage==
</noinclude>
Parameters
* first is the text displayed in the middle
* second is the image displayed on the left. (or straight text (like [[template:user time zone]]), but will have ''no text formatting'')
* third is the image displayed on the right. (or straight text)
* the rest are optional, float, border, width, color, background, align2, background2, css2 and css1
 
<nowiki>{{</nowiki><nowiki>Userbox Generic Two Icons|Stuff to display|[[Image:V badge TimeSpentBadge.png|40px]]|[[Image:V badge TourismBadge.png|40px]]}}</nowiki>
 
{{Userbox Generic2|Stuff to display|[[Image:V badge TimeSpentBadge.png|40px]]|[[Image:V badge TourismBadge.png|40px]]}}
[[Category:Userbox Templates|Generic2]]</noinclude>

Latest revision as of 22:43, 20 August 2010

Power Missing.png Empty Userbox. Power Missing.png
[edit] [purge] Documentation


Usage

{{Userbox Generic2|<Middle section>|<Left section>|<Right section>}}
{{Userbox Generic2|<Middle section>|<Left section>|<Right section>|<float, border, width, color, background, align2, background2, css2 and css1 (optional)>}}

Parameters

  • First is the text or information displayed in the center/middle.
  • Second is the image or information displayed on the left.
  • Second is the image or information displayed on the right.
  • The rest are optional, float, border, width, color, background, align2, background2, css2 and css1

Notes

  • Left and Right areas are 45px wide.
    • Traditionally, an image is displayed in these areas
  • Center section is for text and links

Examples

Input Result
{{Userbox Generic2|Badges are awesome|[[Image:V badge TimeSpentBadge.png|40px]]|[[Image:V badge TourismBadge.png|40px]]}}
V badge TimeSpentBadge.png Badges are awesome V badge TourismBadge.png
{{Userbox Generic2|I'm a [[Praetorian]]|{{AlignmentIcon|Loyalist}}|{{AlignmentIcon|Resistance}}}}
Align Status Loyalist.png I'm a Praetorian Align Status Resistance.png

See also

{{Userbox Generic}}