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

Template:LinkIcon: Difference between revisions

Template page
(Created page with "<div class="profile-iconbox"> <div class="profile-iconbox__img">{{Dimg|{{#avatar:{{{name|{{PAGENAME}}}}}|l}}}}</div> <div class="profile-iconbox__foreground"> <div class="profile-iconbox__label">{{{label|User profile}}}</div> <h3 class="profile-iconbox__header">{{{header|{{PAGENAME}}}}}</h3> </div> </div>")
 
(Update to be more general)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="profile-iconbox">
<div class="profile-iconbox">
<div class="profile-iconbox__img">{{Dimg|{{#avatar:{{{name|{{PAGENAME}}}}}|l}}}}</div>
<div class="profile-iconbox__img">{{#if:{{{image|}}}|{{Dimg|{{{image}}}}}|[[File:CubeyBanner.png|link=Home|400px]]}}</div>
<div class="profile-iconbox__foreground">
<div class="profile-iconbox__foreground">
<div class="profile-iconbox__label">{{{label|User profile}}}</div>
<div class="profile-iconbox__label">{{{label|Description}}}</div>
<h3 class="profile-iconbox__header">{{{header|{{PAGENAME}}}}}</h3>
<h3 class="profile-iconbox__header">{{{header|{{{name|{{{1|Page title}}}}}}}}}</h3>
</div>
</div>
</div>
</div>
<templatestyles src="Template:LinkIcon/styles.css"/>
<noinclude>{{/doc}}</noinclude>

Latest revision as of 03:04, 30 April 2023

CubeyBanner.png
Description

Page title

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:LinkIcon/doc. Changes can be proposed in the talk page.

{{LinkIcon}} creates a clickable image link with a customizable description and title.

Create a clickable image link with a customizable description and title.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

The image to use as a display. This image must contain the link and size properties for this template to function.

Default
[[File:CubeyBanner.png|link=Home|400px]]
Example
[[File:CubeyBanner.png|link=Home|400px]]
Filerequired
Page namelabel

The main bolded text to display under the description. Often a page title.

Example
Home
Page namerequired
Descriptionheader

The description for the link. Ideally should only be a couple words, maximum.

Example
Featured page
Stringrequired