Diferencia entre revisiones de «Formulario:Test»

De CNB
Ir a la navegación Ir a la búsqueda
Busca en cnbGuatemala con Google

 
(No se muestran 15 ediciones intermedias del mismo usuario)
Línea 6: Línea 6:
  
 
{{{for template|Test}}}
 
{{{for template|Test}}}
==All colors==
+
=Tree field=
{{{field|allcolors|input type=SF_Select|query=((Category:Colors));format~list;sep~,;link~none;headers~hide;limit~500}}}
+
{{{field|test-field|input type=tree|top category=A
 +
}}}
  
==Conditional colors==
+
=Author stuff=
Color type: {{{field|Colortype|input type=text with autocomplete|property=has color type}}} (eg. dark or bright)
+
{| class="formtable"
 
+
! I'm the author (or I know the username of the author):
 
+
| {{{field|istheauthor|input type=checkbox|show on select=author-section}}}
Color: {{{field|ColorColor|input type=text with autocomplete|values from property=has color}}} (eg. red or blue)
+
|}
 
 
 
 
The complete color: {{{field|Color|input type=SF_Select|query=((Has color::@@@@));format~list;sep~,;link~none;headers~hide;limit~500}}}
 
  
 +
{| class="formtable" id = "author-section"
 +
! Author username:
 +
| {{{field|authorusername|input type = text|default=current user}}}
 +
|}
  
 
{{{end template}}}
 
{{{end template}}}

Revisión actual del 00:06 14 ago 2016