Year of the Dragon: Through June 26th, claim free Ground Bound Green Dragon Mount! Speak to Xatheral in the Hall of Heroes.
(April's reward of a free expansion or Greater Elixir of Discovery can still be claimed from Trilliya until June 4th.) edit
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to remove ads, build a reputation, and unlock more editing privileges and then visit DDO wiki's IRC Chat/Discord if you need any help!
Template:Cat
Usage
{{ Cat | cat | sort (optional) }}
- or
{{ Cat | 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
orC:Penguins
.[[C:Penguins]] - sort
- Sort key on category page (default alphabetical).
- nocat
- If the value is 1 (default 0), no category is assigned.
- sandbox
- Alias:
s
. If the value is 0 (default 0) and the subpagename issandbox
, assignsCategory:Sandbox
rather than the specified category. - template
- Alias:
t
. If the value is 1 (default 0) and the page is in theTemplate:
namespace, no category is assigned.
Examples[edit]
Call | Page name | Category |
---|---|---|
{{ Cat | Foo }} |
My page |
[[Category:Foo]]
|
{{ Cat | cat=Foo }} |
My sandbox |
[[Category:Foo]]
|
{{ Cat | cat=Foo }} |
My page/sandbox |
[[Category:Sandbox]]
|
{{ Cat | Foo | * }} |
My page |
[[Category:Foo|*]]
|
{{ Cat | Foo | nocat=1 }} |
My page |
None |
{{ Cat | cat=Foo | sandbox=1 }} |
My page/sandbox |
[[Category:Foo]]
|
{{ Cat | Foo | sort=* }} |
Template:My template |
[[Category:Foo|*]]
|
{{ Cat | Foo | sort=* | template=1 }} |
Template:My template |
None |
{{ Cat | Category:Foo }} |
My page |
[[Category:Category:Foo]]
|