Weitere Sprachen
Weitere Optionen
Jaiden (Diskussion | Beiträge) Die Seite wurde neu angelegt: „<noinclude>'''Do not edit this template. It is used for the homepage. You probably want Template:Infobox essay instead.'''</noinclude> <templatestyles src="Infobox_essay/style.css" /> <!-- This template is used to format essay metadata to be used in the blog/essays page. Usage: {{Infobox_essay |image=illustrative image to be used in the essays homepage. Not required. |name=What you want to rename your essay to, only in the frontend.…“ |
Keine Bearbeitungszusammenfassung |
||
| (Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<noinclude>'''Do not edit this template. It is used for the homepage. You probably want [[Template:Infobox essay]] instead.'''</noinclude> | <noinclude>'''Do not edit this template. It is used for the homepage. You probably want [[Template:Infobox essay]] instead.'''</noinclude> | ||
<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/essays page. | This template is used to format essay metadata to be used in the blog/essays page. | ||
Usage: | Usage: | ||
{{Infobox_essay | {{Infobox_essay | ||
|image=illustrative image to be used in the essays homepage. Not required. | |image=illustrative image to be used in the essays homepage. Not required. | ||
|name=What you want to rename your essay to, only in the frontend. Not required. If unspecified, will use TITLE parameter. | |name=What you want to rename your essay to, only in the frontend. Not required. If unspecified, will use TITLE parameter. | ||
|title=Title of the essay. Used to create the link automatically, no need to add the namespace | |title=Title of the essay. Used to create the link automatically, no need to add the namespace | ||
|author=Your username | |author=Your username | ||
|repost=Yes if it's a repost, leave blank otherwise. Will add a mention after author's name to say "This essay was republished with permission and was not written by a ProleWiki editor". | |repost=Yes if it's a repost, leave blank otherwise. Will add a mention after author's name to say "This essay was republished with permission and was not written by a ProleWiki editor". | ||
|date=Date of first edit committed | |date=Date of first edit committed | ||
|excerpt=A brief excerpt from the essay (first paragraph) | |excerpt=A brief excerpt from the essay (first paragraph) | ||
}} | }} | ||
--> | --> | ||
<div class="infobox-essay"> | <div class="infobox-essay"> | ||
<span class="essay-disappear2"><big>[[ProleWiki:Essays| ← Zurück zu allen Essays]] | {{#ifeq: {{{author}}} |Open source| [[:Kategorie:Open Source Essays|Mehr von dieser*m Autor*in]] | [[:Kategorie:Essays von {{{author|}}}|Mehr von dieser*m Autor*in]] }} </big></span> | |||
<span class="essay-disappear2"><big>[[ProleWiki:Essays| ← | |||
<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=Essay:{{{title|}}}]]</div> | ||
<div class="essay-content"> | <div class="essay-content"> | ||
<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> | ||
<span class="essay-small"> | <span class="essay-small"> | ||
von [[Genosse:{{{author|}}}|{{{author|}}}]] {{#if: {{{repost|}}} |{{!}} This essay was republished with permission from the author<br>}}<br> | |||
Veröffentlicht: {{{date|}}} <span class="essay-disappear2">(last update: {{#time:Y-m-d|{{REVISIONTIMESTAMP}}}})</span><br> | |||
<span class="essay-light">{{#invoke:Lesezeit|estimateReadingTime|Essay:{{{title}}}}}</span><br></span> | |||
<span class="essay-light">{{#invoke: | |||
<div class="essay-offset essay-disappear">{{{excerpt|}}}<br><br> | <div class="essay-offset essay-disappear">{{{excerpt|}}}<br><br> | ||
[[Essay:{{{title|}}}|Lies mehr]] | |||
[[Essay:{{{title|}}}| | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- | <!-- | ||
@param title Essay title as it appears in the URL (case-sensitive). | @param title Essay title as it appears in the URL (case-sensitive). | ||
@param image Banner image to illustrate your essay. If not specified, a placeholder will be used. | @param image Banner image to illustrate your essay. If not specified, a placeholder will be used. | ||
@param author Your username (case-sensitive). | @param author Your username (case-sensitive). | ||
@param date Date the essay was first published (YYYY-mm-dd), usually the date of the first edit saved. | @param date Date the essay was first published (YYYY-mm-dd), usually the date of the first edit saved. | ||
--> | --> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"title": { | "title": { | ||
"label": "Titel", | |||
"label": " | |||
"description": "Title of the essay. Used to create the link automatically, no need to add the namespace. Case-sensitive.", | "description": "Title of the essay. Used to create the link automatically, no need to add the namespace. Case-sensitive.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "What you want to rename your essay to, only in the frontend. Not required. If unspecified, will use TITLE parameter.", | "description": "What you want to rename your essay to, only in the frontend. Not required. If unspecified, will use TITLE parameter.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "Bild", | |||
"label": " | |||
"description": "Illustrative banner style image (wide). If not specified, will use a placeholder.", | "description": "Illustrative banner style image (wide). If not specified, will use a placeholder.", | ||
"type": "string", | "type": "string", | ||
"default": "Placeholder-image.png", | "default": "Placeholder-image.png", | ||
"required": false | "required": false | ||
}, | }, | ||
"author": { | "author": { | ||
"label": "Autor*in", | |||
"label": " | |||
"description": "Your username, or the essay's author. Case-sensitive.", | "description": "Your username, or the essay's author. Case-sensitive.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"date": { | "date": { | ||
"label": "Datum", | |||
"label": " | |||
"description": "YYYY-mm-dd format. Date of first saved edit, i.e. first publication on ProleWiki", | "description": "YYYY-mm-dd format. Date of first saved edit, i.e. first publication on ProleWiki", | ||
"type": "date", | "type": "date", | ||
"required": true | "required": true | ||
}, | }, | ||
"excerpt": { | "excerpt": { | ||
"label": "Ausschnitt", | |||
"label": " | |||
"description": "A brief excerpt from the essay (first or first two paragraphs)", | "description": "A brief excerpt from the essay (first or first two paragraphs)", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"repost": { | "repost": { | ||
"label": "Repost", | "label": "Repost", | ||
"description": "If yes, will inform readers this essay is a republish and was not written by ProleWiki editors", | "description": "If yes, will inform readers this essay is a republish and was not written by ProleWiki editors", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Aktuelle Version vom 11. Mai 2025, 12:35 Uhr
Do not edit this template. It is used for the homepage. You probably want Template:Infobox essay instead.
Keine Beschreibung.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Titel | title | Title of the essay. Used to create the link automatically, no need to add the namespace. Case-sensitive. | Mehrzeiliger Text | erforderlich |
| Name | name | What you want to rename your essay to, only in the frontend. Not required. If unspecified, will use TITLE parameter. | Mehrzeiliger Text | optional |
| Bild | image | Illustrative banner style image (wide). If not specified, will use a placeholder.
| Mehrzeiliger Text | optional |
| Autor*in | author | Your username, or the essay's author. Case-sensitive. | Mehrzeiliger Text | erforderlich |
| Datum | date | YYYY-mm-dd format. Date of first saved edit, i.e. first publication on ProleWiki | Datum | erforderlich |
| Ausschnitt | excerpt | A brief excerpt from the essay (first or first two paragraphs) | Mehrzeiliger Text | erforderlich |
| Repost | repost | If yes, will inform readers this essay is a republish and was not written by ProleWiki editors | Mehrzeiliger Text | optional |
