Difference between revisions of "Template:NavigationBox"

From BTAWiki
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<table>
 
<table>
 
<tr>
 
<tr>
<td class="boxtitle" colspan="2">{{{box1title}}}</td>
+
<th colspan="2">
 +
<div class="boxtitle">
 +
{{{box1title}}}
 +
{{#if:{{{box1titleimage|}}}|
 +
[[File:{{{box1titleimage}}}|x60px|frameless]]
 +
}}
 +
</div>
 +
</th>
 
</tr>
 
</tr>
 
 
 
{{#if:{{{box1link1|}}}|
 
{{#if:{{{box1link1|}}}|
 
<tr>
 
<tr>
<th><a href="{{{box1link1url}}}">{{{box1link1text}}}</a></th>
+
<th>
 +
{{#if:{{{box1link1image|}}}|
 +
[[File:{{{box1link1image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link1}}}
 +
</th>
 
<td>{{{box1description1}}}</td>
 
<td>{{{box1description1}}}</td>
 
</tr>
 
</tr>
Line 15: Line 27:
 
{{#if:{{{box1link2|}}}|
 
{{#if:{{{box1link2|}}}|
 
<tr>
 
<tr>
<th><a href="{{{box1link2url}}}">{{{box1link2text}}}</a></th>
+
<th>
 +
{{#if:{{{box1link2image|}}}|
 +
[[File:{{{box1link2image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link2}}}
 +
</th>
 
<td>{{{box1description2}}}</td>
 
<td>{{{box1description2}}}</td>
 
</tr>
 
</tr>
Line 22: Line 39:
 
{{#if:{{{box1link3|}}}|
 
{{#if:{{{box1link3|}}}|
 
<tr>
 
<tr>
<th>{{{box1link3}}}</th>
+
<th>
 +
{{#if:{{{box1link3image|}}}|
 +
[[File:{{{box1link3image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link3}}}
 +
</th>
 
<td>{{{box1description3}}}</td>
 
<td>{{{box1description3}}}</td>
 
</tr>
 
</tr>
Line 29: Line 51:
 
{{#if:{{{box1link4|}}}|
 
{{#if:{{{box1link4|}}}|
 
<tr>
 
<tr>
<th>{{{box1link4}}}</th>
+
<th>
 +
{{#if:{{{box1link4image|}}}|
 +
[[File:{{{box1link4image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link4}}}
 +
</th>
 
<td>{{{box1description4}}}</td>
 
<td>{{{box1description4}}}</td>
 
</tr>
 
</tr>
Line 36: Line 63:
 
{{#if:{{{box1link5|}}}|
 
{{#if:{{{box1link5|}}}|
 
<tr>
 
<tr>
<th>{{{box1link5}}}</th>
+
<th>
 +
{{#if:{{{box1link5image|}}}|
 +
[[File:{{{box1link5image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link5}}}
 +
</th>
 
<td>{{{box1description5}}}</td>
 
<td>{{{box1description5}}}</td>
 
</tr>
 
</tr>
Line 43: Line 75:
 
{{#if:{{{box1link6|}}}|
 
{{#if:{{{box1link6|}}}|
 
<tr>
 
<tr>
<th>{{{box1link6}}}</th>
+
<th>
 +
{{#if:{{{box1link6image|}}}|
 +
[[File:{{{box1link6image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link6}}}
 +
</th>
 
<td>{{{box1description6}}}</td>
 
<td>{{{box1description6}}}</td>
 
</tr>
 
</tr>
Line 50: Line 87:
 
{{#if:{{{box1link7|}}}|
 
{{#if:{{{box1link7|}}}|
 
<tr>
 
<tr>
<th>{{{box1link7}}}</th>
+
<th>
 +
{{#if:{{{box1link7image|}}}|
 +
[[File:{{{box1link7image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link7}}}
 +
</th>
 
<td>{{{box1description7}}}</td>
 
<td>{{{box1description7}}}</td>
 
</tr>
 
</tr>
Line 57: Line 99:
 
{{#if:{{{box1link8|}}}|
 
{{#if:{{{box1link8|}}}|
 
<tr>
 
<tr>
<th>{{{box1link8}}}</th>
+
<th>
 +
{{#if:{{{box1link8image|}}}|
 +
[[File:{{{box1link8image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link8}}}
 +
</th>
 
<td>{{{box1description8}}}</td>
 
<td>{{{box1description8}}}</td>
 
</tr>
 
</tr>
Line 64: Line 111:
 
{{#if:{{{box1link9|}}}|
 
{{#if:{{{box1link9|}}}|
 
<tr>
 
<tr>
<th>{{{box1link9}}}</th>
+
<th>
<td>{{{box1description8}}}</td>
+
{{#if:{{{box1link9image|}}}|
 +
[[File:{{{box1link9image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link9}}}
 +
</th>
 +
<td>{{{box1description9}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 71: Line 123:
 
{{#if:{{{box1link10|}}}|
 
{{#if:{{{box1link10|}}}|
 
<tr>
 
<tr>
<th>{{{box1link10}}}</th>
+
<th>
 +
{{#if:{{{box1link10image|}}}|
 +
[[File:{{{box1link10image}}}|x30px|frameless]]
 +
}}
 +
{{{box1link10}}}
 +
</th>
 
<td>{{{box1description10}}}</td>
 
<td>{{{box1description10}}}</td>
 
</tr>
 
</tr>
Line 78: Line 135:
 
</div>
 
</div>
 
}}
 
}}
<noinclude>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. As with other Templates I have created if you do not specify a value for a variable it will not be shown.
+
{{#if:{{{box2|}}}|
 +
<div class="navigationbox">
 +
<table>
 +
<tr>
 +
<th colspan="2">
 +
<div class="boxtitle">
 +
{{{box2title}}}
 +
{{#if:{{{box2titleimage|}}}|
 +
[[File:{{{box2titleimage}}}|x60px|frameless]]
 +
}}
 +
</div>
 +
</th>
 +
</tr>
 +
 +
{{#if:{{{box2link1|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link1image|}}}|
 +
[[File:{{{box2link1image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link1}}}
 +
</th>
 +
<td>{{{box2description1}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link2|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link2image|}}}|
 +
[[File:{{{box2link2image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link2}}}
 +
</th>
 +
<td>{{{box2description2}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link3|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link3image|}}}|
 +
[[File:{{{box2link3image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link3}}}
 +
</th>
 +
<td>{{{box2description3}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link4|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link4image|}}}|
 +
[[File:{{{box2link4image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link4}}}
 +
</th>
 +
<td>{{{box2description4}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link5|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link5image|}}}|
 +
[[File:{{{box2link5image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link5}}}
 +
</th>
 +
<td>{{{box2description5}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link6|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link6image|}}}|
 +
[[File:{{{box2link6image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link6}}}
 +
</th>
 +
<td>{{{box2description6}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link7|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link7image|}}}|
 +
[[File:{{{box2link7image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link7}}}
 +
</th>
 +
<td>{{{box2description7}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link8|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link8image|}}}|
 +
[[File:{{{box2link8image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link8}}}
 +
</th>
 +
<td>{{{box2description8}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link9|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link9image|}}}|
 +
[[File:{{{box2link9image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link9}}}
 +
</th>
 +
<td>{{{box2description9}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link10|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box2link10image|}}}|
 +
[[File:{{{box2link10image}}}|x30px|frameless]]
 +
}}
 +
{{{box2link10}}}
 +
</th>
 +
<td>{{{box2description10}}}</td>
 +
</tr>
 +
}}
 +
</table>
 +
</div>
 +
}}
 +
{{#if:{{{box3|}}}|
 +
<div class="navigationbox">
 +
<table>
 +
<tr>
 +
<th colspan="2">
 +
<div class="boxtitle">
 +
{{{box3title}}}
 +
{{#if:{{{box3titleimage|}}}|
 +
[[File:{{{box3titleimage}}}|x60px|frameless]]
 +
}}
 +
</div>
 +
</th>
 +
</tr>
 +
 +
{{#if:{{{box3link1|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link1image|}}}|
 +
[[File:{{{box3link1image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link1}}}
 +
</th>
 +
<td>{{{box3description1}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link2|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link2image|}}}|
 +
[[File:{{{box3link2image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link2}}}
 +
</th>
 +
<td>{{{box3description2}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link3|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link3image|}}}|
 +
[[File:{{{box3link3image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link3}}}
 +
</th>
 +
<td>{{{box3description3}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link4|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link4image|}}}|
 +
[[File:{{{box3link4image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link4}}}
 +
</th>
 +
<td>{{{box3description4}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link5|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link5image|}}}|
 +
[[File:{{{box3link5image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link5}}}
 +
</th>
 +
<td>{{{box3description5}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link6|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link6image|}}}|
 +
[[File:{{{box3link6image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link6}}}
 +
</th>
 +
<td>{{{box3description6}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link7|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link7image|}}}|
 +
[[File:{{{box3link7image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link7}}}
 +
</th>
 +
<td>{{{box3description7}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link8|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link8image|}}}|
 +
[[File:{{{box3link8image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link8}}}
 +
</th>
 +
<td>{{{box3description8}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link9|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link9image|}}}|
 +
[[File:{{{box3link9image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link9}}}
 +
</th>
 +
<td>{{{box3description9}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link10|}}}|
 +
<tr>
 +
<th>
 +
{{#if:{{{box3link10image|}}}|
 +
[[File:{{{box3link10image}}}|x30px|frameless]]
 +
}}
 +
{{{box3link10}}}
 +
</th>
 +
<td>{{{box3description10}}}</td>
 +
</tr>
 +
}}
 +
</table>
 +
</div>
 +
}}
 +
<noinclude>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.
 
<pre>
 
<pre>
 
{{NavigationBox
 
{{NavigationBox
Line 85: Line 416:
 
|box3 = 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
 
|box1title = Installation & Tech Support
|box1link1url = https://www.nexusmods.com/battletech/mods/452
+
|box1titleimage = Preferences-system.svg
|box1link1text = BTA3062 Installer Download
+
|box1link1 = [https://www.nexusmods.com/battletech/mods/452 BTA3062 Installer Download]
|box1description1 = Download the installer for BTA3062 hosted on NexusMods
+
|box1link1image = Nexus_Icon.png
|box1link2url = https://www.youtube.com/watch?v=cvkJpD11lHU
+
|box1description1 = Download the installer for BTA3062 hosted on NexusMods. The installer can also install updates when they come out.
|box1link2text = BTA3062 Installation Video
+
|box1link2 = [https://www.youtube.com/watch?v=cvkJpD11lHU Installation Video]
|box1description2 = YouTube video by MangaMaD that explains installation and configuration of BTA3062
+
|box1link2image = YouTube_Icon.png
|box1link3 =  
+
|box1description2 = YouTube video created by MangaMaD that explains installation and configuration of BTA3062.
|box1description3 =  
+
|box1link3 = [https://www.bta3062.com/index.php/Frequently_Asked_Questions Frequently Asked Questions]
|box1link4 =
+
|box1link3image = FAQ_Icon.png
|box1description4 =  
+
|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 =
 
|box1link5 =
 
|box1description5 =  
 
|box1description5 =  
Line 107: Line 441:
 
|box1link10 =
 
|box1link10 =
 
|box1description10 =  
 
|box1description10 =  
 
+
|box2title = BTA3062 Community
[https://www.bta3062.com/index.php/Full_List_of_Mechs 'Mech List]
+
|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.
 
}}
 
}}
 
</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.
}}