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
Line 1: Line 1:
<includeonly>{{#ifexpr:{{#fornumargs:key|value|{{PAGESINCAT:{{#var:value}}|{{{type{{#var:key}}|{{{type|pages}}}}}}|R}} {{#if:{{{{{#expr:{{#var:key}}+1}}|}}}|+}}}}|
<includeonly>{{#ifexpr:{{#fornumargs:key|value|{{PAGESINCAT:{{#var:value}}|{{{type{{#var:key}}|{{{type|pages}}}}}}|R}} {{#if:{{{{{#expr:{{#var:key}}+1}}|}}}|+}}}}|
<div class="todo-entry todo-group{{{group|}}}" style="{{#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>{{#rmatch:{{{text}}}|<br>|{{{text}}}|{{#replace:{{{text}}}|<nowiki> </nowiki>|<br>}}}}</small></div>
<div class="todo-entry todo-group{{{group|}}}" style="{{#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}}}}|s<br>|<br>}}|{{{text}}}}}</small></div>
}}</includeonly><noinclude>[[Category:Subtemplates]]</noinclude>
}}</includeonly><noinclude>[[Category:Subtemplates]]</noinclude>

Revision as of 16:24, December 28, 2024