Difference between revisions of "Template:Ref"
From Fixme.ch
Line 1: | Line 1: | ||
<sup class="reference plainlinks nourlexpansion" {{#ifeq:{{{noid}}}|noid||id="ref_{{{1}}}"}}>{{#if:{{{2|}}}|[[#endnote_{{{1}}}|{{{2}}}]]|[{{fullurl:{{FULLPAGENAME}}}}#endnote_{{anchorencode:{{{1|}}}}}]}}</sup><noinclude> | <sup class="reference plainlinks nourlexpansion" {{#ifeq:{{{noid}}}|noid||id="ref_{{{1}}}"}}>{{#if:{{{2|}}}|[[#endnote_{{{1}}}|{{{2}}}]]|[{{fullurl:{{FULLPAGENAME}}}}#endnote_{{anchorencode:{{{1|}}}}}]}}</sup><noinclude> | ||
− | |||
− | Text{{ref|Hubel 1962}} | + | <nowiki>Text{{ref|Hubel 1962}}</nowiki> |
Which will result in: | Which will result in: | ||
Line 9: | Line 8: | ||
You can also specify the same parameter via "name" | You can also specify the same parameter via "name" | ||
− | Text{{ref|name=Hubel 1962}} | + | <nowiki>Text{{ref|name=Hubel 1962}}</nowiki> |
Which will result in: | Which will result in: | ||
Line 21: | Line 20: | ||
Complex cells{{ref|name=Hubel 1962}} and hypercomplex cells {{ref|name=Hubel 1965}} | Complex cells{{ref|name=Hubel 1962}} and hypercomplex cells {{ref|name=Hubel 1965}} | ||
− | + | </noinclude> | |
− | + | ||
− | + |
Revision as of 21:25, 31 August 2011
Text{{ref|Hubel 1962}}
Which will result in:
Text[2]
You can also specify the same parameter via "name" Text{{ref|name=Hubel 1962}}
Which will result in:
Text[3]
If you leave it blank, the "default" reference will be used (never good!):
Text[4]