Template:Walls Navbox: Difference between revisions

197 bytes added ,  19:03, 14 September 2022
m
add alignment param
(update to support category filtering)
m (add alignment param)
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 20: Line 22:


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


[[Category:Navigation]]
[[Category:Navigation]]
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}}