Difference between revisions of "Template:UserBox"
From Detective Conan Wiki
| Line 1: | Line 1: | ||
| − | {| class="userboxitem" cellspacing="0" style="background: #{{{ | + | {| class="userboxitem" cellspacing="0" style="background: #{{{background|FFFFFF}}}; border-color: #{{{border|000000}}};" |
| − | ! [[File:{{{ | + | ! [[File:{{{1}}}]] |
| − | | style="color: #000000;" |{{{ | + | | style="color: #{{{color|000000}}};" |{{{2|Custom text here.}}} |
| − | |} | + | |}<noinclude> |
| − | <noinclude> | + | Displays a customized user box. |
| − | |||
| − | + | == Usage == | |
| − | The | + | The following is a list of required or optional parameters for any of the boxes: |
| + | <pre> | ||
| + | {{UserBox|<image>|<text> | ||
| + | | background = Background color of the box | ||
| + | | border = Border color of the box | ||
| + | | color = Text color within the box | ||
| + | }} | ||
| + | </pre> | ||
| − | + | Example: | |
| + | * <nowiki>{{Userbox|Heiji Hattori 60px.jpg|This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF0101|border=000000}}</nowiki> | ||
| − | + | Which gives: | |
| − | + | {{Userbox|Heiji Hattori 60px.jpg|This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF0101|border=000000}} | |
| − | </noinclude> | + | |
| + | [[Category:Templates]]</noinclude> | ||
Revision as of 14:48, 31 May 2011
| [[File:{{{1}}}]] | 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>
| background = Background color of the box
| border = Border color of the box
| color = Text color within the box
}}
Example:
- {{Userbox|Heiji Hattori 60px.jpg|This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF0101|border=000000}}
Which gives: