Difference between revisions of "Template:Ref"

From Fixme.ch
Jump to: navigation, search
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>
Instead of using reference tags, use:
 
  
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>
And will show up in the references as:
+
<references/></noinclude>
+

Revision as of 21:25, 31 August 2011

[1]

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]


Complex cells[5] and hypercomplex cells [6]