Template:NamedRef/doc

From Brighter Shores Wiki
Revision as of 19:31, 23 March 2024 by Jayden (talk | contribs) (Created page with "{{Documentation}} __NOTOC__ {{Invokes|References}} This template is used to quickly re-use a named reference. This works with references named using any method, be that a Cite template, or using ref tags normally. ==Usage== ===Basic=== The syntax is: <pre>{{NamedRef|name}}</pre> You must name a reference before inserting this template or it will trigger an error message. ===Groups=== If you want to refer to a named reference that is part of a group, you can use the s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:NamedRef.
It contains usage information, categories, and other content that is not part of the original template page.
Template:NamedRef invokes function namedref in Module:References using Lua.
Template:NamedRef invokes Module:References using Lua.

This template is used to quickly re-use a named reference. This works with references named using any method, be that a Cite template, or using ref tags normally.

Usage

Basic

The syntax is:

{{NamedRef|name}}

You must name a reference before inserting this template or it will trigger an error message.

Groups

If you want to refer to a named reference that is part of a group, you can use the second parameter:

{{NamedRef|name|group}}

Named parameters

If you prefer, you can use named parameters instead - to make it clearer which parameter is which, etc.

{{NamedRef|name=name|group=group}}