« Formulaire:Multiple instances » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 4 : | Ligne 4 : | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | ||
{{{for template|Multiple instance container}}} | {{{for template|Multiple instance container }}} | ||
{{{field|Comments |input type=textarea |rows=1 |autogrow }}} | |||
{{{field|Multiple instances|holds template}}} | {{{field|Multiple instances|holds template}}} | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|Instance}}} | {{{for template|Instance|embed in field=Multiple instance container[Multiple instances] |multiple }}} | ||
<table class="table"><tr> | <table class="table"><tr> | ||
<td>First name: {{{field|First name|input type=text}}}</td> | <td>First name: {{{field|First name|input type=text}}}</td> | ||
<td>Last name: {{{field|Last name|input type=text}}}</td> | <td>Last name: {{{field|Last name|input type=text}}}</td> | ||
<td>Date of birth: {{{field|Date of birth|input type=datepicker}}}</td> | <td>Date of birth: {{{field|Date of birth|input type=datepicker}}}</td> | ||
<td>Comments: {{{field|Comments|input type=textarea}}}</td> | <td>Comments: {{{field|Comments|input type=textarea |rows=1 |autogrow }}}</td> | ||
</tr> | </tr> | ||
</table> | </table> |
Dernière version du 2 décembre 2017 à 12:40