Game mechanicsNewbie guideIn developmentDDO StoreIRC Chat/Discord


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavor

FeatsGlossaryItemsMapsMonstersPlacesQuestsRacesSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

Help:Extension:NiceCategoryList2

From DDO wiki
Jump to: navigation, search

As taken directly from the extension page on MediaWiki:

Usage[edit]

Parameters[edit]

The <ncl> tag displays a category list:

<ncl [options]>Some Category</ncl>

The tag takes the following parameters, all of which are optional:

maxdepth=<number>
maximum category depth to display; default 32
headings=<style>
'head' to display category headings as Wiki headings (default); 'bullet' to display category headings as bullet lists
showfirst=<bool>
'0' to skip top heading (default), else display it
headstart=<number>
with 'headings=head', headstart is the heading level to list top-level categories with; default 2
style=<style>
'bullet' to show category contents as bullet lists (default); 'compact' for a more compact listing
showcats=<bool>
not '0' to display sub-category links in "bottom" (i.e. maxdepth) categories; default 0
showarts=<bool>
not '0' to display articles in categories; default 1
sort=<bool>
not '0' to sort the list alphabetically; else sort the list according to the index key; default 0
number=<number>
not '0' to display only up to <number> of articles, else display all articles; default 0
random=<bool>
with number not '0': display random choice of articles if random not '0', else display the first <number> of articles; default 0


Examples of this extension in use can be found on Category:Pages using NiceCategoryList.