Difference between revisions of "Template:Navibox"

From GTAMods Wiki
Jump to navigation Jump to search
m
(changed black borders to white)
Line 1: Line 1:
<includeonly><table border="2" {{#if:{{{state|}}}|class="collapsible {{{state|}}}"|class="collapsible"}} width="100%" cellpadding="3" cellspacing="0" style="margin: 1em 1em 1em 0; background: {{{boxbg|#f9f9f9}}}; border: 3px white solid; border-collapse: collapse;" ><!-- Header --><tr style="background: {{{headerbg|}}}"><th colspan="2">{{#if:{{{template|}}}|<div style="float:left; margin-left:0.5em"><span style="font-size:75%;" title="View this template">[[Template:{{{template|}}}|v]]</span>&nbsp;&middot;&nbsp;<span style="font-size:75%;" title="Discussion about this template">[[Template talk:{{{template|}}}|d]]</span>&nbsp;&middot;&nbsp;<span style="font-size:75%;" class="plainlinks" title="Edit this template">[{{fullurl:{{ns:10}}:{{{template|}}}|action=edit}} e]</span></div>}}{{{box-header|}}}</th></tr><!-- Groups -->{{#if:{{{group-title1|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title1|}}}</td><td style="background:{{{linksbg1|}}}; font-size:90%">{{{group-links1|}}}</td></tr>|}}{{#if:{{{group-title2|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title2|}}}</td><td style="background:{{{linksbg2|}}}; font-size:90%">{{{group-links2|}}}</td></tr>|}}{{#if:{{{group-title3|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title3|}}}</td><td style="background:{{{linksbg3|}}}; font-size:90%">{{{group-links3|}}}</td></tr>|}}{{#if:{{{group-title4|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title4|}}}</td><td style="background:{{{linksbg4|}}}; font-size:90%">{{{group-links4|}}}</td></tr>|}}{{#if:{{{group-title5|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title5|}}}</td><td style="background:{{{linksbg5|}}}; font-size:90%">{{{group-links5|}}}</td></tr>|}}{{#if:{{{group-title6|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title6|}}}</td><td style="background:{{{linksbg6|}}}; font-size:90%">{{{group-links6|}}}</td></tr>|}}{{#if:{{{group-title7|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title7|}}}</td><td style="background:{{{linksbg7|}}}; font-size:90%">{{{group-links7|}}}</td></tr>|}}{{#if:{{{group-title8|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title8|}}}</td><td style="background:{{{linksbg8|}}}; font-size:90%">{{{group-links8|}}}</td></tr>|}}{{#if:{{{group-title9|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title9|}}}</td><td style="background:{{{linksbg9|}}}; font-size:90%">{{{group-links9|}}}</td></tr>|}}{{#if:{{{group-title10|}}}|<tr><td width="110px" style="background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title10|}}}</td><td style="background:{{{linksbg10|}}}; font-size:90%">{{{group-links10|}}}</td></tr>|}}</table></includeonly><noinclude>Basic template for the navigation boxes. See example of using it:
+
<includeonly><table border="2" {{#if:{{{state|}}}|class="collapsible {{{state|}}}"|class="collapsible"}} width="100%" cellpadding="3" cellspacing="0" style="margin: 1em 1em 1em 0; background: {{{boxbg|#f9f9f9}}}; border: 3px white solid; border-collapse: collapse;" ><!-- Header --><tr style="border: 1px solid white;background: {{{headerbg|}}}"><th colspan="2">{{#if:{{{template|}}}|<div style="float:left; margin-left:0.5em"><span style="font-size:75%;" title="View this template">[[Template:{{{template|}}}|v]]</span>&nbsp;&middot;&nbsp;<span style="font-size:75%;" title="Discussion about this template">[[Template talk:{{{template|}}}|d]]</span>&nbsp;&middot;&nbsp;<span style="font-size:75%;" class="plainlinks" title="Edit this template">[{{fullurl:{{ns:10}}:{{{template|}}}|action=edit}} e]</span></div>}}{{{box-header|}}}</th></tr><!-- Groups -->{{#if:{{{group-title1|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title1|}}}</td><td style="border: 1px solid white;background:{{{linksbg1|}}}; font-size:90%">{{{group-links1|}}}</td></tr>|}}{{#if:{{{group-title2|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title2|}}}</td><td style="border: 1px solid white;background:{{{linksbg2|}}}; font-size:90%">{{{group-links2|}}}</td></tr>|}}{{#if:{{{group-title3|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title3|}}}</td><td style="border: 1px solid white;background:{{{linksbg3|}}}; font-size:90%">{{{group-links3|}}}</td></tr>|}}{{#if:{{{group-title4|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title4|}}}</td><td style="border: 1px solid white;background:{{{linksbg4|}}}; font-size:90%">{{{group-links4|}}}</td></tr>|}}{{#if:{{{group-title5|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title5|}}}</td><td style="border: 1px solid white;background:{{{linksbg5|}}}; font-size:90%">{{{group-links5|}}}</td></tr>|}}{{#if:{{{group-title6|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title6|}}}</td><td style="border: 1px solid white;background:{{{linksbg6|}}}; font-size:90%">{{{group-links6|}}}</td></tr>|}}{{#if:{{{group-title7|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title7|}}}</td><td style="border: 1px solid white;background:{{{linksbg7|}}}; font-size:90%">{{{group-links7|}}}</td></tr>|}}{{#if:{{{group-title8|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title8|}}}</td><td style="border: 1px solid white;background:{{{linksbg8|}}}; font-size:90%">{{{group-links8|}}}</td></tr>|}}{{#if:{{{group-title9|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title9|}}}</td><td style="border: 1px solid white;background:{{{linksbg9|}}}; font-size:90%">{{{group-links9|}}}</td></tr>|}}{{#if:{{{group-title10|}}}|<tr><td width="110px" style="border: 1px solid white;background:{{{groupbg|}}}; font-size:90%; text-align:right">{{{group-title10|}}}</td><td style="border: 1px solid white;background:{{{linksbg10|}}}; font-size:90%">{{{group-links10|}}}</td></tr>|}}</table></includeonly><noinclude>Basic template for the navigation boxes. See example of using it:
  
 +
* [[:Template:3-navi|3 Navibox]]
 
* [[:Template:VC-navi|VC Navibox]]
 
* [[:Template:VC-navi|VC Navibox]]
 
* [[:Template:SA-navi|SA Navibox]]
 
* [[:Template:SA-navi|SA Navibox]]
 
* [[:Template:GTA4-navi|IV Navibox]]
 
* [[:Template:GTA4-navi|IV Navibox]]
 
* [[:Template:MP-navi|Multiplayer Navibox]]</noinclude>
 
* [[:Template:MP-navi|Multiplayer Navibox]]</noinclude>

Revision as of 09:12, 3 June 2012

Basic template for the navigation boxes. See example of using it: