Difference between revisions of "Template:NavigationBox"

From BTAWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
{{{box1title}}}
 
{{{box1title}}}
 
{{#if:{{{box1titleimage|}}}|
 
{{#if:{{{box1titleimage|}}}|
[[File:{{{box1titleimage}}}|x50px|frameless|center]]
+
[[File:{{{box1titleimage}}}|x30px|frameless]]
 
}}
 
}}
 
</div>
 
</div>
Line 17: Line 17:
 
<th>
 
<th>
 
{{#if:{{{box1link1image|}}}|
 
{{#if:{{{box1link1image|}}}|
[[File:{{{box1link1image}}}|x25px|frameless|center]]
+
[[File:{{{box1link1image}}}|x20px|frameless|center]]
 
}}
 
}}
 
{{{box1link1}}}
 
{{{box1link1}}}
Line 29: Line 29:
 
<th>
 
<th>
 
{{#if:{{{box1link2image|}}}|
 
{{#if:{{{box1link2image|}}}|
[[File:{{{box1link2image}}}|x25px|frameless|center]]
+
[[File:{{{box1link2image}}}|x20px|frameless|center]]
 
}}
 
}}
 
{{{box1link2}}}
 
{{{box1link2}}}
Line 41: Line 41:
 
<th>
 
<th>
 
{{#if:{{{box1link3image|}}}|
 
{{#if:{{{box1link3image|}}}|
[[File:{{{box1link3image}}}|x25px|frameless|center]]
+
[[File:{{{box1link3image}}}|x20px|frameless|center]]
 
}}
 
}}
 
{{{box1link3}}}
 
{{{box1link3}}}
Line 53: Line 53:
 
<th>
 
<th>
 
{{#if:{{{box1link4image|}}}|
 
{{#if:{{{box1link4image|}}}|
[[File:{{{box1link4image}}}|x25px|frameless|center]]
+
[[File:{{{box1link4image}}}|x20px|frameless]]
 
}}
 
}}
 
{{{box1link4}}}
 
{{{box1link4}}}
Line 65: Line 65:
 
<th>
 
<th>
 
{{#if:{{{box1link5image|}}}|
 
{{#if:{{{box1link5image|}}}|
[[File:{{{box1link5image}}}|x25px|frameless|center]]
+
[[File:{{{box1link5image}}}|x20px|frameless|center]]
 
}}
 
}}
 
{{{box1link5}}}
 
{{{box1link5}}}
Line 77: Line 77:
 
<th>
 
<th>
 
{{#if:{{{box1link6image|}}}|
 
{{#if:{{{box1link6image|}}}|
[[File:{{{box1link6image}}}|x25px|frameless|center]]
+
[[File:{{{box1link6image}}}|x20px|frameless|center]]
 
}}
 
}}
 
{{{box1link6}}}
 
{{{box1link6}}}
Line 89: Line 89:
 
<th>
 
<th>
 
{{#if:{{{box1link7image|}}}|
 
{{#if:{{{box1link7image|}}}|
[[File:{{{box1link7image}}}|x25px|frameless|center]]
+
[[File:{{{box1link7image}}}|x20px|frameless|center]]
 
}}
 
}}
 
{{{box1link7}}}
 
{{{box1link7}}}

Revision as of 22:50, 13 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.

Please note that due to the background coloring in the cells you will want to copy the styling for the links manually into each link or they may be difficult to read.

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 <span style="color:#eeeeee;">BTA3062 Installer Download</span>]
|box1link1image =
|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 <span style="color:#eeeeee;">Installation Video</span>]
|box1description2 = YouTube video created by MangaMaD that explains installation and configuration of BTA3062.
|box1link3 = [https://www.bta3062.com/index.php/Frequently_Asked_Questions <span style="color:#eeeeee;">Frequently Asked Questions</span>]
|box1description3 = Answers to common questions including installation, how to get help, game mechanics, and more.
|box1link4 = [https://discord.com/invite/g5nCYAV <span style="color:#eeeeee;">BTA Discord</span>]
|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
|box2link1 = [https://discord.com/invite/g5nCYAV <span style="color:#eeeeee;">BTA Discord</span>]
|box2description1 = The official BTA Discord server. Chat with the developers and fellow players! Technical support is also available in our Discord.
|box3title = Game Information
|box3link1 = [https://www.bta3062.com/index.php/Feature_List <span style="color:#eeeeee;">BTA3062 Feature List</span>]
|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 <span style="color:#eeeeee;">BattleMech List</span>]
|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 <span style="color:#eeeeee;">Weapons List</span>]
|box3description3 = A full list of all of the Weapons available in BTA3062 with detailed technical information
|box3link4 = [https://www.bta3062.com/index.php/Ammunition <span style="color:#eeeeee;">Ammunition List</span>]
|box3description4 = A complete list of ammo types available in BTA3062. Many weapons have specialty ammo to fit your specific need.
}}