Jump to content

Template:ArticleSize/doc

From Wikipedia, the free encyclopedia


Usage

[edit]

This template is used to display the real-time size of a Wikipedia article. It can be used without parameters to display the size of the current article or with a parameter to specify a different article.

Syntax

[edit]

To display the size of the current article:

{{ArticleSize}}

To display the size of a specified article:

{{ArticleSize|ArticleName}}

Examples

[edit]

To display the size of the current article:

{{ArticleSize}}

To display the size of the "Ancient Greece" article:

{{ArticleSize|Ancient Greece}}

Notes

[edit]
  • This template fetches the content of the article in real-time and calculates its size in bytes.
  • The size is formatted as per content language settings.
  • Ensure the specified article name is correctly capitalized and does not include any extra spaces.

Template data

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

TemplateData for ArticleSize

The template displays the real-time size of a specified Wikipedia article or the current article.

Template parameters

ParameterDescriptionTypeStatus
Article name1

The name of the article for which to display the size. If omitted, the size of the current article is displayed.

Stringoptional

Tracking categories

[edit]
  • This template does not add any tracking categories.

See also

[edit]