Difference between revisions of "Template:MenuButton"

From Tycoon Gaming
m
m (Link in Template preview fix)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
<div class="MenuButton {{#if: {{{value|}}} | 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
 
}}
 
}}
 
</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
}}