Difference between revisions of "Template:UB Fan Character"

From Nookipedia, the Animal Crossing wiki
(Created page with "{{userbox | border-c = {{{3|#DAA520}}} | id = {{{2|{{{1}}}}}} | id-c = {{{4|#e1b74c}}} | info = This user is a fan of '''{{{1}}}'''. | info-c = {{{5|#F0DBA5}}}...")
 
m (Text replacement - "(.*?) NLWa Villager Icon.png" to "$1 NL Villager Icon.png")
 
(25 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{userbox
 
{{userbox
| border-c = {{{3|#DAA520}}}
+
| border-c = {{{2|#DAA520}}}
| id      = {{{2|{{{1}}}}}}
+
| id      = {{{file|{{#ifexist: File:{{{1|qwe}}} NH Character Icon.png|[[File:{{{1|}}} NH Character Icon.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{{1|qwe}}} NH Villager Icon.png|[[File:{{{1|}}} NH Villager Icon.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{{1|qwe}}} aF Character Icon.png|[[File:{{{1|}}} aF Character Icon.png{{!}}{{{size|40px}}}]]|{{#ifexist: File:{{{1|qwe}}} PC icon.png|[[File:{{{1|}}} PC icon.png{{!}}{{{size|40px}}}]]|{{#ifexist: File:{{{1|qwe}}} NLWa Villager Icon.png|[[File:{{{1|}}} NL Villager Icon.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{{1|qwe}}} NL.png|[[File:{{{1|}}} NL.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{{1|qwe}}} CF.png|[[File:{{{1|}}} CF.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{{1|qwe}}} WW.png|[[File:{{{1|}}} WW.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{{1|qwe}}} DnMe+.png|[[File:{{{1|}}} DnMe+.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{{1|qwe}}} PG.png|[[File:{{{1|}}} PG.png{{!}}{{{size|35px}}}]]|[[File:Blanca NH Character Icon.png{{!}}32px]]}}}}}}}}}}}}}}}}}}}}}}}
| id-c    = {{{4|#e1b74c}}}
+
| id-c    = {{{3|#e1b74c}}}
| info    = This user is a fan of '''{{{1}}}'''.
+
| info    = This user is a fan of {{#if:{{{1|}}}|[[{{{link|{{{1|}}}}}}|{{Colorshow|{{{5|#DAA520}}}|'''{{{name|{{{1|}}}}}}'''|hex=false}}]]|'''<please enter a character name>'''}}.
| info-c  = {{{5|#F0DBA5}}}
+
| info-= {{{4|#F0DBA5}}}
| info-fc  = {{{6|#DAA520}}}
+
| info-fc  = {{{5|#DAA520}}}
}}<noinclude>
 
{{clr}}
 
 
 
==Usage==
 
===Base===
 
<pre>{{UB Fan 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===
 
An image may be added to the userbox:
 
<pre>{{UB Fan Villager|<Name>|<Image>}}</pre>
 
Replace ''<Image>'' with the desired image code.
 
 
 
Additionally, the colors of this userbox may be customized:
 
<pre>{{UB Fan 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 Fan Villager|Iggly}}
 
|use=<nowiki>{{UB Fan Villager|Iggly}}</nowiki>
 
 
}}
 
}}
{{UBDisplay
+
<noinclude>{{clear}}<br>{{Documentation}}[[Category:Userboxes]]</noinclude>
|box={{UB Fan Villager|Peanut|[[File:Peanut NL.png|33px]]}}
 
|use=<nowiki>{{UB Fan Villager|Peanut|[[File:Peanut NL.png|33px]]}}</nowiki>
 
}}
 
{{UBDisplay
 
|box={{UB Fan Villager|Pierce|[[File:Pierce2.png|40px]]|#808080|#ffffff|#F48634|#ffffff}}
 
|use=<nowiki>{{UB Fan Villager|Pierce|[[File:Pierce2.png|40px]]|#808080|#ffffff|#F48634|#ffffff}}</nowiki>
 
}}
 
[[Category:Userboxes]]</noinclude>
 

Latest revision as of 22:27, February 15, 2022

Blanca NH Character Icon.png This user is a fan of <please enter a character name>.


Template documentation (view)


Usage

Base

{{UB Fan Character|<Name>}}

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

Replace <Name> with the name of your favorite character in the Animal Crossing series.

Customization

The New Horizons icon of a character will appear by default. If the villager is not in New Horizons, an image for the most recent Animal Crossing title will be used. To use a specific image, or if the image is not loading correctly, the parameter "file" can be used:

{{UB Fan Character|<Name>|<File>}}

Replace <File> with the desired image code.

Additionally, the colors of this userbox may be customized:

{{UB Fan Character|<Name>|<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

Peanut NH Villager Icon.png This user is a fan of Peanut.
{{UB Fan Character|Peanut}}
Pierce NL.png This user is a fan of Pierce.
{{UB Fan Character|Pierce|file=[[File:Pierce NL.png|35px]]|#808080|#ffffff|#F48634|#ffffff}}