Différences entre les versions de « Multi Instance Test »

De Semantic MediaWiki - Sandbox

Ligne 1 : Ligne 1 :
{{HoldsMulti
+
 
|Multi=
+
{{#formlink:form=HoldsMulti|target={{PAGENAME}}|query string=preload=Multi[1][label]=Foo&Multi[2][label]=Bar}}
}}
 
{{Multi
 
|label=foo
 
}}
 
{{Multi
 
|label=bar
 
}}
 
{{#formlink:form=HoldsMulti|target={{PAGENAME}}|preload=Multi[1][label]=Foo&Multi[2][label]=Bar}}
 
  
 
[[Form:HoldsMulti]] - [[Template:HoldsMulti]] - [[Template:Multi]]
 
[[Form:HoldsMulti]] - [[Template:HoldsMulti]] - [[Template:Multi]]

Version du 15 décembre 2015 à 20:58

Multi Instance Test

Form:HoldsMulti - Template:HoldsMulti - Template:Multi

Testing preloading of field values in multiple instance template.

Being able to do this would really simplify a form and template definition I'm looking at making (would eliminate the need to define parameters and fields ie. item1, value2, item2, value2... item96, value96, etc. At least, I think being able to simplify it to a repeat template reference would be better.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.