Diferencia entre revisiones de «Plantilla:Cquote»

De CNB
Ir a la navegación Ir a la búsqueda
Busca en cnbGuatemala con Google

Línea 24: Línea 24:
 
}}
 
}}
 
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
 
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
{{documentation}}
+
<!----- {{documentation}} ----->
 +
'''Parameters'''
 +
 
 +
'''Parameter 1''', quote
 +
 
 +
text of the quote; use <p>...</p> around second or subsequent paragraphs.
 +
 
 +
Required
 +
 
 +
Note: if the quote text contains a = (equal sign), then the template must be called with a named parameter for the content. For example: {{Cquote|quote=quote text=more quoted text}} (see Help:Template § Usage hints and workarounds).
 +
 
 +
'''author'''
 +
 
 +
Name of the person that wrote or spoke the text being quoted. Can include wiki syntax.
 +
 
 +
'''source'''
 +
 
 +
Source of the quote (publication title, speech, etc.). Can include wiki syntax. Can be used without |author= (e.g. for a scripture, law, or other source without an author per se)
 +
 
 +
'''bgcolor'''
 +
 
 +
The color of the background.
 +
 
 +
'''float'''
 +
 
 +
Defaults to center, but can also be right or left. Usually used with |width=30% or so (otherwise for quotes longer than one line on the rendered page, the float will have no useful effect).
 +
 
 +
'''width'''
 +
 
 +
for example |width=30%
 +
 
 +
'''qcolor'''
 +
 
 +
color of quotemarks, for example |qcolor=#FF0000 for a red color (only for use in WP:Signpost, and personal pages; do not use in articles, guidelines, etc.)
 +
 
 +
'''rtl'''
 +
 
 +
set to any non-blank value for quotes that should be rendered from right to left (e.g., Arabic). Adds the necessary dir attribute and reverses the quotes.
 
</noinclude>
 
</noinclude>

Revisión del 20:03 15 ago 2018

Parameters

Parameter 1, quote

text of the quote; use

...

around second or subsequent paragraphs.

Required

Note: if the quote text contains a = (equal sign), then the template must be called with a named parameter for the content. For example:

(see Help:Template § Usage hints and workarounds).

author

Name of the person that wrote or spoke the text being quoted. Can include wiki syntax.

source

Source of the quote (publication title, speech, etc.). Can include wiki syntax. Can be used without |author= (e.g. for a scripture, law, or other source without an author per se)

bgcolor

The color of the background.

float

Defaults to center, but can also be right or left. Usually used with |width=30% or so (otherwise for quotes longer than one line on the rendered page, the float will have no useful effect).

width

for example |width=30%

qcolor

color of quotemarks, for example |qcolor=#FF0000 for a red color (only for use in WP:Signpost, and personal pages; do not use in articles, guidelines, etc.)

rtl

set to any non-blank value for quotes that should be rendered from right to left (e.g., Arabic). Adds the necessary dir attribute and reverses the quotes.