Template:Walls Navbox: Difference between revisions

216 bytes added ,  05:38, 11 December 2023
m
Fix typo in "holographic"
(update to support category filtering)
m (Fix typo in "holographic")
 
(3 intermediate revisions by one other user not shown)
Line 15: Line 15:


This is recommended in most cases because the full list of all walls is very long.
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: ==
Line 35: 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}}}
Line 45: 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 = {{#ifeq:{{{category|}}}|general||Walls}}
| group1 = {{#ifeq:{{{category|}}}|general||Walls}}
26

edits