No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<div class="card"> | <div class="card"> | ||
[[File:{{{image|}}}|200px|link=Category:{{{category|}}}]] | [[File:{{{image|}}}|200px|link=Category:{{{category|}}}}]] | ||
<div class="card-content"> | <div class="card-content"> | ||
<h2><span class="card-title">{{{name|}}}</span></h2> | <h2><span class="card-title">{{{name|}}}</span></h2> | ||
Line 14: | Line 14: | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- | |||
TemplateData | |||
--> | |||
<templatestyles src="LibraryCard.css" /> | |||
<!-- | |||
@param image The image filename or URL. | |||
@param category The associated category name. | |||
@param name The name of the author or topic. | |||
--> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"type": "string", | |||
"required": true, | |||
"description": "The image filename or URL." | |||
}, | |||
"category": { | |||
"type": "string", | |||
"required": true, | |||
"description": "The associated category name." | |||
}, | |||
"name": { | |||
"type": "string", | |||
"required": true, | |||
"description": "The name of the author or topic." | |||
} | |||
} | |||
} | |||
</templatedata> |
Revision as of 22:20, 4 July 2023
[[File:|200px|link=Category:}]]
(Script error: No such module "'Number of works'". works)
Page Template:LibraryCard.css has no content.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | The image filename or URL. | String | required |
category | category | The associated category name. | String | required |
name | name | The name of the author or topic. | String | required |