Template:Walls Navbox: Difference between revisions

2,355 bytes added ,  05:38, 11 December 2023
m
Fix typo in "holographic"
m (title tweaks)
m (Fix typo in "holographic")
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Navbox listing walls (and wall-like-objects) by category. Each category is sorted by name.
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: ==
== Example: ==
<code><nowiki>{{Walls Navbox}}</nowiki></code>
<code><nowiki>{{Walls Navbox|category=general}}</nowiki></code>


== Result: ==
== Result: ==
{{Walls Navbox|category=general}}


{{Walls Navbox}}
[[Category:Navigation]]


[[Category:Navigation]]
</noinclude><includeonly>{{Navbox
</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 18: 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 = Walls
| 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  
Line 29: Line 59:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</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 = Fences
| 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  
Line 43: Line 73:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</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 = Vents
| 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  
Line 57: Line 87:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</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 = Glass Walls
| 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  
Line 71: Line 101:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</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 = Tech Walls
| 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  
Line 85: Line 115:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</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 = Gemstone Walls
| 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  
Line 99: Line 129:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</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 = Sultan Walls
| 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  
Line 113: Line 143:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</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 = Murals
| group8 = {{#ifeq:{{{category|}}}|murals||Murals}}
| list8 = {{#cargo_query:
| list8 = {{#ifeq:{{{category|murals}}}|murals|{{#cargo_query:
   | tables    = Characters=C, GeneralData=GD
   | tables    = Characters=C, GeneralData=GD
   | join on  = C.ObjectID=GD.ObjectID  
   | join on  = C.ObjectID=GD.ObjectID  
Line 127: Line 157:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | default  =
   | default  =
   }}
   }}}}
| group8style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px;
| 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;
| list8style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px;


| group9 = Holographic Walls
| group9 = {{#ifeq:{{{category|}}}|holographic||Holographic Walls}}
| list9 = {{#cargo_query:
| list9 = {{#ifeq:{{{category|holographic}}}|holographic|{{#cargo_query:
   | tables    = Characters=C, GeneralData=GD
   | tables    = Characters=C, GeneralData=GD
   | join on  = C.ObjectID=GD.ObjectID  
   | join on  = C.ObjectID=GD.ObjectID  
Line 141: Line 171:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | default  =
   | default  =
   }}
   }}}}
| group9style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px;
| 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;
| list9style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px;


| group10 = Force Fields
| group10 = {{#ifeq:{{{category|}}}|force||Force Fields}}
| list10 = {{#cargo_query:
| list10 = {{#ifeq:{{{category|force}}}|force|{{#cargo_query:
   | tables    = Characters=C, GeneralData=GD
   | tables    = Characters=C, GeneralData=GD
   | join on  = C.ObjectID=GD.ObjectID  
   | join on  = C.ObjectID=GD.ObjectID  
Line 155: Line 185:
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block;line-height:2.1em;">|intro=<span style="display:inline-block;line-height:2.1em;">|outro=</span>
   | default  =
   | default  =
   }}
   }}}}
| group10style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px;
| 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;
| list10style = border-bottom:1px solid rgba(77,110,122,0.3);padding-bottom: 5px;


}}</includeonly>
}}</includeonly>
26

edits