Herr Fledermaus
Herr Fledermaus

Reputation: 11

Mediawiki dropdown value: from category + none

In mediawiki, I made a form with some dropdown lists that get their values from a category:

{{{field|Managers|mandatory|input type=dropdown|values from category=myTeam}}}

This works, it will show me a list of everyone in my team. However, somehow it should be possible to select "none", which is not in my category (duh!). Can someone tell me how to I can add an extra value to this dropdown list?

Upvotes: 1

Views: 675

Answers (1)

ShoeMaker
ShoeMaker

Reputation: 833

Create a page named None and populate it with [[Category:myTeam]] seems the simplest solution based on your details.

Upvotes: 3

Related Questions