Template talk:Navbox: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Bot: Automated text replacement (-Lomax (K9) +Lomax (The Bounty Hunter)))
Tag: apiedit
m (Bot: Automated text replacement (-Barker +Barker (The Cambridge Spy)))
Tag: apiedit
Line 106: Line 106:
|list15    = [[The Hunger]]  • [[Drake]]  • [[Lomax (The Bounty Hunter)|Lomax]]  • [[Thorne]]
|list15    = [[The Hunger]]  • [[Drake]]  • [[Lomax (The Bounty Hunter)|Lomax]]  • [[Thorne]]
|group16    = ''[[The Cambridge Spy]]''
|group16    = ''[[The Cambridge Spy]]''
|list16    = [[Barker]]
|list16    = [[Barker (The Cambridge Spy)|Barker]]
|group17    = ''[[Lost Library of Ukko]]''
|group17    = ''[[Lost Library of Ukko]]''
|list17    = [[Ukkan]] ([[Yssaringintinka]])  • [[Thorne]]
|list17    = [[Ukkan]] ([[Yssaringintinka]])  • [[Thorne]]

Revision as of 16:22, 21 September 2016

Edits to this page

I've been reformatting the Alien templates to match the wiki's style, and I'm nearly complete. I'm unable to complete the K9 Series 1 aliens template due to it's 26 episodes and only 20 groups allowed in this template.

The following text needs to be added to the template (as an IP editor, I am not allowed to do this):

Under --Body--, under imageleft, and underneath the {{#if:{{{list20|}}}|+2}}}} part, this needs to be added word for word
-->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}{{#if:{{{list23|}}}|+2}}{{#if:{{{list24|}}}|+2}}}}><!--
 -->{{#if:{{{list25|}}}|+2}}{{#if:{{{list26|}}}|+2}}><!--
Then, still under --Body--, under image, and underneath, the {{#if:{{{list20|}}}|+2}}}}> part, this needs to be added too:
-->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}{{#if:{{{list23|}}}|+2}}{{#if:{{{list24|}}}|+2}}}}><!--
  -->{{#if:{{{list25|}}}|+2}}{{#if:{{{list26|}}}|+2}}><!--
(Yes, it's the same thing, twice). Further down, there's a --Remaining groups/lists-- section. These should be added:
-->{{#if:{{{list21|}}}|<!--
 --><tr style="height:2px"><td></td></tr><tr><!--
 -->{{#if:{{{group21|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group21style|}}}"><!--
 -->{{{group21}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list21style|}}}" <!--
 -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 --><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list21}}}</div></td></tr>}}<!--
-->{{#if:{{{list22|}}}|<!--
 --><tr style="height:2px"><td></td></tr><tr><!--
 -->{{#if:{{{group22|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group22style|}}}"><!--
 -->{{{group22}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list22style|}}}" <!--
 -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 --><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list22}}}</div></td></tr>}}<!--
-->{{#if:{{{list23|}}}|<!--
 --><tr style="height:2px"><td></td></tr><tr><!--
 -->{{#if:{{{group23|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group23style|}}}"><!--
 -->{{{group23}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list23style|}}}" <!--
 -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 --><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list23}}}</div></td></tr>}}<!--
-->{{#if:{{{list24|}}}|<!--
 --><tr style="height:2px"><td></td></tr><tr><!--
 -->{{#if:{{{group24|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group24style|}}}"><!--
 -->{{{group24}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list24style|}}}" <!--
 -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 --><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list24}}}</div></td></tr>}}<!--
-->{{#if:{{{list25|}}}|<!--
 --><tr style="height:2px"><td></td></tr><tr><!--
 -->{{#if:{{{group25|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group25style|}}}"><!--
 -->{{{group25}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list25style|}}}" <!--
 -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 --><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list25}}}</div></td></tr>}}<!--
-->{{#if:{{{list26|}}}|<!--
 --><tr style="height:2px"><td></td></tr><tr><!--
 -->{{#if:{{{group26|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group26style|}}}"><!--
 -->{{{group26}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list26style|}}}" <!--
 -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 --><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list26}}}</div></td></tr>}}<!--

All that needs to be done is to copy and paste all of these, and the template should work out just fine.

Below is my rough draft for the K9 template. When the above text is added, it'll show all 26 episodes, not just the first 20:

Thanks alot to anyone who can handle this for me!--99.29.140.149 05:40, April 4, 2011 (UTC)

The above probably won't be implemented until and unless we get another 20+ episode series. 20 groups is really more than enough for everything but this one exception.
czechout<staff />    00:34: Sat 02 Feb 2013