Vorlage:RelatedGuide: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
K (1 Version importiert: MW1.35 - common pages all wikis) |
||
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
__NOEDITSECTION__<includeonly>{{#default_form:RelatedGuide}}{{#if:{{{image}}}|<div class="related-guide"> | __NOEDITSECTION__<includeonly>{{#default_form:RelatedGuide}}{{#if:{{{image}}}|<div class="related-guide noexport"> | ||
<div class="related-guide-image">[[file:{{{image}}}|class=img- | <div class="related-guide-image">[[file:{{{image}}}|class=img-fluid|link={{{link|}}}|{{{btn-text}}}]]</div> | ||
<div class="related-guide-details"> | <div class="related-guide-details"> | ||
<div class="related-guide-title">{{{title}}}</div> | <div class="related-guide-title">{{{title}}}</div> |
Aktuelle Version vom 17. Mai 2022, 07:53 Uhr
This template is used to add a "related guide" block (in chapter landing pages, for example).
You can call this template in the following format:
{{RelatedGuide |image= |title= |text= |btn-text= |link= }}
Edit the page to see the template text.
This template is used to add a "related guide" block (in chapter landing pages, for example). Details on its parameters
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Image | image | The image to show (recommended size = 140x198px but not mandatory)
| Datei | erforderlich |
Title | title | Title of the highlight
| Unbekannt | erforderlich |
Text | text | Text giving details about this highlight | Unausgeglichener Wikitext | vorgeschlagen |
Button or link text | btn-text | The text of the link/button
| Mehrzeiliger Text | erforderlich |
Link | link | Link of the Call To Action (can be a wiki page name or an external url)
| Mehrzeiliger Text | erforderlich |