Jump to content

Template:Where/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m →‎TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
putting Template data before Redirects and See also to match other templates in this group
Line 20: Line 20:


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

== See also ==
* [[Wikipedia:WikiProject Countering systemic bias]]
* [[Wikipedia:WikiProject Inline Templates]]
* [[Wikipedia:Naming conventions (geographic names)]]
* [[:Category:Inline cleanup templates]]
* {{Tl|Globalize}}


==TemplateData==
==TemplateData==
Line 59: Line 52:
}
}
</TemplateData>
</TemplateData>

== See also ==
* [[Wikipedia:WikiProject Countering systemic bias]]
* [[Wikipedia:WikiProject Inline Templates]]
* [[Wikipedia:Naming conventions (geographic names)]]
* [[:Category:Inline cleanup templates]]
* {{Tl|Globalize}}


{{Inline tags}}
{{Inline tags}}

Revision as of 13:51, 23 November 2020


Usage

Put {{Where|date=September 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=September 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=September 2024}} results in [where? — see talk page]

(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. See a monthly parameter usage report for Template:Where in articles based on its TemplateData.

TemplateData for Where

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

Template parameters

ParameterDescriptionTypeStatus
datedate

Month and year

Example
February 2018
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Datesuggested
Talktalk

Whether to display a link to the talk page. Can take values 'yes' or 'no'.

Example
yes
Stringoptional
Name of talk page section1

Use if talk = yes. Do not wikilink.

Example
Example
Stringoptional

See also