« Formulaire:BooksQuery » : différence entre les versions
De Semantic MediaWiki - Sandbox
(this does not make sense to have it here) |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
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 == |
Version du 7 mai 2018 à 16:18
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> |- ! style="width: 100px" | 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> |- ! style="width: 100px" | 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> |- ! style="width: 100px" | 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> |- ! style="width: 100px" | 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> |- ! style="width: 100px" | 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}}}