Welcome to the Command & Conquer Wiki! Log in and join the community.

Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Template:UserBox

From Command & Conquer Wiki
Jump to: navigation, search

Usage[edit source]

{{UserBox
|bordcol=
|logobg=
|logocol=
|logotxt=
|logoimg=
|logowidth=
|logoheight=
|msgbg=
|msgcol=
|msgtxt=
}}

Optional Fields[edit source]

The following are usage instructions for the optional fields.

  • bordcol
    • Manually sets the border color.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • logobg
    • Manually sets the background color of the logo image or text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • logocol
    • Manually sets the color of the logo text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • logotxt
    • The logo text. If logoimg is set, logotxt will not be used.
  • logoimg
    • The name of the logo image to be used.
    • Do not include namespace, size, or caption.
    • Overrides logotxt.
  • logowidth
    • The original width of logoimg in pixels.
  • logoheight
    • The original height of logoimg in pixels.
  • msgbg
    • Manually sets the background color of the message text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • msgcol
    • Manually sets the color of the message text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • msgtxt
    • The message text.

Example[edit source]

Text[edit source]

{{UserBox
|bordcol=red
|logobg=purple
|logocol=yellow
|logotxt=Junk
|logoimg=
|logowidth=
|logoheight=
|msgbg=brown
|msgcol=blue
|msgtxt=Claims without proof.
}}

Junk

Claims without proof.

[edit source]

{{UserBox
|bordcol=red
|logobg=purple
|logocol=yellow
|logotxt=
|logoimg=Wiki.png
|logowidth=132
|logoheight=132
|msgbg=brown
|msgcol=blue
|msgtxt=Hard to read.
}}

Wiki.png

Hard to read.