Template talk:NavTemplate

From Brickipedia, the LEGO Wiki
view · talk · edit Harry Potter
Students: Harry Potter | Ron Weasley | Hermione Granger | Draco Malfoy | Fred Weasley | George Weasley | Ginny Weasley | Gregory Goyle | Luna Lovegood | Marcus Flint | Neville Longbottom | Oliver Wood | Tom Riddle | Viktor Krum | Vincent Crabbe
Hogwarts Professors & Staff: Dumbledore | Professor Flitwick | Hagrid | Madam Hooch | Professor Karkaroff | Professor McGonagall | Professor Quirrell | Severus Snape | Professor Sprout | Professor Trelawney | Professor Umbridge
Death Eaters\Dark Wizards: Bellatrix Lestrange | Death Eater | Fenrir Greyback | Lord Voldemort | Lucius Malfoy | Peter Pettigrew
Creatures\Animals: Aragog | Basilisk | Buckbeak | Dementor | Dobby | Fluffy | Griphook | Hedwig | Mandrake | Mermaid | Norbert | Peacock | Skeleton | Troll
Other: Argus Filch | Arthur Weasley | Chess Queen | Ernie Prang | Ghost | Gilderoy Lockhart | Humpbacked Witch Statue | Knight | Mad-Eye Moody | Molly Weasley | Mr. Ollivander | Mrs. Norris | Narcissa Malfoy | Remus Lupin | Sirius Black | Sorting Hat | Stan Shunpike | Vernon Dursley
Video Game Only Wizards: Aberforth Dumbledore | Albert Runcorn | Alecto Carrow | Amycus Carrow | Antioch Peverell | Antonin Dolohov | Barty Crouch Junior | Barty Crouch Senior | Bathilda Bagshot | Cadmus Peverell | Charity Burbage | Cornelius Fudge | Dedalus Diggle | Egypt Wizard | Dirk Cresswell | Doris Crockford | Dragomir Despard | Elphias Doge | Emmeline Vance | Godric Gryffindor | Gregorovitch | Grindelwald | Helga Hufflepuff | Hestia Jones | Ignotus Peverell | James Potter | Kingsley Shacklebolt | Lily Potter | Macnair | Madam Irma Pince | Madam Malkin | Madam Maxime | Madam Pomfrey | Madam Rosmerta | Mafalda Hopkirk | Mary Cattermole | Mundungus Fletcher | Nymphadora Tonks | Phineas Nigellus Black | Pius Thicknesse | Professor Binns | Professor Grubbly-Plank | Professor Slughorn | Professor Sinistra | Professor Vector | Reginald Cattermole | Regulus Black | Rita Skeeter | Romilda Vane | Rowena Ravenclaw | Rufus Scrimgeour | Salazar Slytherin | Shifty Wizard | Thorfinn Rowle | Tom the Innkeeper | Trolley Witch | Witch (White) | Wizard (Blue) | Wizard (Green) | Wizard (Red) | Wizard (White) | Xenophilius Lovegood | Yaxley
Video Game Only Students: Zacharias Smith | Slytherin Boy | Slytherin Girl | Slytherin Prefect | Slytherin Twin 1 | Slytherin Twin 2 | Ravenclaw Boy | Ravenclaw Girl | Ravenclaw Prefect | Padma Patil | Pansy Parkinson | Parvati Patil | Penelope Clearwater | Percy Weasley | Hufflepuff Boy | Hufflepuff Girl | Hufflepuff Prefect | Gryffindor Boy | Gryffindor Girl | Michael Corner | Millicent Bulstrode | Hannah Abbott | Seamus Finnigan | Lavender Brown | Lee Jordan | Charlie Weasley | Cho Chang | Colin Creevey | Cormac McLaggen | Bill Weasley | Blaise Zabini | Alicia Spinnet | Amos Diggory | Angelina Johnson | Ernie Macmillan | Fleur Delacour | Gabrielle Delacour | Susan Bones | Dean Thomas | Anthony Goldstein | Justin Finch-Fletchley | Katie Bell | Cedric Diggory | Durmstrang Student | Marcus Belby | Marietta Edgecombe
Video Game Only Others: Suit of Armour | The Bloody Baron | The Fat Friar | The Grey Lady | Station Guard | Nagini | Nearly Headless Nick | Kreacher | Grindylow | Gringotts Dragon | Ghost Fiancée | Giant (Harry Potter) | Girl | Death | Cornish Pixie | Crookshanks | Daily Prophet Photographer | Drummer | Guitarist | Gornuk | Grawp | Dudley Dursley | Milkman | Bogrod | Boy | Fang | Muggle Orphan | Ministry Guard | Moaning Myrtle | Mrs. Cole | Mrs. Figg | Mrs. Black | Scabior | Leanne | Inferi | Petunia Dursley | Marjorie Dursley | Dennis | Cafe Waitress | Gordon | Snatcher | Verity | Malcolm

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) (talkcontribsemail) 01:08, May 16, 2013 (UTC)

Sure, what's the code? Ajraddatz (Talk) 02:14, 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) (talkcontribsemail) 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)