Template talk:RegionsTable

From eRepublik Official Wiki
Jump to: navigation, search

Just a question, could country borders be also added? Not region borders, but just country borders. -- Icon-Belgium.png Mikhail Alexander 17:48, 3 September 2011 (PDT)

Automatic updates

The new regions-listing table now updates automatically, thanks to sampo555's help.

What does this mean for editors?
Regions will no longer have to be manually added or removed from lists any longer. This list covers both original and conquered regions.

How does this template work?
The template still requires users to input a country's original regions, but the country the template is making a list for does not have to be named: the template assumes the original owner of the first region typed in is the country a list should be made for.

What changes do we have to make?
Except for one small change, nothing really, since the code remains about the same. For country pages that already use RegionsTables, please just prefix the last original region listed with "last=", so

{{RegionsTable|Northern Netherlands|Southern Netherlands|Western Netherlands|Eastern Netherlands|showprod=1}}
{{RegionsTable|Northern Netherlands|Southern Netherlands|Western Netherlands|last=Eastern Netherlands|showprod=1}}

And also remove the "Conquered Regions" sections from Wiki pages, since they're no longer necessary.

--vSkyzv Icon-USA.png Talk - Contribs 20:17, 27 November 2011 (PST)

  • Some other features that I'd like to note:
    • You no longer need to tell the template what the capital is, that now comes from the data.
    • "showmap" can now be set to "2", where a map link is displayed instead of the actual map.--vSkyzv Icon-USA.png Talk - Contribs 21:40, 27 November 2011 (PST)

Option for two columns

Could you possibly add a |columns=2| option to the template, to allow the list to display in two side-by-side blocks?

  1. Like
  2. A
  3. B
  4. C
  5. D
  1. So
  2. E
  3. F
  4. G
  5. H

It might be tricky, but it'd be damned useful for the longer lists. Cheers John F. Baker Icon-UK.png (Talk | Contribs) 13:45, 28 November 2011 (PST)

I was thinking of this too. It's possible and I could work on it when I have time.--vSkyzv Icon-USA.png Talk - Contribs 04:50, 29 November 2011 (PST)
Go here--vSkyzv Icon-USA.png Talk - Contribs 17:36, 29 November 2011 (PST)