Difference between revisions of "Template:HomepageTileSmall"

From Tycoon Gaming
m
Line 1: Line 1:
<onlyinclude><div class="HomeNav">{{#switch:{{{trap|}}}|right=<div class="trapzoidright"></div>|left=<div class="trapzoidleft"></div>}}<span>[[{{{link|Credits}}}|{{uc:{{{text|Credits}}}}}]]</span></div></onlyinclude>
+
<onlyinclude><div class="{{{class|HomeNav}}}">{{#switch:{{{trap|}}}|right=<div class="trapzoidright"></div>|left=<div class="trapzoidleft"></div>}}<span>[[{{{link|Credits}}}|{{uc:{{{text|Credits}}}}}]]</span></div></onlyinclude>
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
Line 6: Line 6:
 
|text = text to display
 
|text = text to display
 
|link = actual link
 
|link = actual link
 +
|class = choose from HomeNav (Default) or HomeNavTwo
 
}}
 
}}
  

Revision as of 16:59, 3 April 2020

{{HomepageTileSmall
|trap = trapezoid, left or right or none
|text = text to display
|link = actual link
|class = choose from HomeNav (Default) or HomeNavTwo
}}

{{HomepageTileSmall|trap = right or left or none|text = text to display|link = actual link}}