Difference between revisions of "Template:UB Fan Character"
From Nookipedia, the Animal Crossing wiki
m (Sunmarsh moved page Template:UB Fan Villager to Template:UB Fan Character: Generalizing template to work for all characters) |
m (Adjusting template calls to reflect new name) |
||
Line 11: | Line 11: | ||
==Usage== | ==Usage== | ||
===Base=== | ===Base=== | ||
− | <pre>{{UB Fan | + | <pre>{{UB Fan Character|<Name>}}</pre> |
'''''Note:''' the first field must be filled out in order for the userbox to display properly.'' | '''''Note:''' the first field must be filled out in order for the userbox to display properly.'' | ||
− | Replace ''< | + | Replace ''<Name>'' with the name of your favorite character in the ''Animal Crossing'' series. |
===Customization=== | ===Customization=== | ||
− | The most recent image of a | + | The most recent image of a character will appear by default. To use a specific image, or if the image is not loading correctly, the parameter "file" can be used: |
− | <pre>{{UB Fan | + | <pre>{{UB Fan Character|<Name>|<File>}}</pre> |
Replace ''<File>'' with the desired image code. | Replace ''<File>'' with the desired image code. | ||
Additionally, the colors of this userbox may be customized: | Additionally, the colors of this userbox may be customized: | ||
− | <pre>{{UB Fan | + | <pre>{{UB Fan Character|<Name>|<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. | 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. | ||
Line 33: | Line 33: | ||
===Example=== | ===Example=== | ||
{{UBDisplay | {{UBDisplay | ||
− | |box={{UB Fan | + | |box={{UB Fan Character|Peanut}} |
− | |use=<nowiki>{{UB Fan | + | |use=<nowiki>{{UB Fan Character|Peanut}}</nowiki> |
}} | }} | ||
{{UBDisplay | {{UBDisplay | ||
− | |box={{UB Fan | + | |box={{UB Fan Character|Pierce|file=[[File:Pierce NL.png|35px]]|#808080|#ffffff|#F48634|#ffffff}} |
− | |use=<nowiki>{{UB Fan | + | |use=<nowiki>{{UB Fan Character|Pierce|file=[[File:Pierce NL.png|35px]]|#808080|#ffffff|#F48634|#ffffff}}</nowiki> |
}} | }} | ||
[[Category:Userboxes]]</noinclude> | [[Category:Userboxes]]</noinclude> |
Revision as of 13:57, October 8, 2019
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 most recent image of a character will appear by default. 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
{{UB Fan Character|Peanut}} |
{{UB Fan Character|Pierce|file=[[File:Pierce NL.png|35px]]|#808080|#ffffff|#F48634|#ffffff}} |