No edit summary |
No edit summary |
||
(4 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|Placeholder-image.png}}}|link=Category:{{{category|}}}]] | [[File:{{{image|Placeholder-image.png}}}|link=Category:{{{category|}}}|{{{desc|}}}]] | ||
</div> | </div> | ||
[[:Category:{{{category|}}}|<div class="library-card-content"> | [[:Category:{{{category|}}}|<div class="library-card-content"> | ||
Line 20: | Line 20: | ||
TemplateData | TemplateData | ||
--> | --> | ||
<!-- | <!-- | ||
@param image The image filename or URL. | @param image The image filename or URL. | ||
Line 27: | Line 26: | ||
@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 57: | Line 57: | ||
"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." | |||
} | } | ||
} | } |
Revision as of 20:21, 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 |
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 |