Template:Custom-lv-card

From WikiEducator
Jump to: navigation, search
© unknown. Licence: cc-by-sa.
Image: unknown
{{{title}}}

[[Image:{{{image-name}}}|400px]]

You have to provide card-text

Purpose

The template displays a custom Liberating Voices patterns card. You have to provide the parameters needed.

Usage

Avoid using this template - it is not ideal and has been deprecated.

It needs some work and is not maintained.

Consider instead: {{display-lv-card}}

Syntax

Example:

{{custom-lv-card 
|title = Sense of Struggle
|image-name = Gandhi Salt March.jpg
|card-text = 
Many of the strongest forces in the world must be challenged. A Sense of Struggle can unite a group striving for positive social change. A Sense of Struggle lies between optimism and despair. We need to cultivate a Sense of Struggle and, at the same time, make it easier for those who are involved in the struggle. According to Frederick Douglass, "If there is no struggle, there is no progress.". 
|text-attribution = Douglas Schuler
|image-attribution = Photographer name
}}

Example

The above syntax produces:

© Douglas Schuler. Licence: cc-by-sa.
Image: Photographer name
Sense of Struggle

Gandhi Salt March.jpg

Many of the strongest forces in the world must be challenged. A Sense of Struggle can unite a group striving for positive social change. A Sense of Struggle lies between optimism and despair. We need to cultivate a Sense of Struggle and, at the same time, make it easier for those who are involved in the struggle. According to Frederick Douglass, "If there is no struggle, there is no progress.".

Parameters

title - the name of the pattern and the title of its text page

image-name - the name of the image, ideally an image residing on Wikimedia Commons - see How to source and link images on Wikimedia Commons.

image-size - the x-size of the image in pixels.

text-attribution - name of person being acknowledged for the text of the card.

image-attribution - name of photographer or artist who produced the image and link to its source.

To Do

  • Variable styles: {{#if: {{{card-style|}}}|style="{{{card-style}}};"|...}}