Difference between revisions of "Template:HomepageTileSmall"

From Tycoon Gaming
 
(One intermediate revision by the same user not shown)
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
 
}}
 
}}
  
{{HomepageTileSmall|trap = right or left or none|text = text to display|link = actual link}}
+
{{HomepageTileSmall|trap = right or left or none|text = text to display|link = actual link|class = choose from HomeNav (Default) or HomeNavTwo}}
 
</pre>
 
</pre>
 
[[Category:HomePage]]
 
[[Category:HomePage]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:02, 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|class = choose from HomeNav (Default) or HomeNavTwo}}