Jump to content

Template:UserBox: Difference between revisions

From Detective Conan Wiki
Conanshinichi (talk | contribs)
No edit summary
Dark Blizzard (talk | contribs)
m Userbox was moved to UserBox
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="userboxitem" cellspacing="0" style="background: #{{{3|FFFFFF}}}; border-color: #{{{4|000000}}};"
<includeonly>{| class="userboxitem" cellspacing="0" style="background: #{{{background|FFFFFF}}}; border-color: #{{{border|000000}}};"
! [[File:{{{2}}}]]
! [[File:{{{1}}}|60px]]
| style="color: #000000;" |{{{1|Please Insert Your Text.}}}
| style="color: #{{{color|000000}}};" |{{{text|Custom text here.}}}
|}
|}</includeonly><noinclude>
<noinclude>  
Displays a customized user box.
Right, To make this first you must put <nowiki>{{UserBox}}</nowiki>


Then put in the First column , the text.
== Usage ==


The Second Column, The picture's File name
The following is a list of required or optional parameters for any of the boxes:
<pre>
{{UserBox|<image>
| text          =  Text to add
| background    =  Background color of the box
| border        =  Border color of the box
| color          =  Text color within the box
}}
</pre>


The Thrid Column the Background colour and the Fourth Column , The outline colour
Example:


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


So <nowiki>{{Userbox|This User Thinks [[Heiji]] is better than [[Shinichi]].|Heiji Hattori 60px.jpg|DF0101|000000}}</nowiki>
Which gives:


Becomes: {{Userbox|This User Thinks [[Heiji]] is better than [[Shinichi]].|Heiji Hattori 60px.jpg|DF0101}}
{{UserBox|Heiji Hattori 60px.jpg|text=This user thinks [[Heiji]] is better than [[Shinichi]].|background=DF8B8B|border=D03939}}
</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 10:53, 3 June 2020

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
}}

Example:

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

Which gives:

This user thinks Heiji is better than Shinichi.