Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes.
Known Issue: Xatheral has been temporarily disabled while we investigate a bug with Year of the Dragon gift delivery.DDO Forums edit

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


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!

Template:Cat/sandbox

From DDO wiki
Jump to navigation Jump to search

Usage

{{ Cat/sandbox | cat | sort (optional) }}

or

{{ Cat/sandbox | cat=cat | sort=sort | nocat=nocat | sandbox=sandbox | template=template }}

Categorization[edit]

Assigns a specified category conditionally.

cat
(Required) Pagename of category to be assigned, e.g. Penguins, not C:Penguins or [[C:Penguins]].
sort
Sort key on category page (default alphabetical).
nocat
If true, don't assign a category (default false).
sandbox
Alias: s. If true and the subpagename is sandbox, assign Category:Sandbox rather than the specified category (default true).
template
Alias: t. If true and the page is in the Template: namespace, don't assign a category (default false).

Note: Truth values are determined according to {{IO-TF}}.

Examples[edit]

Call Page name Category
{{ Cat/sandbox | Foo }} My page [[Category:Foo]]
{{ Cat/sandbox | Foo | * }} My page [[Category:Foo|*]]
{{ Cat/sandbox | cat=Foo | sort=* }} My page [[Category:Foo|*]]
{{ Cat/sandbox | Foo | nocat=1 }} My page None
{{ Cat/sandbox | cat=Foo }} My sandbox [[Category:Foo]]
{{ Cat/sandbox | cat=Foo }} My page/sandbox [[Category:Sandbox]]
{{ Cat/sandbox | cat=Foo | sandbox=1 }} My page/sandbox [[Category:Foo]]
{{ Cat/sandbox | Foo }} Template:My template [[Category:Foo]]
{{ Cat/sandbox | Foo | template=1 }} My page [[Category:Foo]]
{{ Cat/sandbox | Foo | template=1 }} Template:My template None
{{ Cat/sandbox | Category:Foo }} My page [[Category:Category:Foo]]

Coding[edit]