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. edit
Thank you for your patience while we continue to upgrade DDOwiki to the latest MediaWiki LTS version. If you find any errors on the site, please visit the Discord chat server and let us know.
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/sandbox
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
orC:Penguins
.[[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 issandbox
, assignCategory:Sandbox
rather than the specified category (default true). - template
- Alias:
t
. If true and the page is in theTemplate:
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]]
|