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

Template:Quote card: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
Line 15: Line 15:
</div>
</div>
</div>
</div>
<div class="quote-card-text">{{{text}}}</div>
<div class="quote-card-text">{{{name}}}</div>
</div>
</div>
<!--
<!--
Line 22: Line 22:
<!--
<!--
     @param image    The image filename or URL, with extension (.jpg etc)
     @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 and next to the image.
     @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).
     @param link    The link you want the image to redirect to (normally same as within the text).
     @param scale    Scaling-in value.
     @param scale    Scaling-in value.
Line 36: Line 35:
             "required": false,
             "required": false,
             "description": "The image filename or URL, with extension (.jpg etc)"
             "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": {
         "name": {

Latest revision as of 22:04, 7 October 2024

{{{name}}}

{{{name}}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

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

Stringoptional
namename

The name you want to appear in the table of contents.

Stringrequired
linklink

The link you want the image to redirect to (normally same as within the text).

Stringrequired
scalescale

Scale-in the image to make sure it fills the entire card. Can have decimals. Expressed as a factor. Image will always be centred. Default: 1

Default
1
Stringoptional
descdesc

The description you want to display when the user hovers over the link long enough.

Stringoptional