Difference between revisions of "Template:Reglink"

From BattleMaster Wiki
Jump to navigation Jump to search
m (Template:Ecregion moved to Template:Reglink: name conflict)
m (fixing name conflict)
Line 1: Line 1:
<includeonly>[[{{:Template:region/{{{1}}}}}/{{{2}}}|{{{2}}}]]</includeonly>
+
<includeonly>[[{{:Template:Reglink/{{{1}}}}}/{{{2}}}|{{{2}}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
__NOTOC__
 
__NOTOC__
 
== Usage ==
 
== Usage ==
 
'''All parameters, horizontal format'''
 
'''All parameters, horizontal format'''
<pre>{{region|island|region}}</pre>
+
<pre>{{Reglink|island|region}}</pre>
 
* '''island''' is the two or three letter abbreviation for the island (AT, BT, CO, DW, EC, FEI, SEI, SWI)
 
* '''island''' is the two or three letter abbreviation for the island (AT, BT, CO, DW, EC, FEI, SEI, SWI)
 
* '''region''' the name of the region, capitalization and spelling count!
 
* '''region''' the name of the region, capitalization and spelling count!
Line 12: Line 12:
  
 
==Subpages==
 
==Subpages==
*[[Template:region/AT]]
+
*[[Template:Reglink/AT]]
*[[Template:region/BT]]
+
*[[Template:Reglink/BT]]
*[[Template:region/CO]]
+
*[[Template:Reglink/CO]]
*[[Template:region/DW]]
+
*[[Template:Reglink/DW]]
*[[Template:region/EC]]
+
*[[Template:Reglink/EC]]
*[[Template:region/FEI]]
+
*[[Template:Reglink/FEI]]
*[[Template:region/SEI]]
+
*[[Template:Reglink/SEI]]
*[[Template:region/SWI]]
+
*[[Template:Reglink/SWI]]
  
 
==Example==
 
==Example==
{{region|EC|Perdan}}
+
{{Reglink|EC|Perdan}}
 
[[Category:Utility Templates]]
 
[[Category:Utility Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:25, 26 October 2007


Usage

All parameters, horizontal format

{{Reglink|island|region}}
  • island is the two or three letter abbreviation for the island (AT, BT, CO, DW, EC, FEI, SEI, SWI)
  • region the name of the region, capitalization and spelling count!

Description

This template will allow you to easily link a region name to the proper wiki page for that region. Rather than needing to type out the island name and region name (twice!) you can just use the template.

Subpages

Example

Perdan