Template:Library card: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 26: 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 56: 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."
         }
         }
     }
     }

Latest revision as of 20:21, 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
toptop

The offset from the top in pixels for the image. Can be negative.

Stringoptional
leftleft

The offset from the left in pixels for the image. Can be negative.

Stringoptional
descdesc

The description you want to display when the user hovers over the link long enough.

Stringoptional