Difference between revisions of "Template:Ref"

From Fixme.ch
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
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>
Instead of using reference tags, use:
+
 
+
Text{{ref|Hubel 1962}}
+
 
+
Which will result in:
+
 
+
Text{{Ref|Hubel_1962}}
+
 
+
You can also specify the same parameter via "name"
+
Text{{ref|name=Hubel 1962}}
+
 
+
Which will result in:
+
 
+
Text{{Ref|name=Hubel_1962}}
+
 
+
If you leave it blank, the "default" reference will be used (never good!):
+
 
+
Text{{Ref}}
+
 
+
 
+
Complex cells{{ref|name=Hubel 1962}} and hypercomplex cells {{ref|name=Hubel 1965}}
+
 
+
And will show up in the references as:
+
<references/></noinclude>
+

Latest revision as of 21:57, 31 August 2011

[1]