« Modèle:Quote » : différence entre les versions
(Bot: import EN) |
m (Remplacement de texte : « {{BannièreEncyclopediaNoelica|Archive=oui}} » par « {{BannièreEncyclopediaNoelica|Modèle=oui}} ») |
||
Ligne 1 : | Ligne 1 : | ||
<noinclude>{{BannièreEncyclopediaNoelica| | <noinclude>{{BannièreEncyclopediaNoelica|Modèle=oui}}</noinclude> | ||
<!-- The nested div fixes a spacing problem in Firefox. --> | <!-- The nested div fixes a spacing problem in Firefox. --> |
Dernière version du 15 mars 2024 à 23:25
Ce modèle provient de l'Encyclopedia Noelica. Suite à sa fermeture JVFlux a décidé d'héberger les articles de ce wiki dans une catégorie dédiée
Usage[modifier le wikicode]
Syntax:
{{ quote | 1 | 2 | 3 | color | size | textColor | textSize | sourceColor | sourceSize }}
Where:
- 1 = a quote
- 2 = a person
- 3 = a source
- color = a color value for the quotation marks
- size = a size value for the quotation mark (that is, in %, px, pt, and other units of measurement)
- textColor = a color value for the quote
- textSize = a size value for the quote
- sourceColor = a color value for the person and source
- sourceSize = a size value for the person and source
Example[modifier le wikicode]
This:
{{quote|Quote Text|Person|Source|color=lightblue|size=360%|textColor=red|textSize=200%|sourceColor=green|sourceSize=100%}}
results in this:
Quote Text—Person, Source
Notes[modifier le wikicode]
- Do not use white space immediately before or after curly brackets or vertical bars.
- If you want to change the color and size variables, then you must declare the parameter explicitly (i.e. you must include
color=
orsize=
). - If a parameter value contains an equals sign, then the parameter name must be declared explicitly." This means that if you want to include a URL in your quote, and if that URL contains an equals sign, then you must explicitly declare the parameter. All that means is that you should add
1=
,2=
, or3=
, as appropriate, ahead of your quote text, speaker, or source, like this:{{quote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}
- Do not add
<big>
,<small>
, or<center>
tags inside the quote, the only acceptable tags are<pre>
and<br />
; all other tags screw up the formatting and makes Admins angry. You wont like them when they are angry.