Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox essay: Difference between revisions

Template page
(typo)
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#seo:
{{#seo:
|image={{#if: {{{image|}}}|{{{image}}}|}}
|image={{#if: {{{image|}}} | {{{image}}}|}}
|title={{#if: {{{name|}}}|{{{name}}}|{{{title}}}}} - ProleWiki
|title={{#if: {{{name|}}}|{{{name}}}|{{{title}}}}} - ProleWiki
|author={{{author}}}
|author={{{author}}}
Line 8: Line 8:
<templatestyles src="Infobox_essay/style.css" />
<templatestyles src="Infobox_essay/style.css" />
<!--  
<!--  
   This template is used to format essay metadata to be used in the blog page.
   This template is used to format essay metadata to be used in the blog/essays page.


   Usage:
   Usage:
Line 24: Line 24:
<div class="infobox-essay">
<div class="infobox-essay">


<span class="essay-disappear2"><big>[[ProleWiki:Essays| ← Back to all essays]] | {{#ifeq: {{{author|}}} | Open source | [[:Category:Open Source essays|Author's essays]] | [[:Category:Essays by {{{author|}}}|Author's essays]] }} </big></span>
<span class="essay-disappear2"><big>[[ProleWiki:Essays| ← Back to all essays]] | {{#ifeq: {{{author}}} |Open source| [[:Category:Open source essays|Author's essays]] | [[:Category:Essays by {{{author|}}}|Author's essays]] }} </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>


Line 33: Line 33:
<div class="essay-content">
<div class="essay-content">
<span class="essay-small">
<span class="essay-small">
by [[Comrade:{{{author|}}}|{{{author|}}}]] {{#if: {{{repost|}}} |{{!}} This essay was '''republished''' with permission from the author who is '''not''' a ProleWiki editor<br>}}<br>
by [[Comrade:{{{author|}}}|{{{author|}}}]] {{#if: {{{repost|}}} |{{!}} This essay was republished with permission from the author<br>}}<br>
Published: {{{date|}}} <span class="essay-disappear2">(last update: {{#time:Y-m-d|{{REVISIONTIMESTAMP}}}})</span><br>
Published: {{{date|}}} <span class="essay-disappear2">(last update: {{#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>

Latest revision as of 16:54, 4 October 2024

← Back to all essays | Author's essays [[Essay:|{{{title}}}]]

link=Essay:

by [[Comrade:|]]
Published: (last update: 2024-10-04)
Lua error in Module:Reading_time at line 14: attempt to index a nil value.



[[Essay:|Read more]]

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

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

Stringrequired
Namename

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

Stringoptional
Imageimage

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

Default
Placeholder-image.png
Stringoptional
Authorauthor

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

Stringrequired
Datedate

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

Daterequired
Excerptexcerpt

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

Stringrequired
Repostrepost

If yes, will inform readers this essay is a republish and was not written by ProleWiki editors

Stringoptional