Difference between revisions of "Template:MenuButton"

From Tycoon Gaming
(Created page with "<onlyinclude> <div class="MenuButton red">[[{{{link|Getting_Started_Guide_Pilot}}}|{{{text|GETTING STARTED GUIDE (AIRLINE PILOT)}}}]]</div> </onlyinclude> <noinclude> <pre> {{...")
 
m
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
<div class="MenuButton red">[[{{{link|Getting_Started_Guide_Pilot}}}|{{{text|GETTING STARTED GUIDE (AIRLINE PILOT)}}}]]</div>
+
<div class="MenuButton {{#if: {{{value|}}} | red }}">[[{{{link|Getting_Started_Guide_Pilot}}}|{{{text|GETTING STARTED GUIDE (AIRLINE PILOT)}}}]]</div>
 
</onlyinclude>
 
</onlyinclude>
 
<noinclude>
 
<noinclude>
Line 7: Line 7:
 
|text = text to display
 
|text = text to display
 
|link = actual link
 
|link = actual link
 +
|red = true
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 18:47, 10 November 2023


{{MenuButton
|text = text to display
|link = actual link
|red = true
}}