Vorlage:LinkIcon: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<div class="profile-iconbox"> |
|||
<div class="profile-iconbox__img">{{#if:{{{image|}}}|{{Dimg|{{{image}}}}}|[[File:MainMangaGuideThumb.jpg|link=Home|150px]]}}</div> |
|||
{{Documentation}} |
|||
<div class="profile-iconbox__foreground"> |
|||
<div class="profile-iconbox__label">{{{label|Description}}}</div> |
|||
{{tl|LinkIcon}} creates a clickable image link with a customizable description and title. |
|||
<h3 class="profile-iconbox__header">{{{header|{{{name|{{{1|Page title}}}}}}}}}</h3> |
|||
</div> |
|||
<templatedata> |
|||
</div> |
|||
{ |
|||
<templatestyles src="Template:LinkIcon/styles.css"/> |
|||
"params": { |
|||
<noinclude>{{/doc}}</noinclude> |
|||
"image": { |
|||
"label": "Image", |
|||
"description": "The image to use as a display. This image must contain the link and size properties for this template to function.", |
|||
"example": "[[File:CubeyBanner.png|link=Home|400px]]", |
|||
"type": "wiki-file-name", |
|||
"default": "[[File:CubeyBanner.png|link=Home|400px]]", |
|||
"required": true |
|||
}, |
|||
"label": { |
|||
"label": "Page name", |
|||
"description": "The main bolded text to display under the description. Often a page title. ", |
|||
"example": "Home", |
|||
"type": "wiki-page-name", |
|||
"required": true |
|||
}, |
|||
"header": { |
|||
"label": "Description", |
|||
"description": "The description for the link. Ideally should only be a couple words, maximum.", |
|||
"example": "Featured page", |
|||
"type": "string", |
|||
"required": true |
|||
} |
|||
}, |
|||
"description": "Create a clickable image link with a customizable description and title.", |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
Aktuelle Version vom 19. Mai 2025, 15:36 Uhr
Diese Dokumentation wird von Vorlage:LinkIcon/doc aus übernommen. Änderungen können auf der Diskussionsseite vorgeschlagen werden.
LinkIcon creates a clickable image link with a customizable description and title.
Create a clickable image link with a customizable description and title.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Image | image | The image to use as a display. This image must contain the link and size properties for this template to function.
| Datei | erforderlich |
| Page name | label | The main bolded text to display under the description. Often a page title.
| Seitenname | erforderlich |
| Description | header | The description for the link. Ideally should only be a couple words, maximum.
| Mehrzeiliger Text | erforderlich |
