Difference between revisions of "Template:Crypt"

From BlogNomic Wiki
Jump to navigation Jump to search
(creating a cell border template)
 
(maybe this look a bit better?)
Line 1: Line 1:
<div style="{{#switch: {{{north}}} | blocked = border-top:2px solid #f00; }}
+
<div style="{{#switch: {{{north}}} | blocked = border-top:8px groove #aaa; }}
{{#switch: {{{south}}} | blocked = border-bottom:2px solid #f00; }}
+
{{#switch: {{{south}}} | blocked = border-bottom:8px groove #aaa; }}
{{#switch: {{{east}}} | blocked = border-right:2px solid #f00; }}
+
{{#switch: {{{east}}} | blocked = border-right:8px groove #aaa; }}
{{#switch: {{{west}}} | blocked = border-left:2px solid #f00; }}">{{{1}}}</div>
+
{{#switch: {{{west}}} | blocked = border-left:8px groove #aaa; }}">{{{1}}}</div>
  
 
<noinclude>
 
<noinclude>

Revision as of 10:31, 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