Template:Neighbors/doc

From eRepublik Official Wiki
< Template:Neighbors
Revision as of 06:22, 22 March 2011 by Grzechooo (Talk | contribs) (Created page with 'This template creates periodically updated neighbors list. ==Usage== <pre>{{Neighbors}}</pre> ===Parameters=== Basic usage is: <pre>{{Neighbors|Neighbor 1|Neighbor 2|Neighbor 3|N...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template creates 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 off different regions, the first one is California and second one is Rajasthan.
Example 1:

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

on California page gives:

California
edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:Neighbors.

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:
Template loop detected: Template:Neighbors Example 2 (Rajasthan):

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

on Rajasthan page gives:
Template loop detected: Template:Neighbors

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>

Example 2:

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

on Rajasthan page gives:

Rajasthan
edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:Neighbors.

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:
Template loop detected: Template:Neighbors Example 2 (Rajasthan):

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

on Rajasthan page gives:
Template loop detected: Template:Neighbors

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>