Template:Library card: Difference between revisions

Template page
No edit summary
No edit summary
Line 6: Line 6:
}}
}}
-->
-->
<div class="library-card">
<div class="library-card">
{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|link=Category:{{{category|}}}|frameless}}
<div style="display:inline;">
[[File:{{{image|}}}|class=library-card-image|link=Category:{{{category|}}}]]
</div>
<div class="library-card-content">
<div class="library-card-content">
<p><span class="library-card-title">{{{name|}}} <span class="library-card-works"> ({{#invoke:Number of works|getWorkCount|category={{{category}}}}} works)</span></p>
<p><span class="library-card-title">{{{name|}}} <span class="library-card-works"> ({{#invoke:Number of works|getWorkCount|category={{{category}}}}} works)</span></p>
Line 16: Line 19:
-->
-->
<templatestyles src="Library_card/style.css" />
<templatestyles src="Library_card/style.css" />
<!--
<!--
     @param image    The image filename or URL.
     @param image    The image filename or URL.

Revision as of 00:53, 5 July 2023


[[File:|class=library-card-image|link=Category:]]

(0 works works)


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

The image filename or URL.

Stringrequired
categorycategory

The associated category name.

Stringrequired
namename

The name of the author or topic.

Stringrequired