Template:Where/doc

From Pantonian Republic Wiki
Jump to navigation Jump to search

Usage

Put {{Where|date=October 2024}} next to a statement which does not specify the place at which an event took place or to which the statement applies.

This template takes three parameters:

  • |date= Since when the tag has been in place. Must be in the following format: {{Where|date=October 2024}}.
  • |talk= Whether to display a link to the talk page. Can take values "yes" or "no". If "yes", then will exhibit a link to a talk page discussion you are supposed to open.
  • The name of the specific section on the talk page where you opened a discussion.

Full example:

{{Where|talk=yes|Example|date=October 2024}} results in [where? ]

(Please click the links to see where they lead.)

This template automatically adds tagged pages to Category:Vague or ambiguous geographic scope, or a dated subcategory thereof.

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 Where

<TemplateData> { "description": "Use this template next to a statement which does not specify the place at which an event took place or to which the statement applies", "params": { "date": { "description": "Date", "description": "Month and year", "example": "February 2018", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "talk": { "label": "Talk", "description": "Whether to display a link to the talk page. Can take values 'yes' or 'no'.", "example": "yes", "type": "string", "required": false }, "1": { "label": "Name of talk page section", "description": "Use if talk = yes. Do not wikilink.", "example": "Example", "type": "string", "required": false } } } </TemplateData>

See also