Différences entre versions de « Citation-fr »
De Mi caja de notas
Ligne 1 : | Ligne 1 : | ||
− | <includeonly><span class="h-cite">{{#if: {{{published|}}}|<span class="dt-published">{{{published}}}</span> }}{{#if: {{{author|}}}|<span class="p-author">{{{author}}}</span>: }}<cite><a class="u-url p-name" href="{{{url}}}">{{{title}}}</a></cite>{{#if: {{{archiveurl|}}}| (<a href="{{{archiveurl}}}" class="u-url"> | + | <includeonly><span class="h-cite">{{#if: {{{published|}}}|<span class="dt-published">{{{published}}}</span> }}{{#if: {{{author|}}}|<span class="p-author">{{{author}}}</span>: }}<cite><a class="u-url p-name" href="{{{url}}}">{{{title}}}</a></cite>{{#if: {{{archiveurl|}}}| (<a href="{{{archiveurl}}}" class="u-url">archive</a>)}}</span></includeonly><noinclude>{{citation-fr/doc}}</noinclude> |
Version du 30 mars 2018 à 01:04
Ce modèle est utilisé pour générer une citation avec les microformats h-cite appropriés.
Modèle blanc
Copiez, collez et remplissez avec l'information :
{{citation-fr | title = | url = | author = | published = | archiveurl = }}
Paramètres
- title
- titre du travail étant cité
- url
- URL du travail étant cité.
- author
- nom de l'auteur (facultatif, mais recommandé)
- published
- date de publication au format AAAA-MM-JJ (facultatif, mais recommandé)
- archiveurl
- URL de la copie archivée telle que Wayback Machine (facultatif, mais recommandé)
Exemples
{{citation-fr | title = Remember WordPress' Pingbacks? The W3C wants us to use them across the whole web | url = http://www.theregister.co.uk/2016/02/18/remember_wordpress_pingbacks_the_w3c_wants_us_to_use_them_across_the_whole_web/ | author = [https://luxagraf.net/ Scott Gilbertson] | published = 2016-02-18 | archiveurl = http://web.archive.org/web/20170629220602/http://www.theregister.co.uk/2016/02/18/remember_wordpress_pingbacks_the_w3c_wants_us_to_use_them_across_the_whole_web/ }}
Générera :
2016-02-18 : Remember WordPress' Pingbacks? The W3C wants us to use them across the whole web (archive)
{{citation-fr | title = <A> | url = https://adactio.com/articles/10887 | author = {{adactio}} | published = 2016-06-28 | archiveurl = http://web.archive.org/web/20170629220709/https://adactio.com/articles/10887 }}
Générera: