User talk:Xander/angmar
Brief example:
This is just a quick slam-dunk sample to show you some of what you can do with it. Define your CSS classes, break out your category tree to match what you want and then just use a navbox with the tree tool to accomplish what you're trying to do. Seems to be a lot less work if you use categories versus manually editing 9,000,000,000,000 points of interest, etc... Just put 'em in "same structure" categories and you should be set...
--Eleazaros 16:23, 19 February 2008 (PST)
- As far as I know CategoryTree extension does not allow for horizontal representation, and on most pages vertical will take imho to much space, since most geographical articles are very short, at least for now...
- If you know of a way extracting names from the category (hopefuly one that doesn't involve heavy JS knowledge again) and putting them into template, I would love to hear about it... --Xander 01:16, 21 February 2008 (PST)
- Put category names under the main category Angmar as in:
- Category:Angmar Areas and Instances
- Category:Angmar Settlements
- Category:Angmar Points of Interest
Now you just specify to categorytree that you want to use the categories listed as in:
<categorytree mode=pages depth=0>Angmar Areas and Instances</categorytree>
<categorytree mode=pages depth=0>Angmar Settlements</categorytree>
<categorytree mode=pages depth=0>Angmar Points of Interest</categorytree>
Style it as you like (it supports style=...), just have the categories existing and it'll automatically create the trees from the documents in the category it is told to show.
So your table based (collapsed) navigator might look something like: (just a mockup)
It just sits wherever on the page you want it to. They want to see the list, they click the + sign and down drops the list of documents WITHIN that category. If they click the category name, it takes them to the "empty" category page with the documents shown. Dynamic, small footprint and automatically expanded whenever a new document is added to a category.
Just don't use sub-categories under each of the categories listed or it'll get messy with multi-drill-downs -- only documents within the the listed categories.
That's the idea anyway...
--Eleazaros 18:10, 22 February 2008 (PST)