Busca en cnbGuatemala con Google
165 bytes eliminados
, hace 8 años
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|field=ColorColor}}
| |
| | | |
| + | {| class="formtable" id = "author-section" |
| + | ! Author username: |
| + | | {{{field|authorusername|input type = text|default=current user}}} |
| + | |} |
| | | |
| {{{end template}}} | | {{{end template}}} |