« Modèle:Book » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 3 : Ligne 3 :
<pre>
<pre>
{{Book
{{Book
|Title=
|Authors=
|Author=
|Genres=
|Publisher=
|Year=
|Publishing year=
|Number of pages=
|Publishing country=
|ISBN=
|Rating=
}}
}}
</pre>
</pre>
Modifiez la page pour voir le texte du modèle.
Modifiez la page pour voir le texte du modèle.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
</noinclude><includeonly>{| class="wikitable"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! Author(s)
| {{#arraymap:{{{Authors|}}}|,|x|[[Was written by::x]]}}
|-
|-
! Title
! Genre(s)
| [[Has book title::{{{Title|}}}]]  
| {{#arraymap:{{{Genres|}}}|,|x|[[Has genre::x]]}}
|-
|-
! Authors
! Year of publication
| {{#arraymap:{{{Author|}}}|,|x|[[Has author::x]]}}
| [[Was published in year::{{{Year|}}}]]  
|-
|-
! Publisher
! Number of pages
| [[Has book publisher::{{{Publisher|}}}]]
| [[Has number of pages::{{{Number of pages|}}}]]  
|-
! Publishing year
| [[Has book publishing year::{{{Publishing year|}}}]]
|-
! Publishing country
| [[Has book publishing country::{{{Publishing country|}}}]]
|-
! ISBN
| [[Has book ISBN::{{{ISBN|}}}]]
|-
! Rating
| [[Has book rating::{{{Rating|}}}]]  
|}
|}


[[Category:Book]]
[[Catégorie:Books]]
</includeonly>
</includeonly>
<noinclude>[[Category:Book form]]</noinclude>

Version du 4 décembre 2016 à 07:48

Ceci est le modèle « Book ». Il devrait être appelé selon le format suivant :

{{Book
|Authors=
|Genres=
|Year=
|Number of pages=
}}

Modifiez la page pour voir le texte du modèle.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.