Template:Walls Navbox: Difference between revisions

From Caves of Qud Wiki
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...")
 
(Group by wall category)
Line 8: Line 8:
| innerstyle = font-family:Source Code Pro;
| innerstyle = font-family:Source Code Pro;


| group1 = 0-50 HP
| group1 = Walls
| list1 = {{#cargo_query:
| list1 = {{#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,'{{)}} <i>(',C.HP,')</i>')=Page
   | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
   | where    = C.HP <= 50 AND (GD.Categories = 'Walls' OR GD.Categories = 'Gemstone Walls' OR GD.Categories = 'Murals' OR GD.Categories = 'Wall Traps')
   | where    = GD.Categories = 'Walls'
   | format    = list
   | format    = list
   | order by  = C.HP,GD.PlainName
   | order by  = GD.PlainName
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block">|intro=<span style="display:inline-block">|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  =
   }}
   }}
Line 22: Line 22:
| 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 = 51-100 HP
| group2 = Fences
| list2 = {{#cargo_query:
| list2 = {{#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,'{{)}} <i>(',C.HP,')</i>')=Page
   | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
   | where    = C.HP > 50 AND C.HP <= 100 AND (GD.Categories = 'Walls' OR GD.Categories = 'Gemstone Walls' OR GD.Categories = 'Murals' OR GD.Categories = 'Wall Traps')
   | where    = GD.Categories = 'Fences'
   | format    = list
   | format    = list
   | order by  = C.HP,GD.PlainName
   | order by  = GD.PlainName
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block">|intro=<span style="display:inline-block">|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  =
   }}
   }}
Line 36: Line 36:
| 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 = 101-200 HP
| group3 = Vents
| list3 = {{#cargo_query:
| list3 = {{#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,'{{)}} <i>(',C.HP,')</i>')=Page
   | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
   | where    = C.HP > 100 AND C.HP <= 200 AND (GD.Categories = 'Walls' OR GD.Categories = 'Gemstone Walls' OR GD.Categories = 'Murals' OR GD.Categories = 'Wall Traps')
   | where    = GD.Categories = 'Vents'
   | format    = list
   | format    = list
   | order by  = C.HP,GD.PlainName
   | order by  = GD.PlainName
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block">|intro=<span style="display:inline-block">|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  =
   }}
   }}
Line 50: Line 50:
| 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 = 201-1000 HP
| group4 = Glass Walls
| list4 = {{#cargo_query:
| list4 = {{#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,'{{)}} <i>(',C.HP,')</i>')=Page
   | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
   | where    = C.HP > 200 AND C.HP <= 1000 AND (GD.Categories = 'Walls' OR GD.Categories = 'Gemstone Walls' OR GD.Categories = 'Murals' OR GD.Categories = 'Wall Traps')
   | where    = GD.Categories = 'Glass Walls'
   | format    = list
   | format    = list
   | order by  = C.HP,GD.PlainName
   | order by  = GD.PlainName
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block">|intro=<span style="display:inline-block">|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  =
   }}
   }}
Line 64: Line 64:
| 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 = 1001-5000 HP
| group5 = Tech Walls
| list5 = {{#cargo_query:
| list5 = {{#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,'{{)}} <i>(',C.HP,')</i>')=Page
   | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
   | where    = C.HP > 1000 AND C.HP <= 5000 AND (GD.Categories = 'Walls' OR GD.Categories = 'Gemstone Walls' OR GD.Categories = 'Murals' OR GD.Categories = 'Wall Traps')
   | where    = GD.Categories = 'Tech Walls'
   | format    = list
   | format    = list
   | order by  = C.HP,GD.PlainName
   | order by  = GD.PlainName
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block">|intro=<span style="display:inline-block">|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  =
   }}
   }}
Line 78: Line 78:
| 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 = 5001-10000 HP
| group6 = Gemstone Walls
| list6 = {{#cargo_query:
| list6 = {{#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,'{{)}} <i>(',C.HP,')</i>')=Page
   | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
   | where    = C.HP > 5000 AND C.HP <= 10000 AND (GD.Categories = 'Walls' OR GD.Categories = 'Gemstone Walls' OR GD.Categories = 'Murals' OR GD.Categories = 'Wall Traps')
   | where    = GD.Categories = 'Gemstone Walls'
   | format    = list
   | format    = list
   | order by  = C.HP,GD.PlainName
   | order by  = GD.PlainName
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block">|intro=<span style="display:inline-block">|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  =
   }}
   }}
Line 92: Line 92:
| 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 = >10000 HP
| group7 = Sultan Walls
| list7 = {{#cargo_query:
| list7 = {{#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,'{{)}} <i>(',C.HP,')</i>')=Page
   | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
   | where    = C.HP > 10000 AND (GD.Categories = 'Walls' OR GD.Categories = 'Gemstone Walls' OR GD.Categories = 'Murals' OR GD.Categories = 'Wall Traps')
   | where    = GD.Categories = 'Sultan Walls'
   | format    = list
   | format    = list
   | order by  = C.HP,GD.PlainName
   | order by  = GD.PlainName
   | delimiter = &nbsp;<span style="color:#155352;">-</span>&nbsp;</span><span style="display:inline-block">|intro=<span style="display:inline-block">|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  =
   }}
   }}
Line 106: Line 106:
| 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
| list8 = {{#cargo_query:
  | tables    = Characters=C, GeneralData=GD
  | join on  = C.ObjectID=GD.ObjectID
  | fields    = CONCAT('{{(}}favilink id{{!}}',GD.ObjectID,'{{)}}')=Page
  | where    = GD.Categories = 'Murals'
  | format    = list
  | order by  = GD.PlainName
  | 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  =
  }}
| 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 = Holographic Walls
| list9 = {{#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'
  | format    = list
  | order by  = GD.PlainName
  | 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  =
  }}
| 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 = Force Fields
| list10 = {{#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'
  | format    = list
  | order by  = GD.PlainName
  | 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  =
  }}
| 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><noinclude>
}}</includeonly><noinclude>

Revision as of 19:08, 14 June 2022

This article may need cleanup to meet quality standards.
Please help improve this page by editing it. The Discussion page may contain suggestions.

Reason: "This is only a draft template. It isn't ready to use and will likely change / be subdivided."

This article may need cleanup to meet quality standards.
Please help improve this page by editing it. The Discussion page may contain suggestions.

Reason: "This is only a draft template. It isn't ready to use and will likely change / be subdivided."

Navbox listing walls by relative strength (HP).

Example:

{{Walls Navbox}}

Result: