Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Portal card: Difference between revisions

Template page
(Created page with "<!-- {{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}}}]]</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...")
 
m (Redirected page to Template:Library card mini)
Tag: New redirect
 
(3 intermediate revisions 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}}}]]</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>

Latest revision as of 15:09, 14 July 2024