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

Template:Library card: Difference between revisions

Template page
No edit summary
No edit summary
Line 9: Line 9:
-->
-->


<div class="library-card" style="position: relative; top: {{{top|0}}}; left: {{{left|0}}};">
<div class="library-card">
[[File:{{{image|}}}|class=library-card-image|link=Category:{{{category|}}}|200px]]
<div class="library-card-image" style="position:relative; top:{{{top|0}}}; left:{{{left|0}}};>
[[File:{{{image|}}}|link=Category:{{{category|}}}|200px]]
</div>
<div class="library-card-content">
<div class="library-card-content">
<h3 class="library-card-title">{{{name|}}}</h3><p class="library-card-work">&nbsp;({{#invoke:Number of works|getWorkCount|category={{{category}}}}} works)</p>
<h3 class="library-card-title">{{{name|}}}</h3><p class="library-card-work">&nbsp;({{#invoke:Number of works|getWorkCount|category={{{category}}}}} works)</p>

Revision as of 11:59, 5 July 2023


[[File:|link=Category:|200px]]

 (0 works works)


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

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

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
Contents