Difference between revisions of "Template:UB Fav Series"

From Nookipedia, the Animal Crossing wiki
(Color customization)
Line 1: Line 1:
 
{{userbox
 
{{userbox
| border-c = #008000
+
| border-c = {{{3|#008000}}}
 
| id      = {{{2|[[File:Leaf.png|30px]]}}}
 
| id      = {{{2|[[File:Leaf.png|30px]]}}}
| id-c    = #FFFFFF
+
| id-c    = {{{4|#FFFFFF}}}
 
| info    = This user's favorite furniture series is the '''{{{1}}}'''.
 
| info    = This user's favorite furniture series is the '''{{{1}}}'''.
| info-c  = #90EE90
+
| info-c  = {{{5|#90EE90}}}
| info-fc = #008000
+
| info-fc   = {{{6|#008000}}}
| info-s  = 8
 
 
}}<noinclude>{{clr}}
 
}}<noinclude>{{clr}}
  
Line 21: Line 20:
 
<pre>{{UB Fav Series|<Series>|<Image>}}</pre>
 
<pre>{{UB Fav Series|<Series>|<Image>}}</pre>
 
Replace ''<Image>'' with the desired image code.
 
Replace ''<Image>'' with the desired image code.
 +
 +
Additionally, the colors of this userbox may be customized:
 +
<pre>{{UB Fav Series|<Series>|<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''' (#ffffff)- the color behind the image
 +
*'''textbg''' (#90ee90)- the color behind the text
 +
*'''text''' (#008000)- the color of the text
  
 
===Examples===
 
===Examples===
Line 31: Line 39:
 
|use=<nowiki>{{UB Fav Series|Balloon series|[[File:Balloon Dresser.jpg|45px]]}}</nowiki>
 
|use=<nowiki>{{UB Fav Series|Balloon series|[[File:Balloon Dresser.jpg|45px]]}}</nowiki>
 
}}
 
}}
 +
{{UBDisplay
 +
|box={{UB Fav Series|Modern series|[[File:Bed Modern.png|45px]]|#444444|#777777|#aaaaaa|#000000}}
 +
|use=<nowiki>{{UB Fav Series|Modern series|[[File:Bed Modern.png|45px]]|#444444|#777777|#aaaaaa|#000000}}</nowiki>
 +
}}
 +
 
[[Category:Userboxes]]</noinclude>
 
[[Category:Userboxes]]</noinclude>

Revision as of 20:08, August 4, 2014

30px This user's favorite furniture series is the {{{1}}}.

Usage

Base

{{UB Fav Series|<Series>}}

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

This userbox may be set to name a furniture series. Replace <Series> in the above code with the name of your favorite series.

Customization

The image displayed in this userbox may be customized, as well:

{{UB Fav Series|<Series>|<Image>}}

Replace <Image> with the desired image code.

Additionally, the colors of this userbox may be customized:

{{UB Fav Series|<Series>|<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 (#ffffff)- the color behind the image
  • textbg (#90ee90)- the color behind the text
  • text (#008000)- the color of the text

Examples

30px This user's favorite furniture series is the Blue series.
{{UB Fav Series|Blue series}}
45px This user's favorite furniture series is the Balloon series.
{{UB Fav Series|Balloon series|[[File:Balloon Dresser.jpg|45px]]}}
45px This user's favorite furniture series is the Modern series.
{{UB Fav Series|Modern series|[[File:Bed Modern.png|45px]]|#444444|#777777|#aaaaaa|#000000}}