Difference between revisions of "Template:NavigationBox"

From BTAWiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
{{{box1title}}}
 
{{{box1title}}}
 
{{#if:{{{box1titleimage|}}}|
 
{{#if:{{{box1titleimage|}}}|
[[File:{{{box1titleimage}}}|x30px|frameless]]
+
[[File:{{{box1titleimage}}}|x60px|frameless]]
 
}}
 
}}
 
</div>
 
</div>
Line 17: Line 17:
 
<th>
 
<th>
 
{{#if:{{{box1link1image|}}}|
 
{{#if:{{{box1link1image|}}}|
[[File:{{{box1link1image}}}|x20px|frameless|center]]
+
[[File:{{{box1link1image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link1}}}
 
{{{box1link1}}}
Line 29: Line 29:
 
<th>
 
<th>
 
{{#if:{{{box1link2image|}}}|
 
{{#if:{{{box1link2image|}}}|
[[File:{{{box1link2image}}}|x20px|frameless|center]]
+
[[File:{{{box1link2image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link2}}}
 
{{{box1link2}}}
Line 41: Line 41:
 
<th>
 
<th>
 
{{#if:{{{box1link3image|}}}|
 
{{#if:{{{box1link3image|}}}|
[[File:{{{box1link3image}}}|x20px|frameless|center]]
+
[[File:{{{box1link3image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link3}}}
 
{{{box1link3}}}
Line 53: Line 53:
 
<th>
 
<th>
 
{{#if:{{{box1link4image|}}}|
 
{{#if:{{{box1link4image|}}}|
[[File:{{{box1link4image}}}|x20px|frameless]]
+
[[File:{{{box1link4image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link4}}}
 
{{{box1link4}}}
Line 65: Line 65:
 
<th>
 
<th>
 
{{#if:{{{box1link5image|}}}|
 
{{#if:{{{box1link5image|}}}|
[[File:{{{box1link5image}}}|x20px|frameless|center]]
+
[[File:{{{box1link5image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link5}}}
 
{{{box1link5}}}
Line 77: Line 77:
 
<th>
 
<th>
 
{{#if:{{{box1link6image|}}}|
 
{{#if:{{{box1link6image|}}}|
[[File:{{{box1link6image}}}|x20px|frameless|center]]
+
[[File:{{{box1link6image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link6}}}
 
{{{box1link6}}}
Line 89: Line 89:
 
<th>
 
<th>
 
{{#if:{{{box1link7image|}}}|
 
{{#if:{{{box1link7image|}}}|
[[File:{{{box1link7image}}}|x20px|frameless|center]]
+
[[File:{{{box1link7image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link7}}}
 
{{{box1link7}}}
Line 101: Line 101:
 
<th>
 
<th>
 
{{#if:{{{box1link8image|}}}|
 
{{#if:{{{box1link8image|}}}|
[[File:{{{box1link8image}}}|x20px|frameless|center]]
+
[[File:{{{box1link8image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link8}}}
 
{{{box1link8}}}
Line 113: Line 113:
 
<th>
 
<th>
 
{{#if:{{{box1link9image|}}}|
 
{{#if:{{{box1link9image|}}}|
[[File:{{{box1link9image}}}|x20px|frameless|center]]
+
[[File:{{{box1link9image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link9}}}
 
{{{box1link9}}}
Line 125: Line 125:
 
<th>
 
<th>
 
{{#if:{{{box1link10image|}}}|
 
{{#if:{{{box1link10image|}}}|
[[File:{{{box1link10image}}}|x20px|frameless|center]]
+
[[File:{{{box1link10image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box1link10}}}
 
{{{box1link10}}}
Line 143: Line 143:
 
{{{box2title}}}
 
{{{box2title}}}
 
{{#if:{{{box2titleimage|}}}|
 
{{#if:{{{box2titleimage|}}}|
[[File:{{{box2titleimage}}}|x30px|frameless]]
+
[[File:{{{box2titleimage}}}|x60px|frameless]]
 
}}
 
}}
 
</div>
 
</div>
Line 153: Line 153:
 
<th>
 
<th>
 
{{#if:{{{box2link1image|}}}|
 
{{#if:{{{box2link1image|}}}|
[[File:{{{box2link1image}}}|x20px|frameless|center]]
+
[[File:{{{box2link1image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link1}}}
 
{{{box2link1}}}
Line 165: Line 165:
 
<th>
 
<th>
 
{{#if:{{{box2link2image|}}}|
 
{{#if:{{{box2link2image|}}}|
[[File:{{{box2link2image}}}|x20px|frameless|center]]
+
[[File:{{{box2link2image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link2}}}
 
{{{box2link2}}}
Line 177: Line 177:
 
<th>
 
<th>
 
{{#if:{{{box2link3image|}}}|
 
{{#if:{{{box2link3image|}}}|
[[File:{{{box2link3image}}}|x20px|frameless|center]]
+
[[File:{{{box2link3image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link3}}}
 
{{{box2link3}}}
Line 189: Line 189:
 
<th>
 
<th>
 
{{#if:{{{box2link4image|}}}|
 
{{#if:{{{box2link4image|}}}|
[[File:{{{box2link4image}}}|x20px|frameless]]
+
[[File:{{{box2link4image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link4}}}
 
{{{box2link4}}}
Line 201: Line 201:
 
<th>
 
<th>
 
{{#if:{{{box2link5image|}}}|
 
{{#if:{{{box2link5image|}}}|
[[File:{{{box2link5image}}}|x20px|frameless|center]]
+
[[File:{{{box2link5image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link5}}}
 
{{{box2link5}}}
Line 213: Line 213:
 
<th>
 
<th>
 
{{#if:{{{box2link6image|}}}|
 
{{#if:{{{box2link6image|}}}|
[[File:{{{box2link6image}}}|x20px|frameless|center]]
+
[[File:{{{box2link6image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link6}}}
 
{{{box2link6}}}
Line 225: Line 225:
 
<th>
 
<th>
 
{{#if:{{{box2link7image|}}}|
 
{{#if:{{{box2link7image|}}}|
[[File:{{{box2link7image}}}|x20px|frameless|center]]
+
[[File:{{{box2link7image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link7}}}
 
{{{box2link7}}}
Line 237: Line 237:
 
<th>
 
<th>
 
{{#if:{{{box2link8image|}}}|
 
{{#if:{{{box2link8image|}}}|
[[File:{{{box2link8image}}}|x20px|frameless|center]]
+
[[File:{{{box2link8image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link8}}}
 
{{{box2link8}}}
Line 249: Line 249:
 
<th>
 
<th>
 
{{#if:{{{box2link9image|}}}|
 
{{#if:{{{box2link9image|}}}|
[[File:{{{box2link9image}}}|x20px|frameless|center]]
+
[[File:{{{box2link9image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link9}}}
 
{{{box2link9}}}
Line 261: Line 261:
 
<th>
 
<th>
 
{{#if:{{{box2link10image|}}}|
 
{{#if:{{{box2link10image|}}}|
[[File:{{{box2link10image}}}|x20px|frameless|center]]
+
[[File:{{{box2link10image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box2link10}}}
 
{{{box2link10}}}
Line 279: Line 279:
 
{{{box3title}}}
 
{{{box3title}}}
 
{{#if:{{{box3titleimage|}}}|
 
{{#if:{{{box3titleimage|}}}|
[[File:{{{box3titleimage}}}|x30px|frameless]]
+
[[File:{{{box3titleimage}}}|x60px|frameless]]
 
}}
 
}}
 
</div>
 
</div>
Line 289: Line 289:
 
<th>
 
<th>
 
{{#if:{{{box3link1image|}}}|
 
{{#if:{{{box3link1image|}}}|
[[File:{{{box3link1image}}}|x20px|frameless|center]]
+
[[File:{{{box3link1image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link1}}}
 
{{{box3link1}}}
Line 301: Line 301:
 
<th>
 
<th>
 
{{#if:{{{box3link2image|}}}|
 
{{#if:{{{box3link2image|}}}|
[[File:{{{box3link2image}}}|x20px|frameless|center]]
+
[[File:{{{box3link2image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link2}}}
 
{{{box3link2}}}
Line 313: Line 313:
 
<th>
 
<th>
 
{{#if:{{{box3link3image|}}}|
 
{{#if:{{{box3link3image|}}}|
[[File:{{{box3link3image}}}|x20px|frameless|center]]
+
[[File:{{{box3link3image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link3}}}
 
{{{box3link3}}}
Line 325: Line 325:
 
<th>
 
<th>
 
{{#if:{{{box3link4image|}}}|
 
{{#if:{{{box3link4image|}}}|
[[File:{{{box3link4image}}}|x20px|frameless]]
+
[[File:{{{box3link4image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link4}}}
 
{{{box3link4}}}
Line 337: Line 337:
 
<th>
 
<th>
 
{{#if:{{{box3link5image|}}}|
 
{{#if:{{{box3link5image|}}}|
[[File:{{{box3link5image}}}|x20px|frameless|center]]
+
[[File:{{{box3link5image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link5}}}
 
{{{box3link5}}}
Line 349: Line 349:
 
<th>
 
<th>
 
{{#if:{{{box3link6image|}}}|
 
{{#if:{{{box3link6image|}}}|
[[File:{{{box3link6image}}}|x20px|frameless|center]]
+
[[File:{{{box3link6image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link6}}}
 
{{{box3link6}}}
Line 361: Line 361:
 
<th>
 
<th>
 
{{#if:{{{box3link7image|}}}|
 
{{#if:{{{box3link7image|}}}|
[[File:{{{box3link7image}}}|x20px|frameless|center]]
+
[[File:{{{box3link7image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link7}}}
 
{{{box3link7}}}
Line 373: Line 373:
 
<th>
 
<th>
 
{{#if:{{{box3link8image|}}}|
 
{{#if:{{{box3link8image|}}}|
[[File:{{{box3link8image}}}|x20px|frameless|center]]
+
[[File:{{{box3link8image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link8}}}
 
{{{box3link8}}}
Line 385: Line 385:
 
<th>
 
<th>
 
{{#if:{{{box3link9image|}}}|
 
{{#if:{{{box3link9image|}}}|
[[File:{{{box3link9image}}}|x20px|frameless|center]]
+
[[File:{{{box3link9image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link9}}}
 
{{{box3link9}}}
Line 397: Line 397:
 
<th>
 
<th>
 
{{#if:{{{box3link10image|}}}|
 
{{#if:{{{box3link10image|}}}|
[[File:{{{box3link10image}}}|x20px|frameless|center]]
+
[[File:{{{box3link10image}}}|x30px|frameless]]
 
}}
 
}}
 
{{{box3link10}}}
 
{{{box3link10}}}
Line 418: Line 418:
 
|box1titleimage = Preferences-system.svg
 
|box1titleimage = Preferences-system.svg
 
|box1link1 = [https://www.nexusmods.com/battletech/mods/452 BTA3062 Installer Download]
 
|box1link1 = [https://www.nexusmods.com/battletech/mods/452 BTA3062 Installer Download]
|box1link1image =
+
|box1link1image = Nexus_Icon.png
 
|box1description1 = Download the installer for BTA3062 hosted on NexusMods. The installer can also install updates when they come out.
 
|box1description1 = Download the installer for BTA3062 hosted on NexusMods. The installer can also install updates when they come out.
 
|box1link2 = [https://www.youtube.com/watch?v=cvkJpD11lHU Installation Video]
 
|box1link2 = [https://www.youtube.com/watch?v=cvkJpD11lHU Installation Video]
 +
|box1link2image = YouTube_Icon.png
 
|box1description2 = YouTube video created by MangaMaD that explains installation and configuration of BTA3062.
 
|box1description2 = YouTube video created by MangaMaD that explains installation and configuration of BTA3062.
 
|box1link3 = [https://www.bta3062.com/index.php/Frequently_Asked_Questions Frequently Asked Questions]
 
|box1link3 = [https://www.bta3062.com/index.php/Frequently_Asked_Questions Frequently Asked Questions]
 +
|box1link3image = FAQ_Icon.png
 
|box1description3 = Answers to common questions including installation, how to get help, game mechanics, and more.
 
|box1description3 = Answers to common questions including installation, how to get help, game mechanics, and more.
 
|box1link4 = [https://discord.com/invite/g5nCYAV BTA Discord]
 
|box1link4 = [https://discord.com/invite/g5nCYAV BTA Discord]
Line 440: Line 442:
 
|box1description10 =  
 
|box1description10 =  
 
|box2title = BTA3062 Community
 
|box2title = BTA3062 Community
 +
|box2titleimage = Community_Icon.png
 
|box2link1 = [https://discord.com/invite/g5nCYAV BTA Discord]
 
|box2link1 = [https://discord.com/invite/g5nCYAV BTA Discord]
 +
|box2link1image = Discord.png
 
|box2description1 = The official BTA Discord server. Chat with the developers and fellow players! Technical support is also available in our Discord.
 
|box2description1 = The official BTA Discord server. Chat with the developers and fellow players! Technical support is also available in our Discord.
 
|box2link2 = [https://www.twitch.tv/bloodydoves Bloodydoves Twitch Channel]
 
|box2link2 = [https://www.twitch.tv/bloodydoves Bloodydoves Twitch Channel]
 +
|box2link2image = Twitch_Icon.png
 
|box2description2 = Bloodydoves (BD) is the main developer of BTA3062. He regularly streams on Twitch to show new features of BTA as well as playing other games.
 
|box2description2 = Bloodydoves (BD) is the main developer of BTA3062. He regularly streams on Twitch to show new features of BTA as well as playing other games.
 
|box2link3 = [https://www.patreon.com/bloodydoves Bloodydoves Patreon]
 
|box2link3 = [https://www.patreon.com/bloodydoves Bloodydoves Patreon]
 +
|box2link3image = Patreon_Icon.png
 
|box2description3 = Want to support BTA financially? Please visit Bloodydove's Patreon!
 
|box2description3 = Want to support BTA financially? Please visit Bloodydove's Patreon!
 
|box3title = Game Information
 
|box3title = Game Information
 +
|box3image = Game_Data_Icon.png
 
|box3link1 = [https://www.bta3062.com/index.php/Feature_List BTA3062 Feature List]
 
|box3link1 = [https://www.bta3062.com/index.php/Feature_List BTA3062 Feature List]
 +
|box3link1image = Features_Icon.png
 
|box3description1 = BTA3062's feature set. All of the things that make BTA3062 an amazing mod!
 
|box3description1 = BTA3062's feature set. All of the things that make BTA3062 an amazing mod!
 
|box3link2 = [https://www.bta3062.com/index.php/Full_List_of_Mechs BattleMech List]
 
|box3link2 = [https://www.bta3062.com/index.php/Full_List_of_Mechs BattleMech List]
 +
|box3link2image = Mech_Icon.png
 
|box3description2 = A full list of all of the 'Mech chassis and variants in BTA3062, click 'Mech names to view detailed technical information.
 
|box3description2 = A full list of all of the 'Mech chassis and variants in BTA3062, click 'Mech names to view detailed technical information.
 
|box3link3 = [https://www.bta3062.com/index.php/Weapons Weapons List]
 
|box3link3 = [https://www.bta3062.com/index.php/Weapons Weapons List]
 +
|box3link3image = Weapons_Icon.png
 
|box3description3 = A full list of all of the Weapons available in BTA3062 with detailed technical information.
 
|box3description3 = A full list of all of the Weapons available in BTA3062 with detailed technical information.
 
|box3link4 = [https://www.bta3062.com/index.php/Ammunition Ammunition List]
 
|box3link4 = [https://www.bta3062.com/index.php/Ammunition Ammunition List]
 +
|box3link4image = Ammunition_Icon.png
 
|box3description4 = A complete list of ammo types available in BTA3062. Many weapons have specialty ammo to fit your specific need.
 
|box3description4 = A complete list of ammo types available in BTA3062. Many weapons have specialty ammo to fit your specific need.
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 01:54, 14 January 2021


Basic template to create Navigation Boxes primarily used for the "site map" on the Main Page. It creates up to 3 boxes of 33% width that house up to 10 links and descriptions each. Example below on how to define the variables when using the template.

As with other Templates I have created if you do not specify a value for a variable it will not be shown.

{{NavigationBox
|box1 = yes (delete all data for this if you want it to not be there)
|box2 = yes (delete all data for this if you want it to not be there)
|box3 = yes (delete all data for this if you want it to not be there)
|box1title = Installation & Tech Support
|box1titleimage = Preferences-system.svg
|box1link1 = [https://www.nexusmods.com/battletech/mods/452 BTA3062 Installer Download]
|box1link1image = Nexus_Icon.png
|box1description1 = Download the installer for BTA3062 hosted on NexusMods. The installer can also install updates when they come out.
|box1link2 = [https://www.youtube.com/watch?v=cvkJpD11lHU Installation Video]
|box1link2image = YouTube_Icon.png
|box1description2 = YouTube video created by MangaMaD that explains installation and configuration of BTA3062.
|box1link3 = [https://www.bta3062.com/index.php/Frequently_Asked_Questions Frequently Asked Questions]
|box1link3image = FAQ_Icon.png
|box1description3 = Answers to common questions including installation, how to get help, game mechanics, and more.
|box1link4 = [https://discord.com/invite/g5nCYAV BTA Discord]
|box1link4image = Discord.png
|box1description4 = If your questions cannot be answered here, please visit our Discord for technical support. Note that only the most recent update in the official BTA3062 Installer is supported! Older versions of BTA will likely continue to work fine but we cannot help you fix problems if you are out of date.
|box1link5 =
|box1description5 = 
|box1link6 =
|box1description6 = 
|box1link7 =
|box1description7 = 
|box1link8 =
|box1description8 = 
|box1link9 =
|box1description9 = 
|box1link10 =
|box1description10 = 
|box2title = BTA3062 Community
|box2titleimage = Community_Icon.png
|box2link1 = [https://discord.com/invite/g5nCYAV BTA Discord]
|box2link1image = Discord.png
|box2description1 = The official BTA Discord server. Chat with the developers and fellow players! Technical support is also available in our Discord.
|box2link2 = [https://www.twitch.tv/bloodydoves Bloodydoves Twitch Channel]
|box2link2image = Twitch_Icon.png
|box2description2 = Bloodydoves (BD) is the main developer of BTA3062. He regularly streams on Twitch to show new features of BTA as well as playing other games.
|box2link3 = [https://www.patreon.com/bloodydoves Bloodydoves Patreon]
|box2link3image = Patreon_Icon.png
|box2description3 = Want to support BTA financially? Please visit Bloodydove's Patreon!
|box3title = Game Information
|box3image = Game_Data_Icon.png
|box3link1 = [https://www.bta3062.com/index.php/Feature_List BTA3062 Feature List]
|box3link1image = Features_Icon.png
|box3description1 = BTA3062's feature set. All of the things that make BTA3062 an amazing mod!
|box3link2 = [https://www.bta3062.com/index.php/Full_List_of_Mechs BattleMech List]
|box3link2image = Mech_Icon.png
|box3description2 = A full list of all of the 'Mech chassis and variants in BTA3062, click 'Mech names to view detailed technical information.
|box3link3 = [https://www.bta3062.com/index.php/Weapons Weapons List]
|box3link3image = Weapons_Icon.png
|box3description3 = A full list of all of the Weapons available in BTA3062 with detailed technical information.
|box3link4 = [https://www.bta3062.com/index.php/Ammunition Ammunition List]
|box3link4image = Ammunition_Icon.png
|box3description4 = A complete list of ammo types available in BTA3062. Many weapons have specialty ammo to fit your specific need.
}}