User:Stevium/sandbox2: Difference between revisions

Bucket test
No edit summary
Line 1: Line 1:
==All neighbors==
==All neighbors with filters==
{{Filter/Header|type=neighbors}}
{{Filter
|column = 4
|all = true
|mode = contains
|label = Galaxy:
|1 = [[File:Hexia Icon.png|30px|link=|class=day-invert-image]]
|query1 = Hexia
|2 = [[File:Taffeh Icon.png|30px|link=|class=day-invert-image]]
|query2 = Taffeh
|3 = [[File:Norvan Icon.png|30px|link=|class=day-invert-image]]
|query3 = Norvan
}}
{{Filter
|column = 5
|all = true
|label = Pronouns:
|1 = He/Him
|2 = She/Her
}}
{{Filter/Footer}}
{{#invoke:Bucket|get|neighbors
{{#invoke:Bucket|get|neighbors
|select = page_name, realname, birthday, role, galaxy, loves, likes, dislikes
|select = page_name, birthday, role, galaxy, pronouns, loves, likes, dislikes
|where = {{{where|}}}
|where = {{{where|}}}
|filter = {{{filter|}}}
|filter = {{{filter|}}}
Line 7: Line 28:


|format = userformat
|format = userformat
|resultsHeader = '''%TOTALRESULTS%''' [[neighbor]]%S%:
|show resultsHeader = false
|header = <!--
|header = <!--
--><table id="{{{id|}}}" class="wikitable sortable"><!--
--><table id="neighbor-list" class="wikitable sortable"><!--
--><tr><!--
--><tr><!--
--><th class="unsortable">Icon</th><!--
--><th class="unsortable">Icon</th><!--
--><th>Name</th><!--
--><th>Name</th><!--
--><th>Real Name</th><!--
--><th>Birthday</th><!--
--><th>Role</th><!--
--><th>Role</th><!--
--><th>Galaxy</th><!--
--><th>Galaxy</th><!--
--><th>Pronouns</th><!--
--><th>Birthday</th><!--
--><th>Loves</th><!--
--><th>Loves</th><!--
--><th>Likes</th><!--
--><th>Likes</th><!--
Line 25: Line 46:
--><td>{{Item|size=50|%page_name%|notext=1}}</td><!--
--><td>{{Item|size=50|%page_name%|notext=1}}</td><!--
--><td>[[%page_name%]]</td><!--
--><td>[[%page_name%]]</td><!--
--><td>%realname%</td><!--
--><td>%role%</td><!--
--><td><nowiki>{{#if:%galaxy%|{{Item|%galaxy%|invert=Day}}}}</nowiki></td><!--
--><td>%pronouns%</td><!--
--><td>%birthday%</td><!--
--><td>%birthday%</td><!--
--><td>%role%</td><!--
--><td><nowiki>{{#if:%galaxy%|{{Item|%galaxy%}}}}</nowiki></td><!--
--><td><nowiki>{{Item List|%loves%}}</nowiki></td><!--
--><td><nowiki>{{Item List|%loves%}}</nowiki></td><!--
--><td><nowiki>{{List|%likes%}}</nowiki></td><!--
--><td><nowiki>{{List|%likes%}}</nowiki></td><!--
Line 39: Line 60:
===By loves===
===By loves===
{{#invoke:Bucket|get|neighbors
{{#invoke:Bucket|get|neighbors
|select = page_name, realname, birthday, role, galaxy, loves, likes, dislikes
|select = page_name, real_name, birthday, role, galaxy, loves, likes, dislikes
|where = (loves="Caterpillar Fungus Herbal Remedy")
|where = (loves="Caterpillar Fungus Herbal Remedy")
|order by = page_name
|order by = page_name
Line 62: Line 83:
--><td>{{Item|size=50|%page_name%|notext=1}}</td><!--
--><td>{{Item|size=50|%page_name%|notext=1}}</td><!--
--><td>[[%page_name%]]</td><!--
--><td>[[%page_name%]]</td><!--
--><td>%realname%</td><!--
--><td>%real_name%</td><!--
--><td>%birthday%</td><!--
--><td>%birthday%</td><!--
--><td>%role%</td><!--
--><td>%role%</td><!--
Line 75: Line 96:
===By birthday===
===By birthday===
{{#invoke:Bucket|get|neighbors
{{#invoke:Bucket|get|neighbors
|select = page_name, realname, birthday, role, galaxy, loves, likes, dislikes
|select = page_name, real_name, birthday, role, galaxy, loves, likes, dislikes
|filter = (birthday CONTAINS "July")
|filter = (birthday CONTAINS "July")
|order by = page_name
|order by = page_name
Line 98: Line 119:
--><td>{{Item|size=50|%page_name%|notext=1}}</td><!--
--><td>{{Item|size=50|%page_name%|notext=1}}</td><!--
--><td>[[%page_name%]]</td><!--
--><td>[[%page_name%]]</td><!--
--><td>%realname%</td><!--
--><td>%real_name%</td><!--
--><td>%birthday%</td><!--
--><td>%birthday%</td><!--
--><td>%role%</td><!--
--><td>%role%</td><!--