« Page Forms/multiple instances 1 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Edited automatically from page Page Forms/multiple instances 1.) |
(Modifié automatiquement depuis la page Page Forms/multiple instances 1.) |
||
(13 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{Multiple instance container | {{Multiple instance container | ||
|Multiple instances={{Instance | |Multiple instances={{Instance | ||
|First name= | |First name=Marie | ||
|Last name=Mariemont | |||
|Date of birth=2007-08-01 | |||
|Comments=sdfsdfsdf | |||
}}{{Instance | }}{{Instance | ||
|First name=Leo | |First name=Bernard | ||
|Last name=Bernardo | |||
|Date of birth=1999-09-07 | |||
|Comments=sdfsdfs | |||
}}{{Instance | |||
|First name=Stefanie | |||
|Last name=Stefano | |||
|Date of birth=1998-09-09 | |||
|Comments=dasxxd | |||
}}{{Instance | |||
|First name=Leo | |||
|Last name=Nardo | |||
}}{{Instance | |||
|First name=Leo | |||
|Last name=Nardo | |||
}} | }} | ||
}} | }} | ||
;Test case 1 (formlink) | ;Test case 1 (formlink for new page - works) | ||
{{#formlink:form=Multiple instances |target=Page Forms/multiple instances 2 |link text=Add new page with Leo Nardo |Instance[4][First name]=Leo |Instance[4][Last name]=Nardo }} | |||
;Test case 2 (formlink for current page - does not work) | |||
{{#formlink:form=Multiple instances |target={{FULLPAGENAMEE}} |link text=Add new item Leo Nardo to current page |Instance[4][First name]=Leo |Instance[4][Last name]=Nardo }} | |||
;Test case | ;Test case 3 (autoedit - does not appear to work either) | ||
{{#autoedit:form=Multiple instances |target={{FULLPAGENAMEE}} |link text=Add Leo Nardo |Instance[ | {{#autoedit:form=Multiple instances |target={{FULLPAGENAMEE}} |link text=Add new item Leo Nardo to current page |Instance[4][First name]=Leo |Instance[4][Last name]=Nardo |reload }} |
Dernière version du 22 mars 2023 à 16:18
First name | Last name | Date of birth | Comments |
Marie | Mariemont | 2007-08-01 | sdfsdfsdf |
Bernard | Bernardo | 1999-09-07 | sdfsdfs |
Stefanie | Stefano | 1998-09-09 | dasxxd |
Leo | Nardo | ||
Leo | Nardo |
- Test case 1 (formlink for new page - works)
- Test case 2 (formlink for current page - does not work)
Add new item Leo Nardo to current page
- Test case 3 (autoedit - does not appear to work either)
Add new item Leo Nardo to current page