Difference between revisions of "Template:UB Country From"
From Nookipedia, the Animal Crossing wiki
SuperAlpaca (talk | contribs) |
HamsterMech (talk | contribs) m (Text replacement - "{{clr}}" to "{{clear}}") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{userbox | |
− | {| | + | | border-c = {{{3|#9ACD32}}} |
− | | | + | | id = [[File:{{{2}}}|50px]] |
− | | | + | | id-c = {{{4|#9ACD32}}} |
− | |}</ | + | | info = This user is from '''{{{1}}}'''. |
+ | | info-c = {{{5|#ADFF2F}}} | ||
+ | |info-fc = {{{6|#000000}}} | ||
+ | }}<noinclude> | ||
+ | {{clear}} | ||
+ | |||
+ | ==Usage== | ||
+ | ===Base=== | ||
+ | <pre>{{UB Country From|<Country>|<Flag>}}</pre> | ||
+ | |||
+ | '''''Note:''' the first two fields must be filled out in order for the userbox to display properly.'' | ||
+ | |||
+ | This userbox may be set to display a country names. Replace ''<Country>'' in the above code with the name of your desired country. | ||
+ | |||
+ | Additionally, the userbox may display the country's flag. Replace ''<Flag>'' in the above code with the file name and extension of your desired flag. See '''''[[:Category:Flags]]''''' for the flags available on Nookipedia; if the flag you want is not available, you may upload it yourself or [[Nookipedia:Image Requests|request it]]. | ||
+ | |||
+ | ===Customization=== | ||
+ | The colors of this userbox may be customized: | ||
+ | <pre>{{UB Country From|<Country>|<Flag>|<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''' (#9ACD32)- the border around the userbox | ||
+ | *'''imagebg''' (#9ACD32)- the background behind the console image | ||
+ | *'''textbg''' (#ADFF2F)- the color behind the text | ||
+ | *'''text''' (#000000)- the color of the text | ||
+ | |||
+ | ===Example=== | ||
+ | {{UBDisplay | ||
+ | |box={{UB Country From|Antarctica|Flag of Antarctica.png}} | ||
+ | |use=<nowiki>{{UB Country From|Antarctica|Flag of Antarctica.png}}</nowiki> | ||
+ | }} | ||
+ | {{UBDisplay | ||
+ | |box={{UB Country From|the United States|Flag of the United States.png|#FF0012|#FFFFFF|#00209C|#FFFFFF}} | ||
+ | |use=<nowiki>{{UB Country From|the United States|Flag of the United States.png|#FF0012|#FFFFFF|#00209C|#FFFFFF}}</nowiki> | ||
+ | }} | ||
+ | [[Category:Userboxes]]</noinclude> |
Latest revision as of 16:15, January 3, 2021
[[File:{{{2}}}|50px]] | This user is from {{{1}}}. |
Usage
Base
{{UB Country From|<Country>|<Flag>}}
Note: the first two fields must be filled out in order for the userbox to display properly.
This userbox may be set to display a country names. Replace <Country> in the above code with the name of your desired country.
Additionally, the userbox may display the country's flag. Replace <Flag> in the above code with the file name and extension of your desired flag. See Category:Flags for the flags available on Nookipedia; if the flag you want is not available, you may upload it yourself or request it.
Customization
The colors of this userbox may be customized:
{{UB Country From|<Country>|<Flag>|<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 (#9ACD32)- the border around the userbox
- imagebg (#9ACD32)- the background behind the console image
- textbg (#ADFF2F)- the color behind the text
- text (#000000)- the color of the text
Example
{{UB Country From|Antarctica|Flag of Antarctica.png}} |
{{UB Country From|the United States|Flag of the United States.png|#FF0012|#FFFFFF|#00209C|#FFFFFF}} |