Difference between revisions of "Template:Neighbors/doc"
m (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...') |
Democr1tus (Talk | contribs) m |
||
Line 1: | Line 1: | ||
+ | {{Documentation subpage}} | ||
This template creates periodically updated neighbors list. | This template creates periodically updated neighbors list. | ||
==Usage== | ==Usage== |
Revision as of 01:48, 5 January 2021
To view the Template page itself, see Template:Neighbors.
This template creates periodically updated neighbors list.
Contents
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:
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:
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>