Template:Self-reference inline/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

This is an inline (non-block, non-line-breaking) equivalent of {{Self-reference}}.

It uses the meta-template {{Hatnote inline}}

Usage

This is an inline (e.g. mid-sentence) template for marking up text as a (presumably appropriate) Wikipedia:Self-reference. It applies various CSS classes used for printworthiness and other purposes, and applies an italic typeface, our standard for such self-refs, as used in hatnotes and other cross-references and annotations.

This template takes a single parameter, unnamed or numbered |1=, containing the text to mark as a Wikipedia:Self-reference.

If the content contains an equals sign (=), then the parameter must be named, or the template will break. This is just a limitation of the templating language.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Self-reference inline in articles based on its TemplateData.

TemplateData for Self-reference inline

<templatedata> { "params": { "1": { "label": "Text", "description": "The full wikitext.", "type": "content", "required": true } }, "format": "inline",

"description": "This is an inline (non-block, non-line-breaking) equivalent of

(see Template:Self-reference for documentation)."

} </templatedata>

See also

  • {{Crossreference}}, for a specific form of inline self-reference
  • {{Self-reference}}, a block hatnote
  • {{Self-reference cleanup}}, a cleanup/dispute banner about inappropriate self-references
  • {{Self-reference link}}, used in articles about Wikipedia to link to a Wikipedia page in the form of an external link, so that the link will still work on mirrors and forks of Wikipedia
  • {{Unprintworthy inline}}, for unprintworthy inline material that isn't a self-ref