C.Syde's Wiki:Userboxes/Country

Country userboxes is a great way of letting people know where you're from. To include one on your userpage, simply add it like you would with a normal userbox. You need to check if the a userbox for your country already exists, if not, you can create it.

How to create a country userbox
If you are certain that a userbox for your country has not been made yet, follow these steps:

Search Wikimedia Commons for your flag. A typical search query would by 'File:Flag of -YOUR COUNTRY-' When you find the flag it will probably be in .SVG format, this is a good thing. Be sure to 'Save Link As...' and NOT 'Save Image As...' since we want the .SVG file. Upload it to C.Syde's Wiki, remember to add licencing information. Most flags are in the Public Domain (PD). See Help:Files for help.
 * 1. Find the flag of your country :

Replace '???' with the name of your country (eg. Spain or England). Remember to include a space between 'Userbox' and your country.
 * 2. Create a new template :


 * 3. Copy the following text to the new template page and edit accordingly :

These lines are the ones we're focussing on: id, info, info-c, info-fc, border-c.

SVG files are usually very big, so we need to scale it down by adding width to the image. Most flags are good around 80-100px depending on their ratio. Short flags like the American flag need 100px while most European flags are good at 80px.

Basic colours can be in simple text format (blue, orange, white), for more advanced colouring you need to use hex colours. See Help:Colours for help.

At the bottom of the text, you will see the 'includeonly' line: Here you need to replace 'COUNTRY' with your country, eg. Spain, in two places.

Click 'Save page' and test it on your userpage. If it doesn't work, try editing it and find the error. If it all goes wrong, contact an active administrator or bureaucrat on his or her talk page.
 * 4. You're done :