Template:Infobox/character: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
m 1 revision imported
No edit summary
 
Line 1: Line 1:
{{Infobox
{{Infobox
|name=  
|name=  
|bodystyle= border: 4px solid {{{border-color|{{{边框颜色|#eecaac}}}}}};padding: 0;{{#ifeq:{{{radius|{{{圆角|no}}}}}}|yes|border-radius: 10px;|}}background:{{{background-color|{{{背景颜色|#fff}}}}}};
|bodystyle= border: 4px solid {{{border-color|{{{BorderColor|#eecaac}}}}}}; padding: 0; {{#ifeq:{{{radius|{{{RoundedCorners|no}}}}}}|yes|border-radius: 10px;|}}background:{{{background-color|{{{BackgroundColor|#fff}}}}}};
|title=  
|title=  
|titlestyle=  
|titlestyle=  
|above= {{{title|{{{标题|一般来说这里写的是全名}}}}}}
|above= {{{title|{{{Title|Generally, the full name is written here}}}}}}
|abovestyle= background:{{{header-color|{{{标题颜色|#eecaac}}}}}}; padding:8px 0;{{#ifeq:{{{radius|{{{圆角|no}}}}}}|yes|border-radius:5px 5px 0 0;|}}
|abovestyle= background:{{{header-color|{{{TitleColor|#eecaac}}}}}}; padding:8px 0; {{#ifeq:{{{radius|{{{RoundedCorners|no}}}}}}|yes|border-radius:5px 5px 0 0;|}}
|image= {{{image|{{{图片|[[File:No_image.svg|200px]]}}}}}}
|image= {{{image|{{{Image|[[File:No_image.svg|200px]]}}}}}}
|imagestyle=  
|imagestyle=  
|caption  = {{{caption|{{{图片说明|}}}}}}
|caption  = {{{caption|{{{ImageCaption|}}}}}}
|captionstyle =  
|captionstyle =  
|headerstyle  = background:{{{header-color|{{{顶栏颜色|#eecaac}}}}}};
|headerstyle  = background:{{{header-color|{{{TopBarColor|#eecaac}}}}}};
|labelstyle= background:{{{label-color|{{{标签颜色|#fce6ca}}}}}};
|labelstyle= background:{{{label-color|{{{LabelColor|#fce6ca}}}}}};
|datastyle=  
|datastyle=  


|header1 = 基础信息
|header1 = Basic Information
|label2  = 本名
|label2  = Original Name
|data2= {{{original-name|{{{本名|DarkNinja=san}}}}}}
|data2= {{{original-name|{{{OriginalName|DarkNinja=san}}}}}}
|label3  = 别名
|label3  = Nickname
|data3= {{{nickname|{{{别名|Ninja}}}}}}
|data3= {{{nickname|{{{Nickname|Ninja}}}}}}
|label4  = 译名
|label4  = Translated Name
|data4= {{{translated-name|{{{译名|}}}}}}
|data4= {{{translated-name|{{{TranslatedName|}}}}}}
|label5  = 生日
|label5  = Birthday
|data5= {{{birthday|{{{生日|}}}}}}
|data5= {{{birthday|{{{Birthday|}}}}}}
|label6  = 物种
|label6  = Species
|data6 = {{{species|{{{物种|}}}}}}
|data6 = {{{species|{{{Species|}}}}}}
|label7  = 灵魂
|label7  = [[NeuroWiki:Soul|Soul]]
|data7= {{{souls|{{{灵魂|}}}}}}
|data7= {{{souls|{{{Souls|}}}}}}
|label8  = 出生地区
|label8  = Birthplace
|data8= {{{birthplace|{{{出生地区|}}}}}}
|data8= {{{birthplace|{{{Birthplace|}}}}}}
|label9  = 现居地区
|label9  = Current Residence
|data9= {{{currentplace|{{{现居地区|}}}}}}
|data9= {{{currentplace|{{{CurrentResidence|}}}}}}
|data20={{{BasicInformationSupplement|{{{基础信息补充|}}}}}}
|label10 = Gender
|header21 = 活动信息
|data10 = {{{sex|{{{Gender|}}}}}}
|label22  = 状态
|data20={{{BasicInformationSupplement|{{{BasicInformationSupplement|}}}}}}
|data22= {{{statuses|{{{状态|活动中}}}}}}
|header21 = Activity Information
|label23  = 语言
|label22  = Status
|data23= {{{language|{{{语言|英语}}}}}}
|data22= {{{statuses|{{{Status|Active}}}}}}
|label24  = 频道
|label23  = Language
|data24= {{{channel|{{{频道|}}}}}}
|data23= {{{language|{{{Language|English}}}}}}
|label25 = 粉丝数
|label24  = Channel
|data25 = {{{fans|{{{粉丝数|}}}}}}
|data24= {{{channel|{{{Channel|}}}}}}
|label26 = 粉丝名
|label25 = Number of Fans
|data26 = {{{fansname|{{{粉丝名|}}}}}}
|data25 = {{{fans|{{{NumberOfFans|}}}}}}
|label26 = Fan Name
|data26 = {{{fansname|{{{FanName|}}}}}}
|label27 = Tag
|label27 = Tag
|data27 = {{{tag|{{{Tag|}}}}}}
|data27 = {{{tag|{{{Tag|}}}}}}
|data30={{{ActivityInformationSupplement|{{{活动信息补充|}}}}}}
|data30={{{ActivityInformationSupplement|{{{ActivityInformationSupplement|}}}}}}
|header31 = 人际关系
|header31 = Relationships
|data32= {{{relationship|{{{人际关系|}}}}}}
|data32= {{{relationship|{{{Relationships|}}}}}}
|belowstyle = background:{{{below-color|{{{底部颜色|#eecaac}}}}}};{{#ifeq:{{{radius|{{{圆角|no}}}}}}|yes|border-radius:0 0 5px 5px;|}}{{#ifeq:{{{below-show|{{{底部栏|yes}}}}}}|yes|display:table-cell;|display:none;}}{{#ifeq:{{{below|{{{底部文本| }}}}}}| |line-height: 12px;padding: 0;font-size:0;|}}
|belowstyle = background:{{{below-color|{{{BottomColor|#eecaac}}}}}}; {{#ifeq:{{{radius|{{{RoundedCorners|no}}}}}}|yes|border-radius:0 0 5px 5px;|}}{{#ifeq:{{{below-show|{{{BottomBar|yes}}}}}}|yes|display:table-cell;|display:none;}}{{#ifeq:{{{below|{{{BottomText| }}}}}}| |line-height: 12px; padding: 0; font-size:0;|}}
|below={{{below|{{{底部文本| }}}}}}
|below={{{below|{{{BottomText| }}}}}}
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
[[Category:信息框模板|*]]
[[Category:Infobox templates|*]]
</noinclude>
</noinclude>

Latest revision as of 22:16, 9 November 2024

Generally, the full name is written here
Basic Information
Original NameDarkNinja=san
NicknameNinja
Activity Information
StatusActive
LanguageEnglish
Relationships
 
[ View | Edit | History | Purge ]Documentation page

This template uses Module:Infobox, this script is written in Lua.
For more details, please refer to Wikipedia:Lua and Extension:Scribunto.

This is a specialized version of the {{Infobox}} template for Category:Character entries. It is less flexible but relatively easy to use and standard.

Examples

Simple

{{infobox/character
|Title=Mauremys reevesii
|Image=[[File:Turtle_emoji.png|200px]]
|ImageCaption=*Femboy noise*
|OriginalName=Turtle
|Nickname=V, Turtle
|TranslatedName=Turtle
|Birthday=February 29, 2000
|Species=Turtle
|Souls=Human
|Birthplace='''In reality:''' United Kingdom<br>'''In setting:''' Terra Continent
|CurrentResidence=United Kingdom (GMT)
|Status=Active
|Language=English
|Channel={{TwitchButton|Turtle}}/{{YoutubeButton|Turtle}}/{{BilibiliButton|Turtle}}
|NumberOfFans={{TwitchFans|Turtle}}/{{YoutubeFans|Turtle}}/{{BilibiliFans|Turtle}}
|Relationships=Mother: Turtle Mom<br>Father: Turtle Dad<br>Daughter: Turtle Girl<br>Son: Turtle Boy
}}

Note: In actual use, it is right-aligned. For demonstration purposes in this document, positioning adjustment is not enabled.

Mauremys reevesii
*Femboy noise*
Basic Information
Original NameTurtle
NicknameV, Turtle
Translated NameTurtle
BirthdayFebruary 29, 2000
SpeciesTurtle
SoulHuman
BirthplaceIn reality: United Kingdom
In setting: Terra Continent
Current ResidenceUnited Kingdom (GMT)
Activity Information
StatusActive
LanguageEnglish
Channel//
Number of Fans 123 456 789
Relationships
Mother: Turtle Mom
Father: Turtle Dad
Daughter: Turtle Girl
Son: Turtle Boy
 

Further

{{infobox/character
|Title=Mauremys reevesii
|Image=[[File:Turtle_emoji.png|200px]]
|ImageCaption=*Femboy noise*
|OriginalName=Turtle
|Nickname=V, Turtle
|TranslatedName=Turtle
|Birthday=February 29, 2000
|Species=Turtle
|Souls=Human
|Birthplace='''In reality:''' United Kingdom<br>'''In setting:''' Terra Continent
|CurrentResidence=United Kingdom (GMT)
|Status=Active
|Language=English
|Channel={{TwitchButton2|Turtle}}<br>{{YoutubeButton2|Turtle}}<br>{{BilibiliButton2|1|nickname=Turtle}}
|NumberOfFans={{TwitchFans|123}}<br>{{YoutubeFans|456}}<br>{{BilibiliFans|789}}
|Relationships=Mother: Turtle Mom<br>Father: Turtle Dad<br>Daughter: Turtle Girl<br>Son: Turtle Boy

|FanName=Turtle Fans
|Tag=LoveTurtle

|RoundedCorners=yes
|BorderColor=#aaaaff
|TitleColor=#ffeeaa
|TopBarColor=#dd99bb
|LabelColor=#999
|BottomColor=#666
|BottomText=123456789aaa
}}
Mauremys reevesii
*Femboy noise*
Basic Information
Original NameTurtle
NicknameV, Turtle
Translated NameTurtle
BirthdayFebruary 29, 2000
SpeciesTurtle
SoulHuman
BirthplaceIn reality: United Kingdom
In setting: Terra Continent
Current ResidenceUnited Kingdom (GMT)
Activity Information
StatusActive
LanguageEnglish
ChannelTurtle
Turtle
Turtle
Number of Fans 123
456
789
Fan NameTurtle Fans
TagLoveTurtle
Relationships
Mother: Turtle Mom
Father: Turtle Dad
Daughter: Turtle Girl
Son: Turtle Boy
123456789aaa

Redirect

{{Infobox/Character}}

[ View | Edit | History | Purge ]The above documentation is transcluded from Template:Infobox/character/doc.