Template:User TV: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 1: Line 1:
{| class="userboxitem" style="border: 1px solid #ccccaa;" cellspacing="0" cellpadding="0"
{| class="userboxitem" style="border: 1px solid #ccccaa;" cellspacing="0" cellpadding="0"
! style="background: #FFFFFF;" | [[Image:Anime_stub.png|50px]]
! style="background: #{{{3|FFFFFF}}};" | [[Image:{{{2|Anime_stub.png}}}|50px]]
| style="background: #dcdcbb; color: #666633;" | This user's favorite TV show is '''[[wp:{{{1}}}|<span style="color: #442;">{{{1}}}</span>]]'''.
| style="background: #{{{4|dcdcbb}}}; color: #{{{5|666633}}};" | This user's favorite TV show is '''[[wp:{{{1}}}|<span style="color: #{{{6|442}}};">{{{1}}}</span>]]'''.
|}<noinclude>[[Category:Favorite tags]]</noinclude><noinclude>
|}<noinclude>[[Category:Favorite tags]]</noinclude><noinclude>
For this to work, on your page, type in:<br>
For this to work, on your page, type in:<br>
Line 16: Line 16:
And end up with this:<br>
And end up with this:<br>
{{User TV|Fraggle Rock}}
{{User TV|Fraggle Rock}}
Additionally, you can change the image and the template colors by adding a few more variables:<br>
<code><nowiki>
{{User TV|The Prison Break|Byron.jpg|ffffff|7f7f7f|000000|2f2f2f}}
</nowiki></code>
<br>
would yield<br>
{{User TV|The Prison Break|Byron.jpg|ffffff|7f7f7f|000000|2f2f2f}}
</noinclude>
</noinclude>
The color fields from left to right are image background color, text area background color, text color and link color.
7,546

edits