Template:Named ref/doc

Revision as of 01:37, 11 January 2016 by en>Petr Matas (Petr Matas moved page Template:NamedRef/doc to Template:Named ref/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Outputs the reference name followed by the {{refn}}-produced reference.

These parameters are passed to {{refn}}: <syntaxhighlight lang="text" class="" id="" style="" inline="1">1</syntaxhighlight>, <syntaxhighlight lang="text" class="" id="" style="" inline="1">group</syntaxhighlight>, <syntaxhighlight lang="text" class="" id="" style="" inline="1">name</syntaxhighlight>.

Example

Markup Renders as
{{NamedRef|name=Dirac 1958|P. A. M. Dirac (1958). The Principles of Quantum Mechanics.}}
{{reflist}}

Dirac 1958,[1]

  1. P. A. M. Dirac (1958). The Principles of Quantum Mechanics.