« Formulaire:BooksQuery » : différence entre les versions

De Semantic MediaWiki - Sandbox

(chg)
(chg)
 
(5 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<noinclude>This is the "BooksQuery" form. It is used via [[Special:RunQuery/BooksQuery|special page "BooksQuery"]]. The corresponding query template is [[Template:BooksQuery|"BooksQuery"]].
<noinclude>This is the "BooksQuery" form. It is used via [[Special:RunQuery/BooksQuery|special page "BooksQuery"]]. The corresponding query template is [[Template:BooksQuery|"BooksQuery"]].
{{#queryformlink:form=BooksQuery|link text=Search for books|link type=post button}}


== Form Code ==
== Form Code ==
Ligne 8 : 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | Rating:
! Rating:
| {{{field|rating|input type=text with autocomplete|values from property=Has book rating|size=2|maxlength=1|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book ratings.''</span>
| {{{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 36 : 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | 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.''</span>
| {{{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>
|-
|-
! style="width: 100px" | Rating:
! Rating:
| {{{field|rating|input type=text with autocomplete|values from property=Has book rating|size=2|maxlength=1|autocompletion}}}<br><span style="color: #767676">Note that the field uses autocompletion on existing book ratings.''</span>
| {{{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}}}
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.