Difference between revisions of "Template:NavigationBox"

From BTAWiki
Jump to navigation Jump to search
Line 65: Line 65:
 
<tr>
 
<tr>
 
<th>{{{box1link9}}}</th>
 
<th>{{{box1link9}}}</th>
<td>{{{box1description8}}}</td>
+
<td>{{{box1description9}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 73: Line 73:
 
<th>{{{box1link10}}}</th>
 
<th>{{{box1link10}}}</th>
 
<td>{{{box1description10}}}</td>
 
<td>{{{box1description10}}}</td>
 +
</tr>
 +
}}
 +
</table>
 +
</div>
 +
}}
 +
 +
{{#if:{{{box2|}}}|
 +
<div class="navigationbox">
 +
<table>
 +
<tr>
 +
<th colspan="2"><div class="boxtitle">{{{box2title}}}</div></th>
 +
</tr>
 +
 +
{{#if:{{{box2link1|}}}|
 +
<tr>
 +
<th>{{{box2link1}}}</th>
 +
<td>{{{box2description1}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link2|}}}|
 +
<tr>
 +
<th>{{{box2link2}}}</th>
 +
<td>{{{box2description2}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link3|}}}|
 +
<tr>
 +
<th>{{{box2link3}}}</th>
 +
<td>{{{box2description3}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link4|}}}|
 +
<tr>
 +
<th>{{{box2link4}}}</th>
 +
<td>{{{box2description4}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link5|}}}|
 +
<tr>
 +
<th>{{{box2link5}}}</th>
 +
<td>{{{box2description5}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link6|}}}|
 +
<tr>
 +
<th>{{{box2link6}}}</th>
 +
<td>{{{box2description6}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link7|}}}|
 +
<tr>
 +
<th>{{{box2link7}}}</th>
 +
<td>{{{box2description7}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link8|}}}|
 +
<tr>
 +
<th>{{{box2link8}}}</th>
 +
<td>{{{box2description8}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link9|}}}|
 +
<tr>
 +
<th>{{{box2link9}}}</th>
 +
<td>{{{box2description9}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box2link10|}}}|
 +
<tr>
 +
<th>{{{box2link10}}}</th>
 +
<td>{{{box2description10}}}</td>
 +
</tr>
 +
}}
 +
</table>
 +
</div>
 +
}}
 +
 +
{{#if:{{{box3|}}}|
 +
<div class="navigationbox">
 +
<table>
 +
<tr>
 +
<th colspan="2"><div class="boxtitle">{{{box3title}}}</div></th>
 +
</tr>
 +
 +
{{#if:{{{box3link1|}}}|
 +
<tr>
 +
<th>{{{box3link1}}}</th>
 +
<td>{{{box3description1}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link2|}}}|
 +
<tr>
 +
<th>{{{box3link2}}}</th>
 +
<td>{{{box3description2}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link3|}}}|
 +
<tr>
 +
<th>{{{box3link3}}}</th>
 +
<td>{{{box3description3}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link4|}}}|
 +
<tr>
 +
<th>{{{box3link4}}}</th>
 +
<td>{{{box3description4}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link5|}}}|
 +
<tr>
 +
<th>{{{box3link5}}}</th>
 +
<td>{{{box3description5}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link6|}}}|
 +
<tr>
 +
<th>{{{box3link6}}}</th>
 +
<td>{{{box3description6}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link7|}}}|
 +
<tr>
 +
<th>{{{box3link7}}}</th>
 +
<td>{{{box3description7}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link8|}}}|
 +
<tr>
 +
<th>{{{box3link8}}}</th>
 +
<td>{{{box3description8}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link9|}}}|
 +
<tr>
 +
<th>{{{box3link9}}}</th>
 +
<td>{{{box3description9}}}</td>
 +
</tr>
 +
}}
 +
 +
{{#if:{{{box3link10|}}}|
 +
<tr>
 +
<th>{{{box3link10}}}</th>
 +
<td>{{{box3description10}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 85: Line 245:
 
|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
|box1link1 = [https://www.nexusmods.com/battletech/mods/452 BTA3062 Installer Download]
+
|box1link1 = [https://www.nexusmods.com/battletech/mods/452 <span style="color:#eeeeee;">BTA3062 Installer Download</span>]
|box1description1 = Download the installer for BTA3062 hosted on NexusMods
+
|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 BTA3062 Installation Video]
+
|box1link2 = [https://www.youtube.com/watch?v=cvkJpD11lHU <span style="color:#eeeeee;">BTA3062 Installation Video</span>]
|box1description2 = YouTube video by MangaMaD that explains installation and configuration of BTA3062
+
|box1description2 = YouTube video created by MangaMaD that explains installation and configuration of BTA3062.
|box1link3 =  
+
|box1link3 = [https://www.bta3062.com/index.php/Frequently_Asked_Questions <span style="color:#eeeeee;">Frequently Asked Questions</span>]
|box1description3 =  
+
|box1description3 = Answers to common questions including installation, how to get help, game mechanics, and more.
 
|box1link4 =
 
|box1link4 =
 
|box1description4 =  
 
|box1description4 =  
Line 105: Line 265:
 
|box1link10 =
 
|box1link10 =
 
|box1description10 =  
 
|box1description10 =  
 +
|box2title = BTA3062 Community
 +
|box2link1 = [https://discord.com/invite/g5nCYAV <span style="color:#eeeeee;">BTA Discord</span>]
 +
|box2description1 = The official BTA [https://discord.com Discord] server. Chat with the developers, fellow players, and get technical support.
 +
|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.
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 22:56, 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. 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
|box1link1 = [https://www.nexusmods.com/battletech/mods/452 <span style="color:#eeeeee;">BTA3062 Installer Download</span>]
|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;">BTA3062 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 =
|box1description4 = 
|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 [https://discord.com Discord] server. Chat with the developers, fellow players, and get technical support.
|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.
}}