Template:Anachronism/doc

From CAPipedia
Revision as of 12:55, 23 January 2024 by Mclarty (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[Category:Template documentation pages{{#translation:}}]]

Usage

{{Anachronism|date=November 2024}}

Parameters

  • {{{date}}}: The date that the tag was placed
  • {{{sect}}} or {{{1}}} (empty): Text to replace the word "article", usually "section"
  • {{{small}}}: Enter any text to make the template box small and located on the left. Leave blank to leave it unchanged.

TemplateData

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

TemplateData for Anachronism

<templatedata> {

       "description": "Use this template to indicate that an article contains anachronisms (statements that do not suit the time period in question).",

"params": { "date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "sect": { "aliases": [ "1" ], "label": "Type (e.g., section)", "description": "Text to replace the word \"article\", usually \"section\"", "type": "string", "autovalue": "section", "example": "section" }, "small": { "label": "Small", "description": "Enter any text to make the template box small and located on the left. Leave blank to leave it unchanged.", "example": "y", "type": "boolean", "autovalue": "y" } }, "paramOrder": [ "date", "sect", "small" ] } </templatedata>

See also