Template:Example needed span/doc

From Pantonian Republic Wiki
< Template:Example needed span
Revision as of 18:56, 18 May 2023 by Sebbog (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This inline template is used to highlight text that may need one or more examples.

{{Example needed-span|Text needing an example|date=Month and year}}

Parameters

  • |text= or |1= (or an empty parameter): the text that is considered to need one or more examples
  • |date=: the date the tag was added
  • |plural=: enter 'y' or 'yes' to change 'example' to 'examples'.

Example

Input:

{{Example needed-span|Lorem ipsum dolor sit amet|date=November 2024}}

Result:

Lorem ipsum dolor sit amet[example needed]

Input with plural setting:

{{Example needed-span|Lorem ipsum dolor sit amet|date=November 2024|plural=y}}

Result:

Lorem ipsum dolor sit amet[examples needed]

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 Example needed span

<templatedata> { "description": "Use this inline template to highlight text that may need one or more examples.", "format": "inline", "params": { "1": { "aliases": [ "text" ], "label": "Text needing an example", "description": "The text that is considered to need one or more examples", "type": "string", "required": true

       },

"date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "plural": { "label": "Plural", "description": "Enter 'y' or 'yes' to change 'example' to 'examples'.", "type": "string", "autovalue": "y", "example": "y" } }, "paramOrder": [ "1", "date",

       "plural"

] } </templatedata>

See also