Difference between revisions of "User:Aemony/Sandbox/Categorybox"
From PCGamingWiki, the wiki about fixing PC games
< User:Aemony | Sandbox
m (d1) |
m (d) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table class="pcgwikitable template-categorybox"> | <includeonly><table class="pcgwikitable template-categorybox"> | ||
<caption class="template-categorybox-title">[[:Category:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}]]</caption><!-- | <caption class="template-categorybox-title">[[:Category:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}]]</caption><!-- | ||
+ | |||
+ | 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|}} }} | {{#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|}}} | category = {{{1|}}} | ||
order = ascending | order = ascending | ||
Line 9: | Line 19: | ||
shownamespace = false | shownamespace = false | ||
mode = none | 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?)