Diferencia entre revisiones de «Formulario:Test»

De CNB
Ir a la navegación Ir a la búsqueda
imported>Test12345
Sin resumen de edición
imported>Test12345
Sin resumen de edición
 
(No se muestran 54 ediciones intermedias de 2 usuarios)
Línea 6: Línea 6:


{{{for template|Test}}}
{{{for template|Test}}}
{|
=Tree field=
! Department:
{{{field|test-field|input type=tree|top category=A
| {{{field|department|input type=dropdown|values=Department1,Department2,Department3|show on select=Department1=>department1;Department2=>department2;Department3=>department3}}}
}}}
 
=Author stuff=
{| class="formtable"
! I'm the author (or I know the username of the author):  
| {{{field|istheauthor|input type=checkbox|show on select=author-section}}}
|}
|}


<div id="department1">
{| class="formtable" id = "author-section"
{|
! Author username:
! Cities for Department1:
| {{{field|authorusername|input type = text|default=current user}}}
| {{{field|city|input type=dropdown|values=City1,City2,City3}}}
|}
</div>
<div id="department2">
{|
! Cities for Department2:
| {{{field|city|input type=dropdown|values=City4,City5,City6}}}
|}
|}
</div>


{{{end template}}}
{{{end template}}}
Línea 28: Línea 25:
{{{standard input|save}}} {{{standard input|cancel}}}
{{{standard input|save}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>
[[category:test]]

Revisión actual - 18:06 13 ago 2016


{{#forminput:form=Test|size=25|button text=Create or edit test}}