Difference between revisions of "User:King of Herdaz/notable list"
Jump to navigation
Jump to search
(trying to make a template which, if I can make it work, seems to me like it would be an easier way to do the notable lists) |
m |
||
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
{{for|:Category: {{#if:{{{r|}}}|Residents of|}} {{{1|}}}|a full list}} |
|||
{{columns| |
{{columns| |
||
{{#tag: DynamicPageList| |
|||
category={{{1}}} |
category={{#if:{{{r|}}}|Residents of|}} {{{1|}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
ordermethod=length |
ordermethod=length |
||
order=descending |
order=descending |
||
count={{{ |
count={{{count|9}}} |
||
⚫ | |||
</DynamicPageList> |
|||
category={{{4|}}} |
|||
}} |
}}}} |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
This is a template to simplify the lists of notable characters (or anything else) that appear on many pages on the wiki. By default it lists the |
This is a template to simplify the lists of notable characters (or anything else) that appear on many pages on the wiki. By default it lists the 9 largest pages in the selected category. If needed you can specify a category to be excluded, or an additional category to filter for. If you include <code>|r=y</code> it will add <code>Residents of</code> before the category name you entered. |
||
While this is not a perfect method of choosing notability, I think it does a pretty good job. |
|||
⚫ | |||
<code><nowiki>{{User:King of Herdaz/notable list|category name|count=|3=notcategory|4=secondcategory}}</nowiki></code> |
|||
For example: |
|||
<pre>{{User:King of Herdaz/notable list|Hallandren|4=characters}}</pre> |
|||
produces: |
|||
{{User:King of Herdaz/notable list|Hallandren|4=characters}} |
|||
And |
|||
<pre>{{User:King of Herdaz/notable list|Urithiru|count=15|r=y}}</pre> |
|||
produces: |
|||
⚫ |
Latest revision as of 05:41, 20 December 2021
This is a template to simplify the lists of notable characters (or anything else) that appear on many pages on the wiki. By default it lists the 9 largest pages in the selected category. If needed you can specify a category to be excluded, or an additional category to filter for. If you include |r=y
it will add Residents of
before the category name you entered.
While this is not a perfect method of choosing notability, I think it does a pretty good job.
{{User:King of Herdaz/notable list|category name|count=|3=notcategory|4=secondcategory}}
For example:
{{User:King of Herdaz/notable list|Hallandren|4=characters}}
produces:
And
{{User:King of Herdaz/notable list|Urithiru|count=15|r=y}}
produces: