More languages
More actions
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|}}} | [[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
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | The image filename or URL, with extension (.jpg etc)
| String | required |
category | category | The associated category name. | String | required |
name | name | The name of the author or topic. | String | required |
scale | scale | 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
| String | optional |