Template:Walls Navbox: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{Navbox | name = Walls Navbox | title = List of Walls | listclass = hlist | state = {{{state|collapsed}}} | titlestyle = bac...") |
m (Fix typo in "holographic") |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Navbox | <noinclude> | ||
Navbox listing walls (and wall-like-objects) by category. Each category is sorted by name. | |||
Optionally, you may specify one of these values in the <code>category</code> parameter to limit this navbox to walls of the specified type: | |||
* general | |||
* fences | |||
* vents | |||
* glass | |||
* tech | |||
* gemstone | |||
* sultan | |||
* murals | |||
* holographic | |||
* force | |||
This is recommended in most cases because the full list of all walls is very long. | |||
Another optional parameter is the <code>align</code> parameter. It is set to "center" by default, but can be changed to "left" if desired. | |||
== Example: == | |||
<code><nowiki>{{Walls Navbox|category=general}}</nowiki></code> | |||
== Result: == | |||
{{Walls Navbox|category=general}} | |||
[[Category:Navigation]] | |||
</noinclude><includeonly>{{Navbox | |||
| name = Walls Navbox | | name = Walls Navbox | ||
| title = List of [[:Category:Walls|Walls]] | | title = List of {{#switch: {{{category|all}}} | ||
| general = [[:Category:Walls|General Walls]] | |||
| fences = [[:Category:Fences|Fences]] | |||
| vents = [[:Category:Vents|Vents]] | |||
| glass = [[:Category:Glass Walls|Glass Walls]] | |||
| tech = [[:Category:Tech Walls|Tech Walls]] | |||
| gemstone = [[:Category:Gemstone Walls|Gemstone Walls]] | |||
| sultan = [[:Category:Sultan Walls|Sultan Walls]] | |||
| murals = [[:Category:Murals|Murals]] | |||
| holographic = [[:Category:Holographic Walls|Holographic Walls]] | |||
| force = [[:Category:Force Fields|Force Fields]] | |||
| [[:Category:Walls|Walls]] | |||
}} | |||
| below = {{#ifeq:{{PAGENAME}}|Walls||{{#ifeq:{{{category|all}}}|all||<div style="text-align:right;font-size:100%; font-weight:bold; font-family:Source Code Pro; color:#155352;"><span style="color:#155352;">see also:</span> [[Walls|full list of walls]]</div>}}}} | |||
| listclass = hlist | | listclass = hlist | ||
| state = {{{state|collapsed}}} | | state = {{{state|collapsed}}} | ||
Line 7: | Line 47: | ||
| groupstyle = background:rgba(6,28,23,0.9); font-family:Source Code Pro; | | groupstyle = background:rgba(6,28,23,0.9); font-family:Source Code Pro; | ||
| innerstyle = font-family:Source Code Pro; | | innerstyle = font-family:Source Code Pro; | ||
| liststyle = text-align:{{{align|center}}}; | |||
| group1 = | | group1 = {{#ifeq:{{{category|}}}|general||Walls}} | ||
| list1 = {{#cargo_query: | | list1 = {{#ifeq:{{{category|general}}}|general|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | | tables = Characters=C, GeneralData=GD | ||
| join on = C.ObjectID=GD.ObjectID | | join on = C.ObjectID=GD.ObjectID | ||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}} | | fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page | ||
| where = | | where = GD.Categories = 'Walls' AND GD._pageNamespace = '0' | ||
| format = list | | format = list | ||
| order by = | | order by = GD.PlainName | ||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block">|intro=<span style="display:inline-block">|outro=</span> | | delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | ||
| default = | | default = | ||
}} | }}}} | ||
| group1style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | group1style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| list1style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | list1style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| group2 = | | group2 = {{#ifeq:{{{category|}}}|fences||Fences}} | ||
| list2 = {{#cargo_query: | | list2 = {{#ifeq:{{{category|fences}}}|fences|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | | tables = Characters=C, GeneralData=GD | ||
| join on = C.ObjectID=GD.ObjectID | | join on = C.ObjectID=GD.ObjectID | ||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}} | | fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page | ||
| where = | | where = GD.Categories = 'Fences' AND GD._pageNamespace = '0' | ||
| format = list | | format = list | ||
| order by = | | order by = GD.PlainName | ||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block">|intro=<span style="display:inline-block">|outro=</span> | | delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | ||
| default = | | default = | ||
}} | }}}} | ||
| group2style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | group2style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| list2style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | list2style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| group3 = | | group3 = {{#ifeq:{{{category|}}}|vents||Vents}} | ||
| list3 = {{#cargo_query: | | list3 = {{#ifeq:{{{category|vents}}}|vents|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | | tables = Characters=C, GeneralData=GD | ||
| join on = C.ObjectID=GD.ObjectID | | join on = C.ObjectID=GD.ObjectID | ||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}} | | fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page | ||
| where = | | where = GD.Categories = 'Vents' AND GD._pageNamespace = '0' | ||
| format = list | | format = list | ||
| order by = | | order by = GD.PlainName | ||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block">|intro=<span style="display:inline-block">|outro=</span> | | delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | ||
| default = | | default = | ||
}} | }}}} | ||
| group3style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | group3style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| list3style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | list3style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| group4 = | | group4 = {{#ifeq:{{{category|}}}|glass||Glass Walls}} | ||
| list4 = {{#cargo_query: | | list4 = {{#ifeq:{{{category|glass}}}|glass|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | | tables = Characters=C, GeneralData=GD | ||
| join on = C.ObjectID=GD.ObjectID | | join on = C.ObjectID=GD.ObjectID | ||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}} | | fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page | ||
| where = | | where = GD.Categories = 'Glass Walls' AND GD._pageNamespace = '0' | ||
| format = list | | format = list | ||
| order by = | | order by = GD.PlainName | ||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block">|intro=<span style="display:inline-block">|outro=</span> | | delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | ||
| default = | | default = | ||
}} | }}}} | ||
| group4style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | group4style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| list4style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | list4style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| group5 = | | group5 = {{#ifeq:{{{category|}}}|tech||Tech Walls}} | ||
| list5 = {{#cargo_query: | | list5 = {{#ifeq:{{{category|tech}}}|tech|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | | tables = Characters=C, GeneralData=GD | ||
| join on = C.ObjectID=GD.ObjectID | | join on = C.ObjectID=GD.ObjectID | ||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{ | | fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{!}}{{(}}lcfirst:',GD._pageName,'{{)}}{{)}}')=Page | ||
| where = | | where = GD.Categories = 'Tech Walls' AND GD._pageNamespace = '0' | ||
| format = list | | format = list | ||
| order by = | | order by = GD.PlainName | ||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block">|intro=<span style="display:inline-block">|outro=</span> | | delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | ||
| default = | | default = | ||
}} | }}}} | ||
| group5style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | group5style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| list5style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | list5style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| group6 = | | group6 = {{#ifeq:{{{category|}}}|gemstone||Gemstone Walls}} | ||
| list6 = {{#cargo_query: | | list6 = {{#ifeq:{{{category|gemstone}}}|gemstone|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | | tables = Characters=C, GeneralData=GD | ||
| join on = C.ObjectID=GD.ObjectID | | join on = C.ObjectID=GD.ObjectID | ||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}} | | fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page | ||
| where = | | where = GD.Categories = 'Gemstone Walls' AND GD._pageNamespace = '0' | ||
| format = list | | format = list | ||
| order by = | | order by = GD.PlainName | ||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block">|intro=<span style="display:inline-block">|outro=</span> | | delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | ||
| default = | | default = | ||
}} | }}}} | ||
| group6style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | group6style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| list6style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | list6style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| group7 = | | group7 = {{#ifeq:{{{category|}}}|sultan||Sultan Walls}} | ||
| list7 = {{#cargo_query: | | list7 = {{#ifeq:{{{category|sultan}}}|sultan|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | | tables = Characters=C, GeneralData=GD | ||
| join on = C.ObjectID=GD.ObjectID | | join on = C.ObjectID=GD.ObjectID | ||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{ | | fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{!}}{{(}}lcfirst:',GD._pageName,'{{)}}{{)}}')=Page | ||
| where = | | where = GD.Categories = 'Sultan Walls' AND GD._pageNamespace = '0' | ||
| format = list | | format = list | ||
| order by = | | order by = GD.PlainName | ||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block">|intro=<span style="display:inline-block">|outro=</span> | | delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | ||
| default = | | default = | ||
}} | }}}} | ||
| group7style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | group7style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| list7style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | | list7style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | ||
| group8 = {{#ifeq:{{{category|}}}|murals||Murals}} | |||
| list8 = {{#ifeq:{{{category|murals}}}|murals|{{#cargo_query: | |||
| tables = Characters=C, GeneralData=GD | |||
| join on = C.ObjectID=GD.ObjectID | |||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{!}}{{(}}lcfirst:',GD._pageName,'{{)}}{{)}}')=Page | |||
| where = GD.Categories = 'Murals' AND GD._pageNamespace = '0' | |||
| format = list | |||
| order by = GD.PlainName | |||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | |||
| default = | |||
}}}} | |||
| group8style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | |||
| list8style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | |||
| group9 = {{#ifeq:{{{category|}}}|holographic||Holographic Walls}} | |||
| list9 = {{#ifeq:{{{category|holographic}}}|holographic|{{#cargo_query: | |||
| tables = Characters=C, GeneralData=GD | |||
| join on = C.ObjectID=GD.ObjectID | |||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page | |||
| where = GD.Categories = 'Holographic Walls' AND GD._pageNamespace = '0' | |||
| format = list | |||
| order by = GD.PlainName | |||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | |||
| default = | |||
}}}} | |||
| group9style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | |||
| list9style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | |||
}} | | group10 = {{#ifeq:{{{category|}}}|force||Force Fields}} | ||
{{ | | list10 = {{#ifeq:{{{category|force}}}|force|{{#cargo_query: | ||
| tables = Characters=C, GeneralData=GD | |||
| join on = C.ObjectID=GD.ObjectID | |||
| fields = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page | |||
== | | where = GD.Categories = 'Force Fields' AND GD._pageNamespace = '0' | ||
< | | format = list | ||
| order by = GD.PlainName | |||
| delimiter = <span style="color:#155352;">-</span> </span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span> | |||
| default = | |||
}}}} | |||
| group10style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | |||
| list10style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px; | |||
}}</includeonly> | |||
</ |
Latest revision as of 05:38, 11 December 2023
Navbox listing walls (and wall-like-objects) by category. Each category is sorted by name.
Optionally, you may specify one of these values in the category
parameter to limit this navbox to walls of the specified type:
- general
- fences
- vents
- glass
- tech
- gemstone
- sultan
- murals
- holographic
- force
This is recommended in most cases because the full list of all walls is very long.
Another optional parameter is the align
parameter. It is set to "center" by default, but can be changed to "left" if desired.
Example:
{{Walls Navbox|category=general}}
Result: