More languages
More actions
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
<h6 class="library-card-TOC">{{{name|}}}</h6> | <h6 class="library-card-TOC">{{{name|}}}</h6> | ||
<div class="library-card-image" style="position:relative; top:{{{top|0}}}px; left:{{{left|0}}}px;> | <div class="library-card-image" style="position:relative; top:{{{top|0}}}px; left:{{{left|0}}}px;> | ||
[[File:{{{image|}}}|link=Category:{{{category|}}}]] | [[File:{{{image|Placeholder-image.png}}}|link=Category:{{{category|}}}|{{{desc|}}}]] | ||
</div> | </div> | ||
[[:Category:{{{category|}}}|<div class="library-card-content"> | [[:Category:{{{category|}}}| | ||
<p class="library-card-title">{{{name|}}}</p><p class="library-card-works"><br>({{# | <div class="library-card-content"> | ||
<p class="library-card-title">{{{name|}}}</p><p class="library-card-works"><br>({{#dpl:category={{{category|}}}|resultsheader=%PAGES%|mode=userformat}} works)</p> | |||
]] | |||
</div> | </div> | ||
</div> | </div> | ||
Line 20: | Line 22: | ||
TemplateData | TemplateData | ||
--> | --> | ||
<!-- | <!-- | ||
@param image The image filename or URL. | @param image The image filename or URL. | ||
Line 28: | Line 28: | ||
@param top The offset for the image from the top (optional). | @param top The offset for the image from the top (optional). | ||
@param left The offset for the image from the left (optional). | @param left The offset for the image from the left (optional). | ||
@param desc The description you want to display when the user hovers over the link long enough. | |||
--> | --> | ||
<noinclude> | <noinclude> | ||
Line 36: | Line 37: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"description": "The image filename or URL, with extension (.jpg etc)" | "description": "The image filename or URL, with extension (.jpg etc)", | ||
"default": "Placeholder-image.png" | |||
}, | }, | ||
"category": { | "category": { | ||
Line 57: | Line 59: | ||
"required": false, | "required": false, | ||
"description": "The offset from the left in pixels for the image. Can be negative." | "description": "The offset from the left in pixels for the image. Can be negative." | ||
}, | |||
"desc": { | |||
"type": "string", | |||
"required": false, | |||
"description": "The description you want to display when the user hovers over the link long enough." | |||
} | } | ||
} | } |
Latest revision as of 15:28, 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 |
top | top | The offset from the top in pixels for the image. Can be negative. | String | optional |
left | left | The offset from the left in pixels for the image. Can be negative. | String | optional |
desc | desc | The description you want to display when the user hovers over the link long enough. | String | optional |