Template:Globalize inline/doc: Difference between revisions

From CAPipedia
en>Mclay1
m updating
 
m Text replacement - "Wikipedia[^:]" to "CAPipedia"
 
(One intermediate revision by the same user not shown)
Line 30: Line 30:
"date": {
"date": {
"label": "Month and year",
"label": "Month and year",
"description": "The month and year that the template was placed (in full). \"{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}\" inserts the current month and year automatically.",
"description": "The month and year that the template was placed (in full). \"January 2024\" inserts the current month and year automatically.",
"type": "line",
"type": "line",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"autovalue": "January 2024",
"example": "January 2013",
"example": "January 2013",
"suggested": true
"suggested": true
Line 59: Line 59:
* [[Wikipedia:Template messages/Cleanup]]
* [[Wikipedia:Template messages/Cleanup]]


{{Wikipedia templates}}
{{CAPipediatemplates}}


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Latest revision as of 13:59, 23 January 2024

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

Usage

Place this template following a section or statement which doesn't represent a global perspective. You should include the date in the format |date = November 2024. You may also include a region which is overrepresented using the first unnamed parameter. This changes the template text from [globalize] to Region-centric (Example: [globalize], [globalize]) and categorizes the page accordingly if the region has its own category.

{{Globalize inline|region|date=November 2024}}

or:

{{Globalise inline|region|date=November 2024}}

Please also explain your concerns at the talk page to make it easier for other editors to fix it.

TemplateData

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

TemplateData for Globalize inline

<templatedata> { "description": "Use this cleanup template to indicate that an article is written primarily from the perspective of a particular region of the world.", "format": "inline", "params": { "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"January 2024\" inserts the current month and year automatically.", "type": "line", "autovalue": "January 2024", "example": "January 2013", "suggested": true }, "1": { "label": "Affected area", "description": "Text to replace the word \"article\", usually \"section\". This is a legacy feature that has been replaced by the separate Template:Globalize section template.", "type": "line", "autovalue": "section", "example": "section", "deprecated": "true" } }, "paramOrder": [ "1", "date" ] } </templatedata>

See also

Template:CAPipediatemplates