Template:InfoBar

From Moegirlpedia
Jump to: navigation, search
Huh. Where did my head go?
Information

A relatively simple information bar template that can be customized for all items.

This template can:

  • Support to customize all items. There are no restrictions on the title and content of custom items, but use escape templates for meaningful characters in Wikitext.
  • Support horizontal column separation.
  • Applicable to the right information bar for items such as settings, phrases, sentences, and moe points.
  • It is backward compatible with most of the Infobars (except Infobar 2.0), you only need to change the template name to "InfoBar" to get all the features of this template directly.

For more powerful templates, see {{InfoBar 2.0}}

Parameters

{{InfoBar
|image =  <!-- image -->
|imgwidth = <!-- image size, default is 280px -->
|imgdes = <!-- A description of the image -->
|tabs =  <!-- If you use tabs, it will override the settings of image and imgdes  -->
|width =  <!-- Template width, default is 280px -->
|tbgcolor =  <!-- Background color, default is #E0FFFF -->
|title = <!-- The display text of the first horizontal column, the default is "Basic Info"  -->
|hideT1 = <!-- Hide the first row -->
|lwidth = <!-- Left column width, default is 80px -->
|lalign = <!-- Left column alignment, default is center -->
|ralign = <!-- Right column alignment, default is center -->
|item1 =
|item2 =
|item3 =
……
|Txx = <!-- Items starting with T can set a horizontal bar -->
|item5 =
|item6 =
……
}}

Example usage

Hst.jpg
Basic info
Name Huang Shao-Tian (黄少天)
Gender Male
Card Night Rain
Occupation Swordsman
Faction Blue Rain
Detailed info
Juggernaut
Nicknames Xiao Tian Tian (小天天)
Height 176cm
Birthday August 10
Moe Points chatterbox
The King's Avatar
{{InfoBar
|image = Hst.jpg
|title = <small>'''Basic Info'''</small>
|Name = Huang Shao Tian (黄少天)
|Gender = Male
|Card = Night Rain
|Occupation = Swordsman
|Faction = Juggernaut
|T2 = <small>'''Detailed Info'''</small>
|Title = Juggernaut
|Nicknames = Xiao Tian Tian (小天天)
|Height = 176cm
|Birthday = August 10
|Moe Points = chatterbox
|T3 = <small>'''[[The King's Avatar]]'''</small>
}}

Other