User:Inno/sandbox: Difference between revisions
No edit summary |
|||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<nowiki> | |||
{{Version|23.64}} | |||
</nowiki> | |||
{{Version|23.64}} | |||
{{Version|23.65}} | |||
{{Version|23.67}} | |||
<nowiki> | |||
{{バージョン|23.63}} | |||
</nowiki> | |||
{{バージョン|23.63}} | |||
{{バージョン|23.65}} | |||
{{バージョン|23.67}} | |||
== List of user sub-pages == | == List of user sub-pages == | ||
Line 6: | Line 18: | ||
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. | ||
< | |||
補足:ユーザーがリストを利用するためには、自分のページの末尾にいくつかのカテゴリラベルを追加する必要があります。例えば: | |||
<nowiki> | |||
[[Category: User Analytics]] | |||
</nowiki> | |||
</ | |||
<nowiki> | |||
[[Category: JP]] | |||
</nowiki> | |||
これをページの末尾に追加すると、こちらからはこれらの2つのカテゴリを持つページのみを選択するテーブルを作成できます。 | |||
まず自分のユーザー分析ページに「User Analytics」カテゴリを追加してみてはいかがでしょうか?ページの最後にある次のテーブルで結果を確認できます。 | |||
<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 62: | ||
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. |
Revision as of 17:39, 25 December 2024
{{Version|23.64}}
{{バージョン|23.63}}
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.
補足:ユーザーがリストを利用するためには、自分のページの末尾にいくつかのカテゴリラベルを追加する必要があります。例えば:
[[Category: User Analytics]]
[[Category: JP]]
これをページの末尾に追加すると、こちらからはこれらの2つのカテゴリを持つページのみを選択するテーブルを作成できます。
まず自分のユーザー分析ページに「User Analytics」カテゴリを追加してみてはいかがでしょうか?ページの最後にある次のテーブルで結果を確認できます。
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.
118 <- 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.