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:{{{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}}}}|s<br>|<br>}}|{{{text}}}}}</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