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> | ||
| + | |||
| + | <pre> | ||
| + | Instead of using reference tags, use: | ||
<nowiki>Text{{ref|Hubel 1962}}</nowiki> | <nowiki>Text{{ref|Hubel 1962}}</nowiki> | ||
| Line 20: | Line 23: | ||
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}} | ||
| + | |||
| + | And will show up in the references as: | ||
| + | <references/> | ||
| + | </noinclude> | ||
| + | </pre> | ||
| + | |||
</noinclude> | </noinclude> | ||
Revision as of 21:25, 31 August 2011
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>