Difference between revisions of "Template:Main Page/Critters"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (creating template; imported from Dorsal Axe's design) |
AlexBot2004 (talk | contribs) m ("Creature" is the general term used in-game, not "critter") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div align=center style="position: relative; margin: 0 auto; font-size:14px; border-radius:20px; padding: 0.1em 1em; vertical-align:top; text-align:center; {{roundy|12px}}; justify-content: center;"><font face="Coustard" size=2>New in the | + | <div align=center style="position: relative; margin: 0 auto; font-size:14px; border-radius:20px; padding: 0.1em 1em; vertical-align:top; text-align:center; {{roundy|12px}}; justify-content: center;"><font face="Coustard" size=2>New in the northern hemisphere [[File:Northern Hemisphere icon.png|15px|link=]]</font></div> |
− | <div style="display: grid; grid-template-columns: repeat(auto-fill, 40px); grid-gap: 0.2em; margin: auto; justify-content: center; align-items: center; margin: 7px;">{{#if:{{# | + | <div style="display: grid; grid-template-columns: repeat(auto-fill, 40px); grid-gap: 0.2em; margin: auto; justify-content: center; align-items: center; margin: 7px;">{{#if:{{#cargo_query: |
− | + | |table=nh_fish | |
− | group by=name | + | |group by=name |
− | fields=_pageName=pagename,name,CONCAT('fish')=color,image | + | |fields=_pageName=pagename,name,CONCAT('fish')=color,image |
− | + | |order by=number | |
− | + | |where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | |
− | | | ||
− | |||
− | |||
− | order by=number | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
|format=template | |format=template | ||
|template=Main Page/CritterDisplay | |template=Main Page/CritterDisplay | ||
|named args=yes | |named args=yes | ||
− | |limit= | + | |limit=80 |
− | + | |default= | |
− | + | }} | |
− | + | {{#cargo_query: | |
− | + | |table=nh_bug | |
− | + | |group by=name | |
− | + | |fields=_pageName=pagename,name,CONCAT('bugs')=color,image | |
− | | | + | |order by=number |
− | group by=name | + | |where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 |
− | fields=_pageName=pagename,name,CONCAT('bugs')=color,image | ||
− | order by=number | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
|format=template | |format=template | ||
|template=Main Page/CritterDisplay | |template=Main Page/CritterDisplay | ||
|named args=yes | |named args=yes | ||
− | |limit= | + | |limit=80 |
+ | |default= | ||
+ | }} | ||
+ | {{#cargo_query: | ||
+ | |table=nh_sea_creature | ||
+ | |group by=name | ||
+ | |fields=_pageName=pagename,name,CONCAT('sea creatures')=color,image | ||
+ | |order by=number | ||
+ | |where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
+ | |format=template | ||
+ | |template=Main Page/CritterDisplay | ||
+ | |named args=yes | ||
+ | |limit=40 | ||
+ | |default= | ||
+ | }} | ||
+ | |{{#cargo_query: | ||
+ | |table=nh_fish | ||
+ | |group by=name | ||
+ | |fields=_pageName=pagename,name,CONCAT('fish')=color,image | ||
+ | |order by=number | ||
+ | |where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
+ | |format=template | ||
+ | |template=Main Page/CritterDisplay | ||
+ | |named args=yes | ||
+ | |limit=80 | ||
+ | |default= | ||
+ | }} | ||
+ | {{#cargo_query: | ||
+ | |table=nh_bug | ||
+ | |group by=name | ||
+ | |fields=_pageName=pagename,name,CONCAT('bugs')=color,image | ||
+ | |order by=number | ||
+ | |where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
+ | |format=template | ||
+ | |template=Main Page/CritterDisplay | ||
+ | |named args=yes | ||
+ | |limit=80 | ||
+ | |default= | ||
+ | }} | ||
+ | {{#cargo_query: | ||
+ | |table=nh_sea_creature | ||
+ | |group by=name | ||
+ | |fields=_pageName=pagename,name,CONCAT('sea creatures')=color,image | ||
+ | |order by=number | ||
+ | |where=n_m{{{month|{{CURRENTMONTH1}}}}}=1 AND n_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
+ | |format=template | ||
+ | |template=Main Page/CritterDisplay | ||
+ | |named args=yes | ||
+ | |limit=40 | ||
+ | |default= | ||
}}</div>|</div> | }}</div>|</div> | ||
− | :''No new | + | :''No new creatures this month!''}} |
− | <div align=center style="position: relative; margin: 0 auto; font-size:14px; border-radius:20px; padding:0.1em 1em; vertical-align:top; text-align:center; {{roundy|12px}};"><font face="Coustard" size=2>New in the | + | <div align=center style="position: relative; margin: 0 auto; font-size:14px; border-radius:20px; padding:0.1em 1em; vertical-align:top; text-align:center; {{roundy|12px}};"><font face="Coustard" size=2>New in the southern hemisphere [[File:Southern Hemisphere icon.png|15px|link=]]</font></div> |
− | <div style="display: grid; grid-template-columns: repeat(auto-fill, 40px); margin: auto; justify-content: center; align-items: center; grid-gap: 0.2em; margin: 7px;">{{#if:{{# | + | <div style="display: grid; grid-template-columns: repeat(auto-fill, 40px); margin: auto; justify-content: center; align-items: center; grid-gap: 0.2em; margin: 7px;">{{#if: |
− | + | {{#cargo_query: | |
− | group by=name | + | |table=nh_fish |
− | fields=_pageName=pagename,name,CONCAT('fish')=color,image | + | |group by=name |
− | order by=number | + | |fields=_pageName=pagename,name,CONCAT('fish')=color,image |
− | where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | + | |order by=number |
− | | | + | |where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 |
− | group by=name | + | |format=template |
− | fields=_pageName=pagename,name,CONCAT('bugs')=color,image | + | |template=Main Page/CritterDisplay |
− | order by=number | + | |named args=yes |
− | where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | + | |limit=80 |
− | | | + | |default= |
− | group by=name | + | }} |
− | fields=_pageName=pagename,name,CONCAT('sea creatures')=color,image | + | {{#cargo_query: |
− | order by=number | + | |table=nh_bug |
− | where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | + | |group by=name |
+ | |fields=_pageName=pagename,name,CONCAT('bugs')=color,image | ||
+ | |order by=number | ||
+ | |where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
+ | |format=template | ||
+ | |template=Main Page/CritterDisplay | ||
+ | |named args=yes | ||
+ | |limit=80 | ||
+ | |default= | ||
+ | }} | ||
+ | {{#cargo_query: | ||
+ | |table=nh_sea_creature | ||
+ | |group by=name | ||
+ | |fields=_pageName=pagename,name,CONCAT('sea creatures')=color,image | ||
+ | |order by=number | ||
+ | |where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
+ | |format=template | ||
+ | |template=Main Page/CritterDisplay | ||
+ | |named args=yes | ||
+ | |limit=40 | ||
+ | |default= | ||
+ | }}|{{#cargo_query: | ||
+ | |table=nh_fish | ||
+ | |group by=name | ||
+ | |fields=_pageName=pagename,name,CONCAT('fish')=color,image | ||
+ | |order by=number | ||
+ | |where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
+ | |format=template | ||
+ | |template=Main Page/CritterDisplay | ||
+ | |named args=yes | ||
+ | |limit=80 | ||
+ | |default= | ||
+ | }} | ||
+ | {{#cargo_query: | ||
+ | |table=nh_bug | ||
+ | |group by=name | ||
+ | |fields=_pageName=pagename,name,CONCAT('bugs')=color,image | ||
+ | |order by=number | ||
+ | |where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
|format=template | |format=template | ||
|template=Main Page/CritterDisplay | |template=Main Page/CritterDisplay | ||
|named args=yes | |named args=yes | ||
− | |limit= | + | |limit=80 |
− | + | |default= | |
− | + | }} | |
− | + | {{#cargo_query: | |
− | + | |table=nh_sea_creature | |
− | + | |group by=name | |
− | + | |fields=_pageName=pagename,name,CONCAT('sea creatures')=color,image | |
− | + | |order by=number | |
− | + | |where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | |
− | |||
− | |||
− | |||
− | | | ||
− | group by=name | ||
− | fields=_pageName=pagename,name,CONCAT('sea creatures')=color,image | ||
− | order by=number | ||
− | where=s_m{{{month|{{CURRENTMONTH1}}}}}=1 AND s_m{{#ifexpr:{{{month|{{CURRENTMONTH1}}}}}-1<=0|{{#expr:({{{month|{{CURRENTMONTH1}}}}}+12)-1}}|{{#expr:{{{month|{{CURRENTMONTH1}}}}}-1}}}}=0 | ||
|format=template | |format=template | ||
|template=Main Page/CritterDisplay | |template=Main Page/CritterDisplay | ||
|named args=yes | |named args=yes | ||
− | |limit= | + | |limit=40 |
+ | |default= | ||
}}</div>|</div> | }}</div>|</div> | ||
− | :''No new | + | :''No new creatures this month!''}}<noinclude>[[Category:Main Page templates]]</noinclude> |