|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| <!--
| | #REDIRECT [[Template:Library card mini]] |
| {{PortalCard
| |
| | image =
| |
| | text =
| |
| | name =
| |
| | link =
| |
| }}
| |
| -->
| |
| <div class="portal-card">
| |
| <h6 class="portal-card-TOC">{{{name}}}</h6>
| |
| <div class="portal-card-image"> [[File:{{{image|Placeholder-image.png}}}|link={{{link}}}|size=100px]]</div>
| |
| <div class="portal-card-text">{{{text}}}</div>
| |
| </div>
| |
| <!--
| |
| TemplateData
| |
| -->
| |
| <!--
| |
| @param image The image filename or URL, with extension (.jpg etc)
| |
| @param text Any text you want to appear next to the image, takes wikilinks (within square brackets).
| |
| @param name The name you want to appear in the table of contents.
| |
| @param link The link you want the image to redirect to (normally same as within the text).
| |
| -->
| |
| <noinclude>
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "image": {
| |
| "type": "string",
| |
| "required": false,
| |
| "description": "The image filename or URL, with extension (.jpg etc)"
| |
| },
| |
| "text": {
| |
| "type": "string",
| |
| "required": true,
| |
| "description": "Any text you want to appear next to the image, takes wikilinks (within square brackets)."
| |
| },
| |
| "name": {
| |
| "type": "string",
| |
| "required": true,
| |
| "description": "The name you want to appear in the table of contents."
| |
| },
| |
| "link": {
| |
| "type": "string",
| |
| "required": true,
| |
| "description": "The link you want the image to redirect to (normally same as within the text)."
| |
| }
| |
| }
| |
| }
| |
| </templatedata>
| |
| </noinclude>
| |