Template:Library card: Difference between revisions

Template page
No edit summary
m (Attempt to implement rough link using wikilinks)
Line 14: Line 14:
</div>
</div>
<div class="library-card-content">
<div class="library-card-content">
<h3 class="library-card-title">{{{name|}}}</h3><p class="library-card-works">&nbsp;({{#invoke:Number of works|getWorkCount|category={{{category}}}}} works)</p>
<h3 class="library-card-title">[[Category:{{{category|}}}|{{{name|}}}]]</h3><p class="library-card-works">&nbsp;({{#invoke:Number of works|getWorkCount|category={{{category}}}}} works)</p>
</div>
</div>
</div>
</div>

Revision as of 12:34, 5 July 2023


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

[[Category:|]]

 (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