Difference between revisions of "User:Aemony/Sandbox/Categorybox"
From PCGamingWiki, the wiki about fixing PC games
< User:Aemony | Sandbox
m (t) |
m (d) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Categorybox | + | <includeonly><table class="pcgwikitable template-categorybox"> |
− | | | + | <caption class="template-categorybox-title">[[:Category:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}]]</caption><!-- |
− | |category = | + | |
− | }} | + | LEGACY CODE START |
+ | |||
+ | {{#ifeq: {{{3|}}} | subcategoriesonly | {{#ask:[[Subcategory of::{{{1}}}]]|limit=100|format=template|template=Categorybox/row|columns=1|}} | {{#ask:[[Category:{{{1}}}]]|format=template|template=Categorybox/row|columns=1|}} }} | ||
+ | |||
+ | LEGACY CODE STOP | ||
+ | |||
+ | The <tr class="template-categorybox-row"><td class="template-categorybox-cell"></td></tr> | ||
+ | below came initially from Categorybox/row | ||
+ | |||
+ | --><tr class="template-categorybox-row"> | ||
+ | <td class="template-categorybox-cell">{{#tag:DynamicPageList| | ||
+ | category = {{{1|}}} | ||
+ | order = ascending | ||
+ | ordermethod = sortkey | ||
+ | namespace = {{#ifeq: {{{3|}}} | subcategoriesonly | category }} | ||
+ | shownamespace = false | ||
+ | mode = none | ||
+ | }}</td> | ||
+ | </tr> | ||
+ | </table></includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 21:30, 18 October 2021
Documentation for the above template (sometimes hidden from view).
Visit User:Aemony/Sandbox/Categorybox/Documentation to edit this text. (How does this work?)