Template:Walls Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (add alignment param)
m (Fix typo in "holographic")
 
(2 intermediate revisions by one other user not shown)
Line 22: Line 22:


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


[[Category:Navigation]]
[[Category:Navigation]]
Line 37: Line 37:
                         | sultan = [[:Category:Sultan Walls|Sultan Walls]]
                         | sultan = [[:Category:Sultan Walls|Sultan Walls]]
                         | murals = [[:Category:Murals|Murals]]
                         | murals = [[:Category:Murals|Murals]]
                         | holographic = [[:Category:Holographic Walls|Holograhpic Walls]]
                         | holographic = [[:Category:Holographic Walls|Holographic Walls]]
                         | force = [[:Category:Force Fields|Force Fields]]
                         | force = [[:Category:Force Fields|Force Fields]]
                         | [[:Category:Walls|Walls]]
                         | [[:Category:Walls|Walls]]
                       }}
                       }}
| below      = {{#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>}}
| 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}}}

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: