Difference between revisions of "Template:UB Country Wish"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - "{{clr}}" to "{{clear}}")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float: left; border:solid YellowGreen 1px; margin: 1px;">
+
{{userbox
{| cellspacing="0" style="width: 238px; background: greenyellow;"
+
| border-c = {{{3|#9ACD32}}}
| style="width: 45px; height: 45px; background: yellowgreen;" | [[Image:{{{2}}}|50px]]
+
| id      = [[File:{{{2}}}|50px]]
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em; color: {{{info-fc|black}}};" | This user wants to live in '''{{{1}}}'''.
+
| id-c    = {{{4|#9ACD32}}}
|}</div><noinclude>[[Category:Userboxes]]</noinclude>
+
| info    = This user wants to live in '''{{{1}}}'''.
 +
| info-c  = {{{5|#ADFF2F}}}
 +
|info-fc  = {{{6|#000000}}}
 +
}}<noinclude>
 +
{{clear}}
 +
 
 +
==Usage==
 +
===Base===
 +
<pre>{{UB Country Wish|<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 Wish|<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 Wish|Antarctica|Flag of Antarctica.png}}
 +
|use=<nowiki>{{UB Country Wish|Antarctica|Flag of Antarctica.png}}</nowiki>
 +
}}
 +
{{UBDisplay
 +
|box={{UB Country Wish|the United States|Flag of the United States.png|#FF0012|#FFFFFF|#00209C|#FFFFFF}}
 +
|use=<nowiki>{{UB Country Wish|the United States|Flag of the United States.png|#FF0012|#FFFFFF|#00209C|#FFFFFF}}</nowiki>
 +
}}
 +
[[Category:Userboxes]]</noinclude>

Latest revision as of 16:29, January 3, 2021

[[File:{{{2}}}|50px]] This user wants to live in {{{1}}}.

Usage

Base

{{UB Country Wish|<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 Wish|<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

Flag of Antarctica.png This user wants to live in Antarctica.
{{UB Country Wish|Antarctica|Flag of Antarctica.png}}
Flag of the United States.png This user wants to live in the United States.
{{UB Country Wish|the United States|Flag of the United States.png|#FF0012|#FFFFFF|#00209C|#FFFFFF}}