Predefinição:Refn/doc

Fonte: Enciclopédia de conhecimento da Igreja de Deus
Revisão em 06h16min de 14 de maio de 2024 por Jaewoo (discussão | contribs) (Criou a página com "===Purpose=== This template allows nested references where a reference is included inside a reference. This is mainly useful where content that would normally be in {{tag|ref}} tags is used as an explanatory note and requires a cite using {{tag|ref}}. See WP:REFNOTE for further information on explanatory notes. This template uses the magic word <code><nowiki>{{#tag:ref}}</nowiki></code> to allow the {{cite.php}} parser to pass wikimarkup....")
(dif) ← Revisão anterior | Revisão atual (dif) | Revisão seguinte → (dif)
Saltar para a navegação Saltar para a pesquisa

Purpose

This template allows nested references where a reference is included inside a reference. This is mainly useful where content that would normally be in <ref>...</ref> tags is used as an explanatory note and requires a cite using <ref>...</ref>. See WP:REFNOTE for further information on explanatory notes.

This template uses the magic word {{#tag:ref}} to allow the Predefinição:Cite.php parser to pass wikimarkup.

Usage

{{refn|name=name|group=groupname|Reference or note including <ref></ref>}}

  • name: Reference name per WP:REFNAME
  • groupname: Groupname per WP:REFGROUP; if not specified, then the main and nested references will be rendered into the same reference list

Example

Predefinição:Markup

Errors

If the reference or note content is missing, then "Cite error: Invalid <ref> tag; refs with no name must have content." will be displayed.

List defined references

Currently, this template may not be used more than once within list-defined references. Doing so will result in Cite errors; see phab:T22707.

See also