Difference between revisions of "Template:Nav-Tiles"
From Regiapædia
Line 1: | Line 1: | ||
<div style="max-width:100%; overflow: hidden;">{{#if: {{{CategoryImage1|}}} | | <div style="max-width:100%; overflow: hidden;">{{#if: {{{CategoryImage1|}}} | | ||
{{Nav-Tile|Caption={{{Category1|}}}|Image={{{CategoryImage1}}}|Link=:Category:{{{Category1}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour=PaleGoldenrod|Side={{{Side|}}}}}| | {{Nav-Tile|Caption={{{Category1|}}}|Image={{{CategoryImage1}}}|Link=:Category:{{{Category1}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour=PaleGoldenrod|Side={{{Side|}}}}}| | ||
− | }}if: {{{CategoryImage2|}}} | | + | }}{{if: {{{CategoryImage2|}}} | |
{{Nav-Tile|Caption={{{Category2|}}}|Image={{{CategoryImage2}}}|Link=:Category:{{{Category2}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour=PaleGoldenrod|Side={{{Side|}}}}}| | {{Nav-Tile|Caption={{{Category2|}}}|Image={{{CategoryImage2}}}|Link=:Category:{{{Category2}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour=PaleGoldenrod|Side={{{Side|}}}}}| | ||
}}{{#if: {{{Image1|}}} | | }}{{#if: {{{Image1|}}} | |