Jump to content

Template:Quote card: Difference between revisions

From Marxist Wiki
Created page with "<!-- {{Quotecard | image = | text = | name = | link = | scale = }} --> <div class="quote-card"> <h6 class="quote-card-TOC">{{{name}}}</h6> <div class="quote-card-image"> <div style="transform:scale({{{scale|1}}})"> [[File:{{{image|Placeholder-image.png}}}|link={{{link}}}|{{{desc|}}}]] </div> </div> <div class="quote-card-text">{{{name}}}</div> </div> <!-- TemplateData --> <!-- @param image The image filename or URL, with extension (.jpg etc) @param na..."
 
m Protected "Template:Quote card" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(No difference)

Latest revision as of 03:45, 15 March 2025

{{{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