« Formulaire:Combobox-categories » : différence entre les versions
De Semantic MediaWiki - Sandbox
m (existing category) Balise : Éditeur de wikicode 2017 |
mAucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(10 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
test for [https://phabricator.wikimedia.org/T128733 Pageforms issue with combobox where you enter | test for [https://phabricator.wikimedia.org/T128733 Pageforms issue with combobox or text with autocomplete (or token?) where you enter a comma while "values from category" is used].{{#forminput:form={{PAGENAME}}}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{for template| | {{{for template|About|label=test}}} | ||
{{{field| | * Values from category=books | ||
{{{field|Foobar|input type=text with autocomplete|list|values from category=Books|delimiter=,}}} | |||
* Values from category=books, delimiter=; | |||
{{{field|Foobar2|input type=text with autocomplete|list|values from category=Books|delimiter=;}}} | |||
* Values pre-defined | |||
{{{field|Foobar3|input type=text with autocomplete|list|values from category=Foo,Foo2,Foo3|delimiter=,}}} | |||
* Values pre-defined, delimiter=; | |||
{{{field|Foobar4|input type=text with autocomplete|list|values from category=Foo,Foo2,Foo3|delimiter=;}}} | |||
{{{end template}}} | {{{end template}}} | ||
</includeonly> | </includeonly> |