Différences entre les versions de « Formulaire:DemoStatic »
De Semantic MediaWiki - Sandbox
(added label check) |
|||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
− | {{#formlink:form= | + | {{#formlink:form=DemoStatic|link text=demo static loading from Semantic Form}} [[Category:Semantic Forms Select example]] |
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{info|page name=Demo<unique number>}}} | {{{info|page name=Demo<unique number>}}} | ||
Ligne 7 : | Ligne 7 : | ||
!All Protocols 1: All Protocols Using a query. We of course can use values from category. This is only for demo purpose. | !All Protocols 1: All Protocols Using a query. We of course can use values from category. This is only for demo purpose. | ||
|- | |- | ||
− | |{{{field|AllProtocols|input type=SF_Select|query=((Category:Protocol));format~ | + | |{{{field|AllProtocols|input type=SF_Select|query=((Category:Protocol));format~plain;sep~,;link~none;headers~hide;limit~500}}} |
+ | |- | ||
+ | !All Protocols 1.1: All Protocols Using a query (with label parameter). We of course can use values from category. This is only for demo purpose. | ||
+ | |- | ||
+ | |{{{field|AllProtocols|input type=SF_Select|query=((Category:Protocol));?Protocol Name;format~plain;sep~,;link~none;headers~hide;limit~500|label}}} | ||
|- | |- | ||
!All Protocols 2: All Protocols using a function. We just use the '''ask''' parser function from SemanticMediaWiki | !All Protocols 2: All Protocols using a function. We just use the '''ask''' parser function from SemanticMediaWiki | ||
|- | |- | ||
− | |{{{field|AllProtocols1|input type=SF_Select|function=ask:((Category:Protocol));format~ | + | |{{{field|AllProtocols1|input type=SF_Select|function=ask:((Category:Protocol));format~plain;sep~,;link~none;headers~hide;limit~500}}} |
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
</includeonly> | </includeonly> |