User:Inno/sandbox: Difference between revisions
(10 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
The user simply need to add a category to its page for dynamic page list to pick it up into different lists. | The user simply need to add a category to its page for dynamic page list to pick it up into different lists. | ||
< | <table> | ||
<tr><td> | |||
{{DPL_test|{{formatnum:{{#expr: 91 / 3 round 0|R}}}}|0}} | |||
</ | </td> | ||
<td> | |||
{{DPL_test|{{formatnum:{{#expr: 91 / 3 round 0|R}}}}|{{formatnum:{{#expr: 91 / 3 round 0|R}}}}}} | |||
</td> | |||
<td> | |||
{{DPL_test|{{formatnum:{{#expr: 91 / 3 round 0|R}}}}|{{formatnum:{{#expr: 91 * 2 / 3 round 0|R}}}}}} | |||
</td></tr></table> | |||
== List of user sub-pages with category "User Analytics" == | == List of user sub-pages with category "User Analytics" == | ||
This is a list of pages with a "User Analytics" category added. | This is a list of pages with a "User Analytics" category added. The date of which the category is added will be present to the front. | ||
There are currently {{PAGESINCATEGORY:User Analytics|R}} pages in the category User Analytics. This magic word number can be utilized to construct a table that is prettier to look at. | |||
<dynamicpagelist> | <dynamicpagelist> | ||
Line 27: | Line 35: | ||
order = lastedit | order = lastedit | ||
shownamespace = false | shownamespace = false | ||
count = {{PAGESINCATEGORY:User Analytics|R}} | |||
</dynamicpagelist> | </dynamicpagelist> | ||
[[Category:User Analytics]] | [[Category:User Analytics]] | ||
== Test area == | |||
{{#expr: {{PAGESINCATEGORY:User Analytics|R}} / 3 round 0}} <- rounding error may occur, I wonder how to solve it. | |||
{{PAGESINNAMESPACE:2}} <- This is disabled by default, so we cannot count the page count of all pages under a single name space, but category we can. | |||
{{formatnum:{{#expr: 91 / 3 round 0|R}}}} <- Probably don't need the formatnum, but whattheheck. |
Latest revision as of 03:44, 21 December 2024
List of user sub-pages
Here is a list of currently existing user sub-pages using dynamic page list, ordered from the last edited:
The user simply need to add a category to its page for dynamic page list to pick it up into different lists.
List of user sub-pages with category "User Analytics"
This is a list of pages with a "User Analytics" category added. The date of which the category is added will be present to the front.
There are currently 1 pages in the category User Analytics. This magic word number can be utilized to construct a table that is prettier to look at.
- 20 December 2024: Inno/sandbox
Test area
0 <- rounding error may occur, I wonder how to solve it.
Template:PAGESINNAMESPACE:2 <- This is disabled by default, so we cannot count the page count of all pages under a single name space, but category we can.
30 <- Probably don't need the formatnum, but whattheheck.