Diferencia entre revisiones de «Plantilla:Reflist»
m (Protegió «Plantilla:Reflist» ([Editar=Solo permitir administradores] (indefinido) [Pueden trasladar=Solo permitir administradores] (indefinido))) |
|||
Línea 3: | Línea 3: | ||
[[Category:Templates|R]] | [[Category:Templates|R]] | ||
− | |||
</noinclude> | </noinclude> |
Revisión del 13:51 2 may 2014
The template is used in place of the <references /> tag.
It will also accept an optional number, which is the amount of columns the reference list will take up.
Contenido
Usage
Simply put the template where you would normally put the <references /> tag, and put how many columns you want. You can also leave it blank for just 1, making it act exactly the same as the <references /> tag.
Examples
<ref>Example ref 1</ref> <ref name=ref2>Example ref 2</ref> <ref name=ref2/> <ref>Example ref 3</ref> == References == {{reflist}}
- produces
<ref>Example ref 1</ref> <ref>Example ref 2</ref> <ref>Example ref 3</ref> <ref>Example ref 4</ref> == References == {{reflist|2}}
- produces
<ref>Example ref 1</ref> <ref>Example ref 2</ref> <ref group=Example>Example ref 3</ref> <ref group=Example>Example ref 4</ref> <references group="Example"/> == References == {{reflist|1}}
- produces
[1] [2] [Example 1] [Example 2]
References
La documentación anterior se transcluye de Plantilla:Reflist/doc. (edit | history)