FANDOM


{{{title}}}
{{{class0.1}}}: {{{info0.1}}}
{{{class0.2}}}: {{{info0.2}}}
{{{class0.3}}}: {{{info0.3}}}
{{{title1}}}
{{{class1.1}}}: {{{info1.1}}}
{{{class1.2}}}: {{{info1.2}}}
{{{class1.3}}}: {{{info1.3}}}
{{{title2}}}
{{{class2.1}}}: {{{info2.1}}}
{{{class2.2}}}: {{{info2.2}}}
{{{class2.3}}}: {{{info2.3}}}
{{{title3}}}
{{{class3.1}}}: {{{info3.1}}}
{{{class3.2}}}: {{{info3.2}}}
{{{class3.3}}}: {{{info3.3}}}
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Navibox/doc to edit this documentation. (How does this work?)

This template is the base template for every navibox.

How to Use It

The template is composed of 2 different parts:

  • the "title" parts which are coloured and centered (The General Idea)
  • the "class" parts which contain the informative articles (The Specifics)

Title Parts

The "title" parts have 2 parameters:

  • title (or title1, title2...): contents of the title bar, which can be a link.
  • colorscheme (or colorscheme1, colorscheme2...): color scheme of the title bar.

The non-numbered title and colorscheme parameters refer to the main title of the navibox (the one that's seen when the navibox is collapsed). The others are numbered from 1 to 5. The number is associated to the title position in the final template.

If one of the subtitles have no associated color scheme, the main color scheme is used. If there exists no color scheme corresponding to the color you want, you can use the backcolor and/or textcolor optional parameters (also declined in main/numbered versions). Those arguments override the specified color scheme, if any.


Examples
  • The title Related Articles which is the second subtitle and and doesn't link to any page is coded like this:
 |title2=Related Articles
(note that we don't have to specify colorcheme2 since we want it to be the same as the main color scheme
  • Suppose that, for some reason, we want to use different colors for this last title, for which no color scheme exists:
 |title2=Related Articles
 |backcolor2=123456
 |textcolor2=ABCDEF
(note that the # is omitted in the color hex-code)


Class Parts

The class parts have 2 parameters:

  • class: contents of the class written in bold black in the left part of the table, which can be a link.
  • info : the class' list of articles.

Each parameter is associated with 2 numbers in the form x.y. x refers to the title number (0 for the main classes), y refers to the position of the class in the table (there can be 5 subtitle sections (not including the main one) which can have up to 10 classes each).

(note the use of Template:Navibox/info for the list to be displayed properly.)
Notes
  • Beware of the position of the x and y numbers in the parameters (x can be between 0 and 5, y can be between 1 and 10)
  • Classes are optional, i.e. a title can have no associated class section. This is used mainly for the main classes (numbered 0).
  • Class names and info are optional too. In a subsection, only the title is mandatory.
  • Use Template:Navibox/info in the info parameters, for the list to be displayed properly.

Organization

A typical organization for this template would be something like this :

{{Navibox
  |template=YNN Characters
  |align=center
  |title=The Promised Neverland Characters
  |backcolor=e84b17
  |textcolor=FFFFFF
  |backcolor1=e84b17
  |backcolor2=e84b17

  |class0.1=[[:Category:Characters|Main Characters]]

  |info0.1={{Navibox/info
             | [[Emma]]
             | [[Norman]]
             | [[Ray]]
           }}

  |title1=Humans
  |class1.1=[[:Category:Grace Field House|Escapees]]
  |info1.1={{Navibox/info
             | [[Alicia]]
             | [[Anna]]
             | [[Chris]]
             | [[Dominic]]
             | [[Don]]
             | [[Emma]]
             | [[Gilda]]
             | [[Jemima]]
             | [[Lannion]]
             | [[Mark]]
             | [[Nat]]
             | [[Ray]]
             | [[Rossi]]
             | [[Thoma]]
             | [[Yvette]]
           }}
  |class1.2=[[:Category:Shipped Out|Shipped Out]]
  |info1.2={{Navibox/info
             | Abby
             | Cedi
             | Chucky
             | [[Conny]]
             | Hao
             | Helena
             | Jimmy
             | [[Leslie]]
             | Marcus
             | [[Michelle]]
             | [[Norman]]
             | [[Olivia]]
             | Robert
             | [[Simon]]
             | Susan
           }}
  |class1.3=[[:Category:Orphans|Orphans]]
  |info1.3={{Navibox/info
             | [[Phil]]
             | [[Carol]]
             | [[Chamberlain]]
             | Charlie
             | [[Dalia]]
             | [[Damdin]]
             | [[Eugene]]
             | [[Hans]]
             | [[Jasper]]
             | [[Marnya]]
             | Milly
             | [[Naila]]
             | [[Nina]]
             | [[Shelly]]
             | [[Tom]]
             | [[Vivian]]
           }}
  |class1.4=[[:Grace Field House|Grace Field House]]
  |info1.4={{Navibox/info
             | [[Grandmother]]
             | [[Krone]]
             | [[Isabella]]
             | [[Yukko]]
           }}
  |class1.5=[[:Ratri Clan|Ratri Clan]]
  |info1.5={{Navibox/info
             | [[Andrew]]
             | [[Peter Ratri]]
           }}
  |class1.6=Minerva's Group
  |info1.6={{Navibox/info
             | [[Ayshe]]
             | [[Barbara]]
             | [[Cislo]]
             | [[Hayato]]
             | [[Jin]]
             | [[Smee]]
             | [[Vincent]]
             | [[William Minerva|James Ratri]]
             | [[Zazie]]
           }}
  |class1.7= [[:Goldy Pond|Goldy Pond]]
  |info1.7={{Navibox/info
             | [[Adam]]
             | [[Dina]]
             | [[Gillian]]
             | [[Jake]]
             | [[Lucas]]
             | [[Mister]]
             | [[Monica]]
             | [[Nigel]]
             | [[Oliver]]
             | [[Paula]]
             | [[Pepe]]
             | [[Sandy]]
             | [[Sonia]]
             | [[Theo]]
             | [[Violet]]
             | [[Windmill Girl]]
             | [[Zack]]
           }}
<!--- DO NOT REMOVE UNTIL LATER CONFIRMED.
  |class1.6=Glory Bell
  |info1.6={{Navibox/info
             | Unknown Man
           }}
--->

  |title2=[[Demons]]
  |class2.1=Royal Family
  |info2.1={{Navibox/info
             | {{King}}
             | [[Legravalima]]
           }}
  |class2.2=Regent Heads
  |info2.2={{Navibox/info
             | [[Bayon II]]
             | [[Dozza]]
             | [[Geelan]]
             | [[Pupo]]
             | [[Noum]]
             | [[Yverk]]
           }}
  |class2.3=[[Demons|Heathens]]
  |info2.3={{Navibox/info
             | [[Mujika]]
             | [[Sonju]]
             | [[Sonju's horse]]
           }}
  |class2.4=[[:Demons|Poachers]]
  |info2.4={{Navibox/info
             | [[Bayon]]
             | [[Leuvis]]
             | [[Luce]]
             | [[Nouma]]
             | [[Nous]]
             | [[Palvus]]
           }}
}}

This would output:

[v · e · ?]
The Promised Neverland Characters
Main Characters: Emma  •  Norman  •  Ray
Humans
Escapees: Alicia  •  Anna  •  Chris  •  Dominic  •  Don  •  Emma  •  Gilda  •  Jemima  •  Lannion  •  Mark  •  Nat  •  Ray  •  Rossi  •  Thoma  •  Yvette
Shipped Out: Abby  •  Cedi  •  Chucky  •  Conny  •  Hao  •  Helena  •  Jimmy  •  Leslie  •  Marcus  •  Michelle  •  Norman  •  Olivia  •  Robert  •  Simon  •  Susan
Orphans: Phil  •  Carol  •  Chamberlain  •  Charlie  •  Dalia  •  Damdin  •  Eugene  •  Hans  •  Jasper  •  Marnya  •  Milly  •  Naila  •  Nina  •  Shelly  •  Tom  •  Vivian
Grace Field House: Grandmother  •  Krone  •  Isabella  •  Yukko
Ratri Clan: Andrew  •  Peter Ratri
Minerva's Group: Ayshe  •  Barbara  •  Cislo  •  Hayato  •  Jin  •  Smee  •  Vincent  •  James Ratri  •  Zazie
Goldy Pond: Adam  •  Dina  •  Gillian  •  Jake  •  Lucas  •  Mister  •  Monica  •  Nigel  •  Oliver  •  Paula  •  Pepe  •  Sandy  •  Sonia  •  Theo  •  Violet  •  Windmill Girl  •  Zack
Demons
Royal Family: DemonKing Name  •  Legravalima
Regent Heads: Bayon II  •  Dozza  •  Geelan  •  Pupo  •  Noum  •  Yverk
Heathens: Mujika  •  Sonju  •  Sonju's horse
Poachers: Bayon  •  Leuvis  •  Luce  •  Nouma  •  Nous  •  Palvus

Most Common Mistakes

This paragraph describes the most common errors that one can make when using this template, please read them carefully as they contain useful information.

There Are Some Abnormal Signs

If something like {{{title}}} appears, it probably means that you forgot to set a parameter. Cf above for the good use of parameters.

Some Parts Are Missing or in a Bad Place

The maximum number for subtitles is 5 (+ the main title), the maximum number of classes is 10, if you have parameter like title6 or class3.11, they are not displayed.

Beware of the classes number not referring to the good title section. Something like this won't work, since the second class is badly numbered:

 |title1
 |class1.1
 |class2.1
Community content is available under CC-BY-SA unless otherwise noted.