Template:Walls Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 41: Line 41:
                         | [[: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}}}

Revision as of 19:07, 14 September 2022

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: