Template:ToDoList/cat: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{#fornumargs:key|value|{{#replace:{{PAGESINCAT:{{#var:value}}|{{{type|pages}}}}}|,}} {{#if:{{{{{#expr:{{#var:key}}+1}}|}}}|+}}}} > 0|
<includeonly>{{#ifexpr:{{#fornumargs:key|value|{{PAGESINCAT:{{#var:value}}|{{{type{{#var:key}}|{{{type|pages}}}}}}|R}} {{#if:{{{{{#expr:{{#var:key}}+1}}|}}}|+}}}}|
<div class="todo-entry" style="margin:0.25em 0.5em"><big>[[:Category:{{{1}}}|{{#expr:{{#fornumargs:key|value|{{#replace:{{PAGESINCAT:{{#var:value}}|{{{type|pages}}}}}|,}} {{#if:{{{{{#expr:{{#var:key}}+1}}|}}}|+}}}}}}]]</big><br><small>{{#replace:{{{text}}}|<nowiki> </nowiki>|<br>}}</small></div>
<div class="todo-entry todo-group{{{group|}}}" style="{{#if:{{{color|}}}|color:{{{color}}};}}{{#if:{{{bg|}}}|background:{{{bg}}};}}{{#if:{{{border|}}}|border-color:{{{border}}}}}">{{#if:{{{image|}}}|[[File:{{{image}}}|{{{size|50x100px}}}|link=]]<br>}}<big>[[:{{{link|Category:{{{1}}}}}}|{{#expr:{{#fornumargs:key|value|{{PAGESINCAT:{{#var:value}}|{{{type{{#var:key}}|{{{type|pages}}}}}}|R}} {{#if:{{{{{#expr:{{#var:key}}+1}}|}}}|+}}}}}}]]</big><br><small>{{#ifexpr:{{#fornumargs:key|value|{{PAGESINCAT:{{#var:value}}|{{{type{{#var:key}}|{{{type|pages}}}}}}|R}} {{#if:{{{{{#expr:{{#var:key}}+1}}|}}}|+}}}} = 1|{{#replace:{{#rmatch:{{{text}}}|s$|{{#sub:{{{text}}}|0|-1}}|{{{text}}}}}|s<br>|<br>}}|{{{text}}}}}</small></div>
}}</includeonly><noinclude>[[Category:Subtemplates]]</noinclude>
}}</includeonly><noinclude>[[Category:Subtemplates]]</noinclude>

Latest revision as of 23:16, December 31, 2024