Formulaire:BooksQuery
De Semantic MediaWiki - Sandbox
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}}}