« Formulaire:BooksQuery » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(chg) |
||
Ligne 10 : | Ligne 10 : | ||
{| class="formtable" | {| class="formtable" | ||
! style="width: 100px" | Title: | ! style="width: 100px" | Title: | ||
| {{{field|title|input type=text with autocomplete|values from property=Has book title|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book titles. | | {{{field|title|input type=text with autocomplete|values from property=Has book title|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book titles.</span> | ||
|- | |- | ||
! Author: | ! Author: | ||
| {{{field|author|input type=text with autocomplete|values from property=Has book author|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book authors. | | {{{field|author|input type=text with autocomplete|values from property=Has book author|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book authors.</span> | ||
|- | |- | ||
! Publisher: | ! Publisher: | ||
| {{{field|publisher|input type=text with autocomplete|values from property=Has book publisher|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publisher. | | {{{field|publisher|input type=text with autocomplete|values from property=Has book publisher|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publisher.</span> | ||
|- | |- | ||
! Publishing country: | ! Publishing country: | ||
| {{{field|country|input type=text with autocomplete|values from property=Has book publishing country|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing countries. | | {{{field|country|input type=text with autocomplete|values from property=Has book publishing country|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing countries.</span> | ||
|- | |- | ||
! Publishing year: | ! Publishing year: | ||
| {{{field|year|input type=text with autocomplete|values from property=Has book publishing year|size=5|maxlength=4|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing years. | | {{{field|year|input type=text with autocomplete|values from property=Has book publishing year|size=5|maxlength=4|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing years.</span> | ||
|- | |- | ||
! Rating: | ! Rating: | ||
| {{{field|rating|input type=text|size=2|maxlength=1|autocompletion}}}<br><span style="color: #767676">Possible ratings range from 1 to 4. | | {{{field|rating|input type=text|size=2|maxlength=1|autocompletion}}}<br><span style="color: #767676">Possible ratings range from 1 to 4.</span> | ||
|} | |} | ||
{{{standard input|run query|label=Start the search for books}}} | {{{standard input|run query|label=Start the search for books}}} | ||
Ligne 38 : | Ligne 38 : | ||
{| class="formtable" | {| class="formtable" | ||
! style="width: 100px" | Title: | ! style="width: 100px" | Title: | ||
| {{{field|title|input type=text with autocomplete|values from property=Has book title|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book titles. | | {{{field|title|input type=text with autocomplete|values from property=Has book title|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book titles.</span> | ||
|- | |- | ||
! Author: | ! Author: | ||
| {{{field|author|input type=text with autocomplete|values from property=Has book author|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book authors. | | {{{field|author|input type=text with autocomplete|values from property=Has book author|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book authors.</span> | ||
|- | |- | ||
! Publisher: | ! Publisher: | ||
| {{{field|publisher|input type=text with autocomplete|values from property=Has book publisher|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publisher. | | {{{field|publisher|input type=text with autocomplete|values from property=Has book publisher|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publisher.</span> | ||
|- | |- | ||
! Publishing country: | ! Publishing country: | ||
| {{{field|country|input type=text with autocomplete|values from property=Has book publishing country|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing countries. | | {{{field|country|input type=text with autocomplete|values from property=Has book publishing country|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing countries.</span> | ||
|- | |- | ||
! Publishing year: | ! Publishing year: | ||
| {{{field|year|input type=text with autocomplete|values from property=Has book publishing year|size=5|maxlength=4|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing years. | | {{{field|year|input type=text with autocomplete|values from property=Has book publishing year|size=5|maxlength=4|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing years.</span> | ||
|- | |- | ||
! Rating: | ! Rating: | ||
| {{{field|rating|input type=text|size=2|maxlength=1|autocompletion}}}<br><span style="color: #767676">Possible ratings range from 1 to 4. | | {{{field|rating|input type=text|size=2|maxlength=1|autocompletion}}}<br><span style="color: #767676">Possible ratings range from 1 to 4.</span> | ||
|} | |} | ||
{{{standard input|run query|label=Start the search for books}}} | {{{standard input|run query|label=Start the search for books}}} | ||
{{{end template}}}</includeonly> | {{{end template}}}</includeonly> |
Dernière version du 3 mars 2020 à 23:12
This is the "BooksQuery" form. It is used via special page "BooksQuery". The corresponding query template is "BooksQuery".
Form Code
{{{info|query form at top|query title=Search for books:}}} <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #aaa"></div> {{{for template|BooksQuery}}} {| class="formtable" ! style="width: 100px" | Title: | {{{field|title|input type=text with autocomplete|values from property=Has book title|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book titles.</span> |- ! Author: | {{{field|author|input type=text with autocomplete|values from property=Has book author|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book authors.</span> |- ! Publisher: | {{{field|publisher|input type=text with autocomplete|values from property=Has book publisher|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publisher.</span> |- ! Publishing country: | {{{field|country|input type=text with autocomplete|values from property=Has book publishing country|size=30|maxlength=50|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing countries.</span> |- ! Publishing year: | {{{field|year|input type=text with autocomplete|values from property=Has book publishing year|size=5|maxlength=4|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book publishing years.</span> |- ! Rating: | {{{field|rating|input type=text|size=2|maxlength=1|autocompletion}}}<br><span style="color: #767676">Possible ratings range from 1 to 4.</span> |} {{{standard input|run query|label=Start the search for books}}} {{{end template}}}