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

Template:Library card mid: Difference between revisions

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

Revision as of 20:14, 25 February 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
scalescale

Scale-in the image to make sure it fills the entire card. Can have decimals. Expressed as a factor. Image will always be centred. Default: 1

Default
1
Stringoptional
Contents