Difference between revisions of "Template:UB Fav Villager"

From Nookipedia, the Animal Crossing wiki
Line 1: Line 1:
{{Userbox
+
{{userbox
|id      = {{{2|[[Image:Villagersinac.jpg|85px]]}}}
+
| border-c = {{{3|#008000}}}
|id-c    = #aaffaa
+
| id      = {{{2|[[Image:Villagersinac.jpg|60px]]}}}
|id-fc    = black
+
| id-c    = {{{4|#008000}}}
|id-s    = 12
+
| info    = This user's favorite villager is '''{{{1}}}'''.
|info    = This user's favorite villager is '''{{{1}}}'''.
+
| info-c  = {{{5|#aaffaa}}}
|info-op  = text-align:center;
+
| info-fc  = {{{6|#008000}}}
|info-c  = #aaffaa
+
}}<noinclude>
|info-fc  = black
+
{{clr}}
|info-s  = 8
+
 
|border-c = #008000
+
==Usage==
|border-s = 1
+
===Base===
 +
<pre>{{UB Fav Villager|<Name>}}</pre>
 +
 
 +
'''''Note:''' the first field must be filled out in order for the userbox to display properly.''
 +
 
 +
Replace ''<Villager>'' with the name of your favorite villager in the ''Animal Crossing'' series.
 +
 
 +
===Customization===
 +
The image displayed in this userbox may be customized:
 +
<pre>{{UB Fav Villager|<Name>|<Image>}}</pre>
 +
Replace ''<Image>'' with the desired image code.
 +
 
 +
Additionally, the colors of this userbox may be customized:
 +
<pre>{{UB Fav Villager|<Name>|<Image>|<border>|<imagebg>|<textbg>|<text>}}</pre>
 +
Replace the appropriate fields with the desired color. If you don't want to change one of the colors, use its default, which is listed below next to the field.
 +
 
 +
*'''border''' (#008000)- the border around the userbox
 +
*'''imagebg''' (#008000) - the color behind the image in the left box
 +
*'''textbg''' (#aaffaa)- the color behind the text
 +
*'''text''' (#008000)- the color of the text
 +
 
 +
===Example===
 +
{{UBDisplay
 +
|box={{UB Fav Villager|Drift}}
 +
|use=<nowiki>{{UB Fav Villager|Drift}}</nowiki>
 
}}
 
}}
<noinclude>[[Category:Userboxes]]</noinclude>
+
{{UBDisplay
 +
|box={{UB Fav Villager|Claude|[[File:Claude.png|25px]]}}
 +
|use=<nowiki>{{UB Fav Villager|Claude|[[File:Claude.png|25px]]}}</nowiki>
 +
}}
 +
{{UBDisplay
 +
|box={{UB Fav Villager|Pango|[[File:Pango NL.png|44px]]|#000080|#323299|#4c4ca6|#ffffff}}
 +
|use=<nowiki>{{UB Fav Villager|Pango|[[File:Pango NL.png|44px]]|#000080|#323299|#4c4ca6|#ffffff}}</nowiki>
 +
}}
 +
[[Category:Userboxes]]</noinclude>

Revision as of 15:51, August 5, 2014

60px This user's favorite villager is {{{1}}}.

Usage

Base

{{UB Fav Villager|<Name>}}

Note: the first field must be filled out in order for the userbox to display properly.

Replace <Villager> with the name of your favorite villager in the Animal Crossing series.

Customization

The image displayed in this userbox may be customized:

{{UB Fav Villager|<Name>|<Image>}}

Replace <Image> with the desired image code.

Additionally, the colors of this userbox may be customized:

{{UB Fav Villager|<Name>|<Image>|<border>|<imagebg>|<textbg>|<text>}}

Replace the appropriate fields with the desired color. If you don't want to change one of the colors, use its default, which is listed below next to the field.

  • border (#008000)- the border around the userbox
  • imagebg (#008000) - the color behind the image in the left box
  • textbg (#aaffaa)- the color behind the text
  • text (#008000)- the color of the text

Example

60px This user's favorite villager is Drift.
{{UB Fav Villager|Drift}}
25px This user's favorite villager is Claude.
{{UB Fav Villager|Claude|[[File:Claude.png|25px]]}}
Pango NL.png This user's favorite villager is Pango.
{{UB Fav Villager|Pango|[[File:Pango NL.png|44px]]|#000080|#323299|#4c4ca6|#ffffff}}