Jump to content

Template:UserBox: Difference between revisions

From Detective Conan Wiki
mNo edit summary
Conanshinichi (talk | contribs)
No edit summary
Line 1: Line 1:
{| class="userboxitem" cellspacing="0" style="background: #{{{background|FFFFFF}}}; border-color: #{{{border|000000}}};"
{| class="userboxitem" cellspacing="0" style="background: #{{{background|FFFFFF}}}; border-color: #{{{border|000000}}};"
! [[File:{{{1}}}]]
! [[File:{{{1}}}|{{{px}}}px]]
| style="color: #{{{color|000000}}};" |{{{text|Custom text here.}}}
| style="color: #{{{color|000000}}};" |{{{text|Custom text here.}}}
|}<noinclude>
|}<noinclude>
Line 14: Line 14:
| border        =  Border color of the box
| border        =  Border color of the box
| color          =  Text color within the box
| color          =  Text color within the box
| px            =  Size of the picture.
}}
}}
</pre>
</pre>
Line 19: Line 20:
Example:
Example:


* <nowiki>{{Userbox|Heiji Hattori 60px.jpg|text=This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF8B8B|border=D03939}}</nowiki>
* <nowiki>{{Userbox|Heiji Hattori 60px.jpg|text=This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF8B8B|border=D03939|px=80}}</nowiki>


Which gives:
Which gives:


{{Userbox|Heiji Hattori 60px.jpg|text=This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF8B8B|border=D03939}}
{{Userbox|Heiji Hattori 60px.jpg|text=This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF8B8B|border=D03939|px=80}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 17:12, 31 May 2011

[[File:{{{1}}}|{{{px}}}px]] Custom text here.

Displays a customized user box.

Usage

The following is a list of required or optional parameters for any of the boxes:

{{UserBox|<image>
| text           =  Text to add
| background     =  Background color of the box
| border         =  Border color of the box
| color          =  Text color within the box
| px             =  Size of the picture.
}}

Example:

  • {{Userbox|Heiji Hattori 60px.jpg|text=This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF8B8B|border=D03939|px=80}}

Which gives:

Template:Userbox