Template:Pages/doc
![]() | This is a documentation subpage for Template:Pages. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template is designed to list pages and display their total sizes. This template is designed to be used in the following format: <syntaxhighlight lang="wikitext" style="overflow:auto">
Name | Size | |
---|---|---|
pagenumber1 | pagename1 | 0 |
pagenumber2 | pagename2 | 0 |
pagenumber3 | pagename3 | 0 |
Total kB: | 0 |
</syntaxhighlight> or <syntaxhighlight lang="wikitext" style="overflow:auto">
Name | Size | |
---|---|---|
1 | pagename1 | 0 |
2 | pagename2 | 0 |
3 | pagename3 | 0 |
Total kB: | 0 |
</syntaxhighlight>
Example
<syntaxhighlight lang="wikitext" style="overflow:auto">
Name | Size | |
---|---|---|
1 | Alpha | 12.1 |
2 | Beta | 13.81 |
3 | Gamma | 11.88 |
Total kB: | 37.791 |
</syntaxhighlight>
to produce
Name | Size | |
---|---|---|
1 | Alpha | 12.1 |
2 | Beta | 13.81 |
3 | Gamma | 11.88 |
Total kB: | 37.791 |
or
<syntaxhighlight lang="wikitext" style="overflow:auto">
Name | Size | |
---|---|---|
1 | Alpha | 12.1 |
2 | Beta | 13.81 |
3 | Gamma | 11.88 |
Total kB: | 37.791 |
</syntaxhighlight>
to produce
Name | Size | |
---|---|---|
1 | Alpha | 12.1 |
2 | Beta | 13.81 |
3 | Gamma | 11.88 |
Total kB: | 37.791 |
Float alignment
To float the template to the left or right of the page, use |float=left
or |float=right
.
See also
- {{pagesize}}
- {{pages-size}}