Template:Library card: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 13: Line 13:
[[File:{{{image|Placeholder-image.png}}}|link=Category:{{{category|}}}|{{{desc|}}}]]
[[File:{{{image|Placeholder-image.png}}}|link=Category:{{{category|}}}|{{{desc|}}}]]
</div>
</div>
[[:Category:{{{category|}}}|<div class="library-card-content">
[[:Category:{{{category|}}}|
<p class="library-card-title">{{{name|}}}</p><p class="library-card-works"><br>({{#invoke:Number of works|getWorkCount|category={{{category}}}}})</p>]]
<div class="library-card-content">
<p class="library-card-title">{{{name|}}}</p><p class="library-card-works"><br>({{#invoke:Number of works|getWorkCount|category={{{category}}}}})</p>
]]
</div>
</div>
</div>
</div>

Latest revision as of 21:26, 12 May 2024

[[:Category:|


(0 works)

]]

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

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

Default
Placeholder-image.png
Stringrequired
categorycategory

The associated category name.

Stringrequired
namename

The name of the author or topic.

Stringrequired
toptop

The offset from the top in pixels for the image. Can be negative.

Stringoptional
leftleft

The offset from the left in pixels for the image. Can be negative.

Stringoptional
descdesc

The description you want to display when the user hovers over the link long enough.

Stringoptional