User talk:Xander/angmar

From Lotro-Wiki.com
Jump to navigation Jump to search
You may want to go with the category view tree for this and use the collapsed view of it. Use a Sub-category tree structure (just define a few more categories and arrange the docs into them.

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)
Well, the idea was a bit easier than what you are describing and would take even less space than what you have. Set the list sideways and have the category tree do the work for you.
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:

  1. <categorytree mode=pages depth=0>Angmar Areas and Instances</categorytree>
  2. <categorytree mode=pages depth=0>Angmar Settlements</categorytree>
  3. <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)