Touhou Wiki
Advertisement



Information[]

This is taken from this template.

Example[]


{{hide table
|no=2
|title1l=Title Name
|titlelink=Title Link
|C1=Background Color
|F1=Text Color

|class1.1=Named Bar
|info1.1=Information under named bar

|class1.2=Named Bar 2
|info1.2=Inforation under named bar 2



|title2=Title Name 2
|C2=Background Color 2
|F2=Text Color 2


|class2.1l=2.Named Bar
|2.1link=2.Named Bar Link
|info2.1=Information under 2.named bar 

|title3=
}}


Usage[]

It uses title parts and class parts.


Important
  • no: the number of the title section that used on the template (1, 2, 3, 4 or 5). If you don’t give a proper value then some section of the table are not displayed.

Title parts[]

The title parts have 4 parameters

  • title or titlel: contains what is written in the title bar
  • titlelink : contains the page name toward which the title bar links (used with titlel)
  • C : color of the background (without the #)
  • F :color of the Forground (without the #)
Important
  • Each parameter is associated with a number from 1 to 5. This number will be associated to the title position in the final template
  • title is used for titles which do not provide links, titlel is used for titles which provide a link (given by titlelink parameter)


Class parts[]

The class parts have 3 parameters

  • class or classl: contents of the class written in bold in the left part of the table
  • link: contains the page name toward which the class links (used with classl)
  • info : contains the articles list of the class
Important
  • Each parameter is associated with 2 numbers in the form x.y . x refers to the title number, y refers to the position of the class in the table (there can be 4 title section which can have up to 10 classes each)
  • class is used for classes which do not provide links, classl is used for classes which provide a link (given by link parameter)
Note
  • beware of the position of the x and y numbers in the parameters (x can be between 1 and 5, y can be between 1 and 10)
  • the class is optional ie a title can have no associated class section. This can be used to created subtitle sections
  • the links do not need to be put into braces (2.1link=Devil Fruit and not 2.1link=[[Devil Fruit]])
  • in the info section the separator  • ( •) is traditionally used, | shall be avoided since it has a special meaning for the template or replace by {{!}} special template

Organisation[]

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

{{Template
 |no=3
 |title1l=xxx
 |titlelink=xxx
 
 |title2=yyy
 |class2.1l=toto
 |2.1link=toto
 |info2.1=abcd 
 |class2.2=tata
 |info2.2=defg 
 
 |title3=zzz
 |class3.1=titi
 |info3.1=wxyz

 }}
 

Important : Note that title4 has to be put even if it corresponds to nothing

Advertisement