Difference between revisions of "Template:HomepageTileSmall"

From Tycoon Gaming
m (testing)
 
(3 intermediate revisions 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>}}
+
<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>
<span>
 
<a href="/wiki/index.php/{{{link|Credits}}}" title="{{{text|Credits}}}">{{{text|Credits}}}</a>
 
</span>
 
</div></onlyinclude>
 
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
Line 10: 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}}