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|}}} | | ||
+ | {{Nav-Tile|Caption={{{Category2|}}}|Image={{{CategoryImage2}}}|Link=:Category:{{{Category2}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour=PaleGoldenrod|Side={{{Side|}}}}}| | ||
}}{{#if: {{{Image1|}}} | | }}{{#if: {{{Image1|}}} | | ||
{{Nav-Tile|Caption={{{Caption1|}}}|Comment={{{Comment1|}}}|Image={{{Image1}}}|Link={{{Link1}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour={{{Colour|}}}|Side={{{Side|}}}}}| | {{Nav-Tile|Caption={{{Caption1|}}}|Comment={{{Comment1|}}}|Image={{{Image1}}}|Link={{{Link1}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour={{{Colour|}}}|Side={{{Side|}}}}}| |