Talk:Portal:Lists

From OpenGeofiction Encyclopedia
Jump to: navigation, search

How to create a little flag next to your country name

It's very easy. Here's how:

1. Create a template using your country's short name. For example, type into your browser:

http://wiki.opengeofiction.net/wiki/index.php/Template:Mycountryname (← but replace "Mycountryname" with the name of your country).

2. Wiki will say "there is currently no text in this page" so you need to create the page. Click 'Create' in the upper right, near the search bar.

3. In the text area, type [[File:MyCountryFlagImage.png|28px|border]] [[Mycountryname]]<noinclude>[[Category:Templates flags]]</noinclude>
where "MyCountryFlagImage.png" is the name of whatever flag image file you uploaded to your country page. Make sure there is a space between the two sets of double brackets, and make sure you replace "Mycountryname" with the name of your country.

4. Then go into the lists and change your country from [[Mycountryname]] to {{Mycountryname}}. Voilà!

--Isleño (talk) 01:42, 11 August 2014 (CEST)