×
Créer un nouvel article
Écrivez le titre de votre page ici :
Nous avons actuellement 197 articles sur RDWiki. Saisissez votre nom d’article au-dessus de ou cliquez sur un des titres ci-dessous et commencez à écrire !



RDWiki
Version datée du 14 mai 2025 à 17:29 par Aisuuuuu (discussion | contributions) (Page créée avec « == Description == This template is used to create stylized pull quotes. <strong>Note: Set the template type to Design, <u>and not Quote.</u> This is to fix mobile styling.</strong> == Syntax == <code><nowiki>{{Quote|<Quote>|<By>|5=align=left|6=style=margin: 10em;|style=pre|block=y}}</nowiki></code> === Parameters === ;<code>1=</code> ''<code>quote=</code>'' :The main quote block. : ;<code>2=</code> ''<code>person=</code>'' :The person who said the quote. The f... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Description

This template is used to create stylized pull quotes. Note: Set the template type to Design, and not Quote. This is to fix mobile styling.

Syntax

{{Quote|<Quote>|<By>|5=align=left|6=style=margin: 10em;|style=pre|block=y}}

Parameters

1= quote=
The main quote block.
2= person=
The person who said the quote.

The following parameters are optional.

3= source=
The source of the quote. Can be a reference tag, like Book<ref>Example</ref>
image= 4=
Optional image at the start of the quote. The File: namespace prefix is not needed. Size hardcoded to 50px.
align=
Alignment of the quote box. Defaults to center. Can be left or right
width=
The width of the quote box. Defaults to 80% if centered, or 300px if aligned left/right.
style= css=
Optional styling for the base <blockquote/> element.

TemplateData

This template is used to create styled quotes. Basically, a better version of the standard "block quote" used normally.

Paramètres du modèle

La mise en forme multiligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
Quote text1 quote text

The main quote text by a person.

Valeur automatique
''Quote text here''
Chaîneobligatoire
Quote speaker2 by person

The person/character/object who stated the quote.

Exemple
John
Chaînesuggéré
Quote source3 source from

The source of the quote. Can be a named reference tag

Exemple
Book of something
Chaînesuggéré
Blockquote image4 image

Custom blockquote image tht replaces the quotation mark; remove the File: namespace

Par défaut
Defaults to the large quotation mark (")
Fichierfacultatif
Blockquote classesclass

Additional classes for the base <blockquote> template

Chaînefacultatif
Blockquote alignalign

The alignment of the blockquotequote. Available options: left - right - center

Par défaut
center
Exemple
left, right, center
Chaînefacultatif
Blockquote stylesstyle css

Custom styling for the base <blockquote> element

Chaînefacultatif
Blockquote widthwidth

Custom width for the base <blockquote> element

Exemple
80%, 300px
Chaînefacultatif