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 (Link in Template preview fix)
 
(5 intermediate revisions by the same user not shown)
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: {{{red|}}} | red }}" data-href="{{{link|Getting_Started_Guide_Pilot}}}">[[{{{link|Getting_Started_Guide_Pilot}}}|{{{text|GETTING STARTED GUIDE (AIRLINE PILOT)}}}]]</div>
 
</onlyinclude>
 
</onlyinclude>
 
<noinclude>
 
<noinclude>
Line 6: Line 6:
 
{{MenuButton
 
{{MenuButton
 
|text = text to display
 
|text = text to display
|link = actual link
+
|link = Actual Link
 +
|red = true
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{MenuButton
 +
|text = Blue
 +
|link = Getting_Started_Guide_Pilot
 +
}}
 +
{{MenuButton
 +
|text = Red
 +
|link = Getting_Started_Guide_Pilot
 +
|red = true
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:56, 23 November 2023


{{MenuButton
|text = text to display
|link = Actual Link
|red = true
}}