Template:ArticleSize/doc
Appearance
This is a documentation subpage for Template:ArticleSize. It may contain usage information, categories and other content that is not part of the original template page. |
This template displays the size of a specified article or the current article in real-time. |
This template uses Lua: |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Article name | 1 | The name of the article for which to display the size. If omitted, the size of the current article is displayed. | String | optional |
Tracking categories
[edit]- This template does not add any tracking categories.
See also
[edit]