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

De ProleWiki
(Page créée avec « <noinclude> {{#seo: |image={{#if {{{image}}} | {{{image}}} }} |title={{#if {{{name}}} | {{{name}}} | {{{title}}} }}|title_mode=replace |author={{{author}}} |published_time={{{date}}} }} </noinclude> <templatestyles src="Infobox_essay/style.css" /> <!-- This template is used to format essay metadata to be used in the blog page. Usage: {{Infobox_essay |image=illustrative image to be used in the essays homepage. Not required. |name=What you want to renam... »)
 
Aucun résumé des modifications
Ligne 25 : Ligne 25 :
<div class="infobox-essay">
<div class="infobox-essay">


<span class="essay-disappear2"><big>[[ProleWiki:Essays| ← Back to all essays]]</big></span>
<span class="essay-disappear2"><big>[[ProleWiki:Essays| ← Retour]]</big></span>
<span class="essay-disappear essay-template-title">'''[[Essay:{{{title|}}}|{{#if: {{{name|}}} | {{{name}}} | {{{title}}} }}]]'''</span>
<span class="essay-disappear essay-template-title">'''[[Essay:{{{title|}}}|{{#if: {{{name|}}} | {{{name}}} | {{{title}}} }}]]'''</span>


<div class="essay-flex">
<div class="essay-flex">
<div class="essay-picture">[[File:{{{image|Placeholder-image.png}}}|link=Essay:{{{title|}}}]]</div>
<div class="essay-picture">[[File:{{{image|Placeholder-image.png}}}|link=Essai:{{{title|}}}]]</div>
<div class="essay-content">
<div class="essay-content">
<span class="essay-small">
<span class="essay-small">
by [[Comrade:{{{author|}}}|{{{author|}}}]]<br>
de [[Camarade:{{{author|}}}|{{{author|}}}]]<br>
Published: {{{date|}}} <span class="essay-disappear2">(last update: {{#time:Y-m-d|{{REVISIONTIMESTAMP}}}})</span><br>
Publié le : {{{date|}}} <span class="essay-disappear2">(mis à jour : {{#time:Y-m-d|{{REVISIONTIMESTAMP}}}})</span><br>
<span class="essay-light">{{#invoke:Reading time|estimateReadingTime|Essay:{{{title}}}}}</span><br></span>
<span class="essay-light">{{#invoke:Reading time|estimateReadingTime|Essay:{{{title}}}}}</span><br></span>
<div class="essay-offset essay-disappear">{{{excerpt|}}}<br><br>
<div class="essay-offset essay-disappear">{{{excerpt|}}}<br><br>
[[Essay:{{{title|}}}|Read more]]
[[Essay:{{{title|}}}|Lire plus]]
</div>
</div>
</div>
</div>

Version du 23 septembre 2023 à 16:14



← Retour [[Essay:|{{{title}}}]]

link=Essai:

de [[Camarade:|]]
Publié le : (mis à jour : 2023-09-23)
Erreur Lua dans Module:Reading_time à la ligne 14 : attempt to index a nil value.



[[Essay:|Lire plus]]

Aucune description.

Paramètres du modèle[Modifier les données du modèle]

ParamètreDescriptionTypeÉtat
Titletitle

Title of the essay. Used to create the link automatically, no need to add the namespace. Case-sensitive.

Chaîneobligatoire
Namename

What you want to rename your essay to, only in the frontend. Not required. If unspecified, will use TITLE parameter.

Chaînefacultatif
Imageimage

Illustrative banner style image (wide). If not specified, will use a placeholder.

Par défaut
Placeholder-image.png
Chaînefacultatif
Authorauthor

Your username, or the essay's author. Case-sensitive.

Chaîneobligatoire
Datedate

YYYY-mm-dd format. Date of first saved edit, i.e. first publication on ProleWiki

Dateobligatoire
Excerptexcerpt

A brief excerpt from the essay (first or first two paragraphs)

Chaîneobligatoire