« Modèle:Books » : différence entre les versions
De Semantic MediaWiki - Sandbox
(new) |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(16 versions intermédiaires par 4 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
< | <noinclude> | ||
== Description == | |||
This is the template to display books. See also the [[Template:BooksRatingQuery|"BooksRatingQuery" template (ratings)]] embedded on this template. | |||
== Code == | |||
<pre> | |||
== Title == | == Title == | ||
[[Has book title::{{{Title|}}}]] | [[Has book title::{{{Title|}}}]] | ||
Ligne 11 : | Ligne 16 : | ||
== Published == | == Published == | ||
[[Has book publishing year::{{{Publishing year|}}}]], [[Has book publishing country::{{{Publishing country|}}}]] | [[Has book publishing year::{{{Publishing year|}}}]], [[Has book publishing country::{{{Publishing country|}}}]] | ||
== Language == | |||
[[Has book publishing language::{{{Publishing language|}}}]] | |||
== ISBN == | == ISBN == | ||
Ligne 16 : | Ligne 24 : | ||
== Rating == | == Rating == | ||
[[Has book | {{#set: | ||
|Has book rating={{{Rating|}}} | |||
|template=BooksRatingQuery | |||
}} | |||
[[Category:Books]] | |||
</pre> | |||
[[Category:Display template]]</noinclude><includeonly> | |||
== Title == | |||
[[Has book title::{{{Title|}}}]] | |||
== Author == | |||
[[Has book author::{{{Author|}}}]] | |||
== Publisher == | |||
[[Has book publisher::{{{Publisher|}}}]] | |||
== Published == | |||
[[Has book publishing year::{{{Publishing year|}}}]], [[Has book publishing country::{{{Publishing country|}}}]] | |||
== Language == | |||
[[Has book publishing language::{{{Publishing language|}}}]] | |||
== ISBN == | |||
[[Has book ISBN::{{{ISBN|}}}]] | |||
== Rating == | |||
{{#set: | |||
|Has book rating={{{Rating|}}} | |||
|template=BooksRatingQuery | |||
}} | |||
{{#default_form:Books}} | |||
[[Category:Books]] | [[Category:Books]] | ||
[[Category:Literature example]] | |||
{{DEFAULTSORT:{{lc:{{PAGENAME}}}}}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | |||
== Template data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Title": { | |||
"label": { | |||
"de": "Titel" | |||
}, | |||
"type": "string", | |||
"suggested": true, | |||
"description": { | |||
"de": "Überlicherweise besteht der Titel eines Buches nur aus wenigen Worten." | |||
} | |||
}, | |||
"Author": { | |||
"label": { | |||
"de": "Autor" | |||
}, | |||
"suggested": true | |||
}, | |||
"Publisher": {}, | |||
"Publishing year": { | |||
"label": { | |||
"de": "Jahr der Veröffentlichung" | |||
}, | |||
"suggested": true | |||
}, | |||
"Publishing country": { | |||
"label": { | |||
"de": "Land der Veröffentlichung" | |||
} | |||
}, | |||
"Publishing language": { | |||
"label": { | |||
"de": "Sprache der Veröffentlichung" | |||
} | |||
}, | |||
"ISBN": {}, | |||
"Rating": {} | |||
}, | |||
"description": "Books are important (fr)" | |||
} | |||
</templatedata> | |||
__NOEDITSECTION__ | |||
</noinclude> |
Dernière version du 21 février 2024 à 15:29
Description
This is the template to display books. See also the "BooksRatingQuery" template (ratings) embedded on this template.
Code
== Title == [[Has book title::{{{Title|}}}]] == Author == [[Has book author::{{{Author|}}}]] == Publisher == [[Has book publisher::{{{Publisher|}}}]] == Published == [[Has book publishing year::{{{Publishing year|}}}]], [[Has book publishing country::{{{Publishing country|}}}]] == Language == [[Has book publishing language::{{{Publishing language|}}}]] == ISBN == [[Has book ISBN::{{{ISBN|}}}]] == Rating == {{#set: |Has book rating={{{Rating|}}} |template=BooksRatingQuery }} [[Category:Books]]
Template data
Books are important (fr)
Paramètre | Description | Type | État | |
---|---|---|---|---|
Title | Title | aucune description | Chaîne | suggéré |
Author | Author | aucune description | Inconnu | suggéré |
Publisher | Publisher | aucune description | Inconnu | facultatif |
Publishing year | Publishing year | aucune description | Inconnu | suggéré |
Publishing country | Publishing country | aucune description | Inconnu | facultatif |
Publishing language | Publishing language | aucune description | Inconnu | facultatif |
ISBN | ISBN | aucune description | Inconnu | facultatif |
Rating | Rating | aucune description | Inconnu | facultatif |