More languages
More actions
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| category = | | category = | ||
| name = | | name = | ||
| | | scale = | ||
}} | }} | ||
--> | --> | ||
<div class="library-card-mid"> | <div class="library-card-mid"> | ||
<h6 class="library-card-TOC">{{{name|}}}</h6> | <h6 class="library-card-TOC">{{{name|}}}</h6> | ||
<div class="library-card-image" style="transform:scale({{{scale| | <div class="library-card-image" > | ||
[[File:{{{image|Placeholder-image.png}}}|link=Category:{{{category|}}}]] | <div style="transform:scale({{{scale|1}}})"> | ||
[[File:{{{image|Placeholder-image.png}}}|link=Category:{{{category|}}}|{{{desc|}}}]] | |||
</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>({{# | <p class="library-card-title">{{{name|}}}</p><p class="library-card-works"><br><small>({{#dpl:category={{{category|}}}|resultsheader=%PAGES%|mode=userformat}} works)</small></p>]] | ||
</div> | </div> | ||
</div> | </div> | ||
Line 24: | Line 25: | ||
@param category The associated category name. | @param category The associated category name. | ||
@param name The name of the author or topic. | @param name The name of the author or topic. | ||
@param | @param scale Scaling-in value. | ||
@param | @param desc The description you want to display when the user hovers over the link long enough. | ||
--> | --> | ||
<noinclude> | <noinclude> | ||
Line 47: | Line 48: | ||
"description": "The name of the author or topic." | "description": "The name of the author or topic." | ||
}, | }, | ||
"scale": { | |||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": " | "description": "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" | |||
}, | }, | ||
" | "desc": { | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "The | "description": "The description you want to display when the user hovers over the link long enough." | ||
} | } | ||
} | } |
Latest revision as of 15:27, 14 September 2024
[[:Category:|
(
Extension:DynamicPageList3 (DPL3), version 3.5.2: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants
works)]]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 |
desc | desc | The description you want to display when the user hovers over the link long enough. | String | optional |