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>
 
+
<pre>
+
Instead of using reference tags, use:
+
 
+
<nowiki>Text{{ref|Hubel 1962}}</nowiki>
+
 
+
Which will result in:
+
 
+
Text{{Ref|Hubel_1962}}
+
 
+
You can also specify the same parameter via "name"
+
<nowiki>Text{{ref|name=Hubel 1962}}</nowiki>
+
 
+
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>
+
</pre>
+
 
+
</noinclude>
+

Latest revision as of 21:57, 31 August 2011

[1]