Difference between revisions of "Template:Nav-Tiles"
From Regiapædia
Line 1: | Line 1: | ||
− | <div style="max-width:100%; overflow: hidden;">{{#if: {{{ | + | <div style="max-width:100%; overflow: hidden;">{{#if: {{{TopCategoryImage|}}} | |
− | {{Nav-Tile|Caption={{{ | + | {{Nav-Tile|Caption={{{TopCategory|}}}|Image={{{TopCategoryImage}}}|Link=:Category:{{{TopCategory}}}|Width={{{Width|}}}|Height={{{Height|}}}|Colour=PaleGoldenrod|Side={{{Side|}}}}}| |
− | }}{{#if: {{{ | + | }}{{#if: {{{SubCategoryImage|}}} | |
− | {{Nav-Tile|Caption={{{ | + | {{Nav-Tile|Caption={{{SubCategory|}}}|Image={{{SubCategoryImage}}}|Link=:Category:{{{SubCategory}}}|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|}}}}}| |