Difference between revisions of "Template:Crypt"

From BlogNomic Wiki
Jump to navigation Jump to search
(maybe this look a bit better?)
(this looks a bit less lopsided; can't see an obvious way to expand the name box to fill the square, though)
Line 1: Line 1:
<div style="{{#switch: {{{north}}} | blocked = border-top:8px groove #aaa; }}
+
<div style="{{#switch: {{{north}}} | blocked = border-top:8px groove #f00; | border-top:8px groove #aaa; }}
{{#switch: {{{south}}} | blocked = border-bottom:8px groove #aaa; }}
+
{{#switch: {{{south}}} | blocked = border-bottom:8px groove #f00; | border-bottom:8px groove #aaa; }}
{{#switch: {{{east}}} | blocked = border-right:8px groove #aaa; }}
+
{{#switch: {{{east}}} | blocked = border-right:8px groove #f00; | border-right:8px groove #aaa; }}
{{#switch: {{{west}}} | blocked = border-left:8px groove #aaa; }}">{{{1}}}</div>
+
{{#switch: {{{west}}} | blocked = border-left:8px groove #f00; | border-left:8px groove #aaa;}}">{{{1}}}</div>
  
 
<noinclude>
 
<noinclude>

Revision as of 10:42, 24 July 2021

{{{1}}}


Example

The code {{crypt|Tenuous Bridge|west=blocked|south=blocked}} inside a table cell at Zahndorf Crypt will produce:

Tenuous Bridge