« Modèle:Books » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Weitere Erweiterungen der TemplateData) Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(8 versions intermédiaires par 4 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
This is the display | == Description == | ||
This is the template to display books. See also the [[Template:BooksRatingQuery|"BooksRatingQuery" template (ratings)]] embedded on this template. | |||
== | == Code == | ||
<pre> | <pre> | ||
== Title == | == Title == | ||
Ligne 54 : | Ligne 55 : | ||
|template=BooksRatingQuery | |template=BooksRatingQuery | ||
}} | }} | ||
{{#default_form:Books}} | |||
[[Category:Books]] | [[Category:Books]] | ||
[[Category:Literature example]] | [[Category:Literature example]] | ||
{{DEFAULTSORT:{{lc:{{PAGENAME}}}}}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
== Template data == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Ligne 96 : | Ligne 100 : | ||
"ISBN": {}, | "ISBN": {}, | ||
"Rating": {} | "Rating": {} | ||
} | }, | ||
"description": "Books are important (fr)" | |||
} | } | ||
</templatedata> | </templatedata> | ||
__NOEDITSECTION__ | |||
</noinclude> | </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 |