Template:Self-reference inline/doc

From Funkinchan
Revision as of 02:51, 21 September 2023 by Jedevari (talk | contribs) (making template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump 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 Template:Em (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. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Self-reference inline

This is an inline (non-block, non-line-breaking) equivalent of {{Self-reference}} (see Template:Self-reference for documentation).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The full wikitext.

Contentrequired

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