Difference between revisions of "Template:MenuButton"

From Tycoon Gaming
m
m (Link in Template preview fix)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
<div class="MenuButton {{#if: {{{red|}}} | 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
 
|red = true
 
}}
 
}}
Line 12: Line 12:
 
{{MenuButton
 
{{MenuButton
 
|text = Blue
 
|text = Blue
|link = actual link
+
|link = Getting_Started_Guide_Pilot
 
}}
 
}}
 
{{MenuButton
 
{{MenuButton
 
|text = Red
 
|text = Red
|link = actual link
+
|link = Getting_Started_Guide_Pilot
 
|red = true
 
|red = true
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:56, 23 November 2023


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