Template:Neighbors

From eRepublik Official Wiki
Revision as of 04:40, 29 July 2012 by DivesIT (Talk | contribs)

Jump to: navigation, search
Languages: 
EnglishIcon-English.png
ShqipIcon-Albania.png
БеларускаяIcon-Belarus.png
中文(简体)Icon-China.png
FrançaisIcon-France.png
ItalianoIcon-Italy.png
LatviešuIcon-Latvia.png
LietuviųIcon-Lithuania.png
PolskiIcon-Poland.png
PortuguêsIcon-Portugal.png
RomânăIcon-Romania.png
РусскийIcon-Russia.png
СрпскиIcon-Serbia.png
EspañolIcon-Spain.png
УкраїнськаIcon-Ukraine.png


[edit] [purge]

Documentation

This template creates a periodically updated neighbors list.

Usage

{{Neighbors}}

Parameters

Basic usage is:

{{Neighbors|Neighbor 1|Neighbor 2|Neighbor 3|Neighbor 4}} and so on, up to 20

Examples

Note: examples are based on different regions, the first one is California and the second one is Rajasthan.
Example 1 (California):

{{Neighbors|Arizona|Baja|Hawaii|Nevada|Northwest of Mexico|Nevada}}

on California page gives:
California is neighbored by the following regions:

Example 2 (Rajasthan):

{{Neighbors|Gujarat|Madhya Pradesh|Northern India|Punjab|Sindh|Uttar Pradesh}}

on Rajasthan page gives:
Rajasthan is neighbored by the following regions:

Translation

To translate this template, simply show more languages on the top of this template, click on the flag of the language you want to translate, copy the following code, replace ONLY THE TEXT "is neighbored by the following regions:" with the translation in your language.

Translation template page should look like

<noinclude>{{LangMenu|Template:Neighbors}}[[Category:Translated Templates|{{SUBPAGENAME}}]]</noinclude><includeonly>is neighbored by the following regions:</includeonly>