Template:Library card mini: Difference between revisions

Template page
No edit summary
(making mini cards' image wider and putting text under it to conform better to the other cards)
Line 9: Line 9:
<div class="library-card-mini">
<div class="library-card-mini">
<h6 class="library-card-mini-TOC">{{{name}}}</h6>
<h6 class="library-card-mini-TOC">{{{name}}}</h6>
<span class="library-card-mini-content">
<div class="library-card-mini-image"> [[File:{{{image|Placeholder-image.png}}}|link={{{link}}}]]</div>
[[File:{{{image|Placeholder-image.png}}}|link={{{link}}}]]
<div class="library-card-mini-text">{{{text}}}</div>
<span class="library-card-mini-text">{{{text}}}</span>
</span>
</div>
</div>
<!--
<!--

Revision as of 22:26, 30 September 2023

{{{name}}}
link={{{link}}}
{{{text}}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

The image filename or URL, with extension (.jpg etc)

Stringoptional
texttext

Any text you want to appear next to the image, takes wikilinks (within square brackets).

Stringrequired
namename

The name you want to appear in the table of contents.

Stringrequired
linklink

The link you want the image to redirect to (normally same as within the text).

Stringrequired