Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
MediaWiki help
Creopedia
Search
Search
Appearance
Log in
Personal tools
Log in
View source for Template:Card/doc
Template
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
←
Template:Card/doc
{{Documentation}} This template renders a generic card component. It is commonly used by other templates and modules. == Usage == === Basic === <syntaxhighlight lang="wikitext"> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. }} </syntaxhighlight> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. }} === With thumbnail === <syntaxhighlight lang="wikitext"> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. |thumbnail = Creo monkopod icon.png }} </syntaxhighlight> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. |thumbnail = Creo monkopod icon.png }} === With internal link === <syntaxhighlight lang="wikitext"> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. |page = Monkopod }} </syntaxhighlight> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. |page = Monkopod }} === With external link === <syntaxhighlight lang="wikitext"> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. |url = https://example.com }} </syntaxhighlight> {{Card |title = Monkopod |description = Loves rolling down grassy hills and eating soft grass in the summer. |url = https://example.com }} == TemplateData == <templatedata> { "params": { "title": { "label": "Title", "description": "Card title", "type": "string", "suggested": true }, "description": { "label": "Description", "description": "Card description", "type": "string", "suggested": true }, "thumbnail": { "label": "Thumbnail", "description": "Page name without namespace for the file", "example": "Example.png", "type": "wiki-file-name", "suggested": true }, "icon": { "label": "Icon", "description": "Page name without namespace for the icon. Rendered in a smaller size compared to thumbnail.", "example": "Icon.png", "type": "wiki-file-name" }, "page": { "label": "Page", "description": "Wiki page to link to", "example": "Page", "type": "wiki-page-name", "suggested": true }, "url": { "label": "URL", "description": "External link to link to", "example": "https://example.com", "type": "url", "suggested": true } }, "description": "Renders a generic card component", "format": "block" } </templatedata> <includeonly> [[Category:Templates]] </includeonly>
Templates used on this page:
Template:Card
(
view source
)
Template:Documentation
(
view source
)
Module:Arguments
(
view source
) (protected)
Module:CardLua
(
view source
)
Module:CardLua/styles.css
(
view source
)
Return to
Template:Card/doc
.