Template talk:Provinces of Indonesia

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Indonesia (Rated Template-class)
WikiProject icon This template is within the scope of WikiProject Indonesia, a collaborative effort to improve the coverage of Indonesia and Indonesia-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
 


comments from 2005[edit]

The new version is about half the height of the old one. If anyone has any ideas about how to make it more readable or smaller or whatnot, please be my guests. If anyone is watching this page; is there any point to making it into two columns? I suppose this is the point of having a talk page, so I can try it out a few different ways... grendel|khan 17:00, July 28, 2005 (UTC)

Two-column version[edit]

Here's a new version, using tables within tables. Looks fine, but the code to generate it gives me a headache. I can't deal with all that nesting. (It has to be nested three-deep, because, well, here's why:

header flag
HEY! I SHOULD BE AS WIDE AS THE ONE ON THE RIGHT!
HEY! I SHOULD BE AS WIDE AS THE ONE ON THE LEFT!

Here's what we get when we use three-deep nesting:

header flag
HEY! I SHOULD BE AS WIDE AS THE ONE ON THE RIGHT!
HEY! I SHOULD BE AS WIDE AS THE ONE ON THE LEFT!

Implemented:


 
Provinces of Indonesia
Flag of Indonesia
Sumatra (Sumatera)
DI Aceh | North Sumatra (Sumatera Utara) | West Sumatra (Sumatera Barat) | Bengkulu | Riau | Riau Islands (Kepulauan Riau) | Jambi | South Sumatra (Sumatera Selatan) | Lampung | Bangka-Belitung
Java (Jawa)
DKI Jaya | West Java (Jawa Barat) | Banten | Central Java (Jawa Tengah) | DI Yogyakarta | East Java (Jawa Timur)
Kalimantan
West Kalimantan (Kalimantan Barat) | Central Kalimantan (Kalimantan Tengah) | South Kalimantan (Kalimantan Selatan) | East Kalimantan (Kalimantan Timur)
The Lesser Sunda Islands (Nusa Tenggara)
Bali | West Nusa Tenggara (Nusa Tenggara Barat) | East Nusa Tenggara (Nusa Tenggara Timur)
Sulawesi
West Sulawesi (Sulawesi Barat) | North Sulawesi (Sulawesi Utara) | Central Sulawesi (Sulawesi Tengah) | South Sulawesi (Sulawesi Selatan) | South East Sulawesi (Sulawesi Tenggara) | Gorontalo
The Maluku Islands and New Guinea (Irian)
Maluku | North Maluku (Maluku Utara) | West Irian Jaya (Irian Jaya Barat) | Papua

Looks good, but the table nesting gives me a nasty headache. Let's try it by putting the two internal tables into DIVs, floating one left and one right.


 
Provinces of Indonesia
Flag of Indonesia
Sumatra (Sumatera)
DI Aceh | North Sumatra (Sumatera Utara) | West Sumatra (Sumatera Barat) | Bengkulu | Riau | Riau Islands (Kepulauan Riau) | Jambi | South Sumatra (Sumatera Selatan) | Lampung | Bangka-Belitung
Java (Jawa)
DKI Jaya | West Java (Jawa Barat) | Banten | Central Java (Jawa Tengah) | DI Yogyakarta | East Java (Jawa Timur)
Kalimantan
West Kalimantan (Kalimantan Barat) | Central Kalimantan (Kalimantan Tengah) | South Kalimantan (Kalimantan Selatan) | East Kalimantan (Kalimantan Timur)
The Lesser Sunda Islands (Nusa Tenggara)
Bali | West Nusa Tenggara (Nusa Tenggara Barat) | East Nusa Tenggara (Nusa Tenggara Timur)
Sulawesi
West Sulawesi (Sulawesi Barat) | North Sulawesi (Sulawesi Utara) | Central Sulawesi (Sulawesi Tengah) | South Sulawesi (Sulawesi Selatan) | South East Sulawesi (Sulawesi Tenggara) | Gorontalo
The Maluku Islands and New Guinea (Irian)
Maluku | North Maluku (Maluku Utara) | West Irian Jaya (Irian Jaya Barat) | Papua

I think I'm pleased with that; I don't think splitting it into three columns would provide any real benefit over two columns. grendel|khan 16:09, July 29, 2005 (UTC)