Plantilla:Sfn: Difference between revisions

no edit summary
(Created page with "<includeonly><!-- -->{{#switch: {{{3|X}}} {{{4|X}}} {{{5|X}}}<!-- -->|X X X = {{{1}}} et al. {{{5}}}<!-- -->|X X = {{{1}}} et al. {{{4}}}<!-- -->|X = {{{1}}} et al. {{{3}}}<!...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#tag:ref|<!--


-->{{#switch: {{{3|X}}} {{{4|X}}} {{{5|X}}}<!--
-->{{#ifeq: {{{3|X}}} | X <!--
-->|X X X = {{{1}}} et al. {{{5}}}<!--
-->|{{{1}}} {{{2}}}<!--
-->|X X = {{{1}}} et al. {{{4}}}<!--
-->|{{#ifeq: {{{4|X}}} | X <!--
-->|X = {{{1}}} et al. {{{3}}}<!--
-->|{{{1}}} & {{{2}}} {{{3}}}<!--
-->|#default = {{{1}}} {{{2}}}<!--
-->|{{#ifeq: {{{5|X}}} | X <!--
-->}}, <!--
  -->|{{{1}}}, {{{2}}} & {{{3}}} {{{4}}}<!--
  -->|{{{1}}} et al. {{{5}}}<!--
  -->}}<!--
-->}}<!--
-->}}<!--


-->{{#if: {{{p|}}} |p. {{{p}}}|}}<!--
-->{{#if: {{{p|}}} |, p. {{{p}}}|}}<!--
-->{{#if: {{{pp|}}} |pp. {{{pp}}}|}}<!--
-->{{#if: {{{pp|}}} |, pp. {{{pp}}}|}}<!--
-->{{{loc|}}}<!--
-->{{#if: {{{loc|}}} |, {{{loc}}}|}}<!--


--></includeonly>
-->}}</includeonly><noinclude>
 
Examples (see source):
 
* Test 1{{sfn|Author|Year|p=page}}
* Test 2{{sfn|Author|Author 2|Year|pp=pages}}
* Test 3{{sfn|Author|Author 2|Author 3|Year|loc=location}}
* Test 4{{sfn|Author|Author 2|Author 3|Author 4|Year}}
 
==== References ====
 
<references/>
 
</noinclude>