Template:Library card: Difference between revisions

Template page
No edit summary
No edit summary
Line 10: Line 10:


<div class="library-card">
<div class="library-card">
<div class="library-card-image" style="position:relative; top:{{{top|0}}}; left:{{{left|0}}};>
<div class="library-card-image" style="position:relative; top:{{{top|0}}}px; left:{{{left|0}}}px;>
[[File:{{{image|}}}|link=Category:{{{category|}}}|225px]]
[[File:{{{image|}}}|link=Category:{{{category|}}}|225px]]
</div>
</div>
Line 26: Line 26:
     @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 top      The offset for the image from the top in pixels (optional).
     @param top      The offset for the image from the top (optional).
     @param left    The offset for the image from the left in pixels (optional).
     @param left    The offset for the image from the left (optional).
-->
-->
<noinclude>
<noinclude>

Revision as of 12:02, 5 July 2023


[[File:|link=Category:|225px]]

 (0 works works)


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

The image filename or URL, with extension (.jpg etc)

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