Template:Library card: Difference between revisions

Template page
m (Using :Category for direct links)
m (Treating the whole div library-card-content as a big ass wikilink)
Line 13: Line 13:
[[File:{{{image|}}}|link=Category:{{{category|}}}|225px]]
[[File:{{{image|}}}|link=Category:{{{category|}}}|225px]]
</div>
</div>
<div class="library-card-content">
[[:Category:{{{category|}}}|<div class="library-card-content">
<h3 class="library-card-title">[[:Category:{{{category|}}}|{{{name|}}}]]</h3><p class="library-card-works">&nbsp;({{#invoke:Number of works|getWorkCount|category={{{category}}}}} works)</p>
<h3 class="library-card-title">{{{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:37, 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