Difference between revisions of "Template:Reflist"
From GATE
(Undo revision 117884 by Lorenzo Mancini (talk)) Tag: Undo |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Reflist/styles.css" /><div class="reflist <!-- | <templatestyles src="Reflist/styles.css" /><div class="reflist <!-- | ||
-->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!-- | -->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!-- | ||
− | -->{{#switch:{{{group|}}}|comment-notes|text-notes|loci-notes|upper-alpha|upper-roman|lower-alpha | + | -->{{#switch:{{{group|}}}|comment-notes|text-notes|loci-notes|upper-alpha|lower-greek|upper-roman|lower-alpha|lower-roman=reflist-{{{group}}}}} <!-- |
-->{{#if:{{{1|}}}|{{#iferror:{{#ifexpr: {{{1|1}}} > 1 }}||{{#switch:{{{1|}}}|1=|2=reflist-columns-2|#default=reflist-columns-3}} }}}}" <!-- end class | -->{{#if:{{{1|}}}|{{#iferror:{{#ifexpr: {{{1|1}}} > 1 }}||{{#switch:{{{1|}}}|1=|2=reflist-columns-2|#default=reflist-columns-3}} }}}}" <!-- end class | ||
-->{{#if:{{{1|}}}{{{colwidth|}}}{{{liststyle|}}}|<!-- start style | -->{{#if:{{{1|}}}{{{colwidth|}}}{{{liststyle|}}}|<!-- start style | ||
Line 11: | Line 11: | ||
-->}}> | -->}}> | ||
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs }}<noinclude> | {{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs }}<noinclude> | ||
+ | N.B. Oltre a creare lo stile per l'elenco delle note nel file [[Template:Reflist/styles.css]], bisogna creare un gruppo di riferimento per i caratteri in apice come indicato a [https://en.wikipedia.org/wiki/Help:Cite_link_labels#List_of_custom_link_label_sequences questo link]. Al momento su GATE sono presenti i seguenti gruppi di caratteri: | ||
+ | * [[MediaWiki:Cite link label group-comment-notes]] --> stile: lower-alpha (lettere alfabeto latino minuscole) | ||
+ | * [[MediaWiki:Cite link label group-text-notes]] --> stile: decimal (numeri arabi) | ||
+ | * [[MediaWiki:Cite link label group-loci-notes]] --> stile: upper-roman (numeri romani maiuscoli) | ||
</noinclude> | </noinclude> |
Latest revision as of 11:07, 19 January 2022
N.B. Oltre a creare lo stile per l'elenco delle note nel file Template:Reflist/styles.css, bisogna creare un gruppo di riferimento per i caratteri in apice come indicato a questo link. Al momento su GATE sono presenti i seguenti gruppi di caratteri:
- MediaWiki:Cite link label group-comment-notes --> stile: lower-alpha (lettere alfabeto latino minuscole)
- MediaWiki:Cite link label group-text-notes --> stile: decimal (numeri arabi)
- MediaWiki:Cite link label group-loci-notes --> stile: upper-roman (numeri romani maiuscoli)