Template talk:NavTemplate
Title Column Width[edit source]
The title column should have a variable width, rather than being locked at %15. It's pretty easy to do, I can do it or provide the code to an admin if necessary...
— Nathan (Peteparker) (Earth-1218) (talk • contribs • email) 01:08, May 16, 2013 (UTC)
Within the nowiki's below:
{{clear}} <div {{#if:{{{noTH|}}}|class="noth"|}} style="background-color:{{{background-color|#EEE}}}; border:1px solid {{{border-color|#AAA}}}; padding:5px;"><span style="position:relative; text-align:center; display:block; background-color:{{{header-background-color|#CCC}}}; padding:2px 2px 3px 5px; font-size:11px; color:{{{link-color|#000}}};">{{Nav|{{{template-name|NavTemplate}}}|{{{link-color|#000}}}|xxx}} '''[[{{{link|link}}}{{#if:{{{pipe|}}}|{{!}}<span style="color:{{{link-color|#000}}};">{{{pipe|}}}</span>|{{!}}<span style="color:{{{link-color|#000}}};">{{{link|link}}}</span>}}]] {{#if:{{{link-2|}}}|[[{{{link-2}}}|<span style="color:{{{link-color|#000}}};">{{{pipe-2|{{{link-2}}}}}}</span>]]}}''' <span class="slide-link" style="color:{{{link-color|#000}}} !important;" title="slide-nav"></span></span> <div class="slide-content noshown {{#if:{{{noTH|}}}|text-align:center;|}}" title="slide-nav"> <table style="font-size:11px; background-color:inherit;"> {{#if:{{{content-1|}}}| <tr> {{#if:{{{title-1|}}}|<th width="{{{width|15}}}%" align="center">{{{title-1|}}}:</th>}} <td align="left">{{#if:{{{no-replace-1|}}}|{{{content-1|}}}|{{#replace:{{{content-1|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-2|}}}| <tr> {{#if:{{{title-2|}}}|<th width="{{{width|15}}}%" align="center">{{{title-2|}}}:</th>}} <td align="left">{{#if:{{{no-replace-2|}}}|{{{content-2|}}}|{{#replace:{{{content-2|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-3|}}}| <tr> {{#if:{{{title-3|}}}|<th width="{{{width|15}}}%" align="center">{{{title-3|}}}:</th>}} <td align="left">{{#if:{{{no-replace-3|}}}|{{{content-3|}}}|{{#replace:{{{content-3|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-4|}}}| <tr> {{#if:{{{title-4|}}}|<th width="{{{width|15}}}%" align="center">{{{title-4|}}}:</th>}} <td align="left">{{#if:{{{no-replace-4|}}}|{{{content-4|}}}|{{#replace:{{{content-4|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-5|}}}| <tr> {{#if:{{{title-5|}}}|<th width="{{{width|15}}}%" align="center">{{{title-5|}}}:</th>}} <td align="left">{{#if:{{{no-replace-5|}}}|{{{content-5|}}}|{{#replace:{{{content-5|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-6|}}}| <tr> {{#if:{{{title-6|}}}|<th width="{{{width|15}}}%" align="center">{{{title-6|}}}:</th>}} <td align="left">{{#if:{{{no-replace-6|}}}|{{{content-6|}}}|{{#replace:{{{content-6|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-7|}}}| <tr> {{#if:{{{title-7|}}}|<th width="{{{width|15}}}%" align="center">{{{title-7|}}}:</th>}} <td align="left">{{#if:{{{no-replace-7|}}}|{{{content-7|}}}|{{#replace:{{{content-7|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-8|}}}| <tr> {{#if:{{{title-8|}}}|<th width="{{{width|15}}}%" align="center">{{{title-8|}}}:</th>}} <td align="left">{{#if:{{{no-replace-8|}}}|{{{content-8|}}}|{{#replace:{{{content-8|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-9|}}}| <tr> {{#if:{{{title-9|}}}|<th width="{{{width|15}}}%" align="center">{{{title-9|}}}:</th>}} <td align="left">{{#if:{{{no-replace-9|}}}|{{{content-9|}}}|{{#replace:{{{content-9|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-10|}}}| <tr> {{#if:{{{title-10|}}}|<th width="{{{width|15}}}%" align="center">{{{title-10|}}}:</th>}} <td align="left">{{#if:{{{no-replace-10|}}}|{{{content-10|}}}|{{#replace:{{{content-10|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-11|}}}| <tr> {{#if:{{{title-11|}}}|<th width="{{{width|15}}}%" align="center">{{{title-11|}}}:</th>}} <td align="left">{{#if:{{{no-replace-11|}}}|{{{content-11|}}}|{{#replace:{{{content-11|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-12|}}}| <tr> {{#if:{{{title-12|}}}|<th width="{{{width|15}}}%" align="center">{{{title-12|}}}:</th>}} <td align="left">{{#if:{{{no-replace-12|}}}|{{{content-12|}}}|{{#replace:{{{content-12|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{content-13|}}}| <tr> {{#if:{{{title-13|}}}|<th width="{{{width|15}}}%" align="center">{{{title-13|}}}:</th>}} <td align="left">{{#if:{{{no-replace-13|}}}|{{{content-13|}}}|{{#replace:{{{content-13|}}}|\|{{!}}}}}}</td> </tr> |}} {{#if:{{{fulllist|}}}| <tr> <th></th> <td align="center">[[{{{fulllist|full list}}}|<span style="color:{{{fulllist-color|{{{header-background-color|#000}}}}}};"><small>[full list]</small></span>]]</td> </tr> |}} </table> </div> </div>
— Nathan (Peteparker) (Earth-1218) (talk • contribs • email) 04:53, May 16, 2013 (UTC)
Section without header[edit source]
I'd like to have a full-width section in a navbox without a header, is this possible? Lachlan (talk) 19:19, 14 August 2016 (UTC)