Template:Infobox/character/doc: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
No edit summary
 
update
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Lua|Module:Infobox}}
{{Lua|Module:Infobox}}


{{Tl|Infobox}}模板的针对{{Cl|人物}}下的条目页面的特化版本,灵活性较差但是相对容易使用且标准。
This is a specialized version of the {{Tl|Infobox}} template for {{Cl|Character}} entries. It is less flexible but relatively easy to use and standard.
==例子==
==Examples==
===简单===
===Simple===
<pre>
<pre>
{{infobox/character
{{infobox/character
|标题=Mauremys reevesii
|Title=Mauremys reevesii
|图片=[[File:Turtle_emoji.png|200px]]
|Image=[[File:Turtle_emoji.png|200px]]
|图片说明=*Femboy noise*
|ImageCaption=*Femboy noise*
|本名=Turtle
|OriginalName=Turtle
|别名=V、阿龟
|Nickname=V, Turtle
|译名=乌龟
|TranslatedName=Turtle
|生日=2000年2月29日
|Birthday=February 29, 2000
|物种=乌龟
|Species=Turtle
|灵魂=人类
|Souls=Human
|出生地区='''实际上:'''英国<br>'''设定上:'''泰拉大陆
|Birthplace='''In reality:''' United Kingdom<br>'''In setting:''' Terra Continent
|现居地区=英国(GMT)
|CurrentResidence=United Kingdom (GMT)
|状态=活动中
|Status=Active
|语言=英语
|Language=English
|频道={{TwitchButton|Turtle}}/{{YoutubeButton|Turtle}}/{{BilibiliButton|Turtle}}
|Channel={{TwitchButton|Turtle}}/{{YoutubeButton|Turtle}}/{{BilibiliButton|Turtle}}
|粉丝数={{TwitchFans|Turtle}}/{{YoutubeFans|Turtle}}/{{BilibiliFans|Turtle}}
|NumberOfFans={{TwitchFans|Turtle}}/{{YoutubeFans|Turtle}}/{{BilibiliFans|Turtle}}
|人际关系=母亲:龟妈<br>父亲:龟爸<br>女儿:龟女<br>儿子:龟男
|Relationships=Mother: Turtle Mom<br>Father: Turtle Dad<br>Daughter: Turtle Girl<br>Son: Turtle Boy
}}
}}
</pre>
</pre>
'''注:实际使用时是右对齐,本文档为方便演示,未启用位置调整。'''
'''Note: In actual use, it is right-aligned. For demonstration purposes in this document, positioning adjustment is not enabled.'''
<div style="display:flex;">
<div style="display:flex;">
{{infobox/character
{{infobox/character
|标题=Mauremys reevesii
|Title=Mauremys reevesii
|图片=[[File:Turtle_emoji.png|200px]]
|Image=[[File:Turtle_emoji.png|200px]]
|图片说明=*Femboy noise*
|ImageCaption=*Femboy noise*
|本名=Turtle
|OriginalName=Turtle
|别名=V、阿龟
|Nickname=V, Turtle
|译名=乌龟
|TranslatedName=Turtle
|生日=2000年2月29日
|Birthday=February 29, 2000
|物种=乌龟
|Species=Turtle
|灵魂=人类
|Souls=Human
|出生地区='''实际上:'''英国<br>'''设定上:'''泰拉大陆
|Birthplace='''In reality:''' United Kingdom<br>'''In setting:''' Terra Continent
|现居地区=英国(GMT)
|CurrentResidence=United Kingdom (GMT)
|状态=活动中
|Status=Active
|语言=英语
|Language=English
|频道={{TwitchButton|Turtle}}/{{YoutubeButton|Turtle}}/{{BilibiliButton|Turtle}}
|Channel={{TwitchButton|Turtle}}/{{YoutubeButton|Turtle}}/{{BilibiliButton|Turtle}}
|粉丝数={{TwitchFans|123}}{{YoutubeFans|456}}{{BilibiliFans|789}}
|NumberOfFans={{TwitchFans|123}}{{YoutubeFans|456}}{{BilibiliFans|789}}
|人际关系=母亲:龟妈<br>父亲:龟爸<br>女儿:龟女<br>儿子:龟男
|Relationships=Mother: Turtle Mom<br>Father: Turtle Dad<br>Daughter: Turtle Girl<br>Son: Turtle Boy
}}
}}
</div>
</div>
===进一步===
===Further===
<pre>
<pre>
{{infobox/character
{{infobox/character
|标题=Mauremys reevesii
|Title=Mauremys reevesii
|图片=[[File:Turtle_emoji.png|200px]]
|Image=[[File:Turtle_emoji.png|200px]]
|图片说明=*Femboy noise*
|ImageCaption=*Femboy noise*
|本名=Turtle
|OriginalName=Turtle
|别名=V、阿龟
|Nickname=V, Turtle
|译名=乌龟
|TranslatedName=Turtle
|生日=2000年2月29日
|Birthday=February 29, 2000
|物种=乌龟
|Species=Turtle
|灵魂=人类
|Souls=Human
|出生地区='''实际上:'''英国<br>'''设定上:'''泰拉大陆
|Birthplace='''In reality:''' United Kingdom<br>'''In setting:''' Terra Continent
|现居地区=英国(GMT)
|CurrentResidence=United Kingdom (GMT)
|状态=活动中
|Status=Active
|语言=英语
|Language=English
|频道={{TwitchButton2|Turtle}}<br>{{YoutubeButton2|Turtle}}<br>{{BilibiliButton2|1|nickname=Turtle}}
|Channel={{TwitchButton2|Turtle}}<br>{{YoutubeButton2|Turtle}}<br>{{BilibiliButton2|1|nickname=Turtle}}
|粉丝数={{TwitchFans|123}}<br>{{YoutubeFans|456}}<br>{{BilibiliFans|789|2024年1月1日}}
|NumberOfFans={{TwitchFans|123}}<br>{{YoutubeFans|456}}<br>{{BilibiliFans|789}}
|人际关系=母亲:龟妈<br>父亲:龟爸<br>女儿:龟女<br>儿子:龟男
|Relationships=Mother: Turtle Mom<br>Father: Turtle Dad<br>Daughter: Turtle Girl<br>Son: Turtle Boy


|粉丝名=龟粉
|FanName=Turtle Fans
|Tag=LoveTurtle
|Tag=LoveTurtle


|圆角=yes
|RoundedCorners=yes
|边框颜色=#aaaaff
|BorderColor=#aaaaff
|标题颜色=#ffeeaa
|TitleColor=#ffeeaa
|顶栏颜色=#dd99bb
|TopBarColor=#dd99bb
|标签颜色=#999
|LabelColor=#999
|底部颜色=#666
|BottomColor=#666
|底部文本=123456789啊啊啊
|BottomText=123456789aaa
}}
}}
</pre>
</pre>
<div style="display:flex;">
<div style="display:flex;">
{{infobox/character
{{infobox/character
|标题=Mauremys reevesii
|Title=Mauremys reevesii
|图片=[[File:Turtle_emoji.png|200px]]
|Image=[[File:Turtle_emoji.png|200px]]
|图片说明=*Femboy noise*
|ImageCaption=*Femboy noise*
|本名=Turtle
|OriginalName=Turtle
|别名=V、阿龟
|Nickname=V, Turtle
|译名=乌龟
|TranslatedName=Turtle
|生日=2000年2月29日
|Birthday=February 29, 2000
|物种=乌龟
|Species=Turtle
|灵魂=人类
|Souls=Human
|出生地区='''实际上:'''英国<br>'''设定上:'''泰拉大陆
|Birthplace='''In reality:''' United Kingdom<br>'''In setting:''' Terra Continent
|现居地区=英国(GMT)
|CurrentResidence=United Kingdom (GMT)
|状态=活动中
|Status=Active
|语言=英语
|Language=English
|频道={{TwitchButton2|Turtle}}<br>{{YoutubeButton2|Turtle}}<br>{{BilibiliButton2|1|nickname=Turtle}}
|Channel={{TwitchButton2|Turtle}}<br>{{YoutubeButton2|Turtle}}<br>{{BilibiliButton2|1|nickname=Turtle}}
|粉丝数={{TwitchFans|123}}<br>{{YoutubeFans|456}}<br>{{BilibiliFans|789|2024年1月1日}}
|NumberOfFans={{TwitchFans|123}}<br>{{YoutubeFans|456}}<br>{{BilibiliFans|789}}
|人际关系=母亲:龟妈<br>父亲:龟爸<br>女儿:龟女<br>儿子:龟男
|Relationships=Mother: Turtle Mom<br>Father: Turtle Dad<br>Daughter: Turtle Girl<br>Son: Turtle Boy


|粉丝名=龟粉
|FanName=Turtle Fans
|Tag=LoveTurtle
|Tag=LoveTurtle


|圆角=yes
|RoundedCorners=yes
|边框颜色=#aaaaff
|BorderColor=#aaaaff
|标题颜色=#ffeeaa
|TitleColor=#ffeeaa
|顶栏颜色=#dd99bb
|TopBarColor=#dd99bb
|标签颜色=#999
|LabelColor=#999
|底部颜色=#666
|BottomColor=#666
|底部文本=123456789啊啊啊
|BottomText=123456789aaa
}}
}}
</div>
</div>
==重定向==
==Redirect==
*{{Tl|infobox/人物}}
{{Tl|Infobox/Character}}
*{{Tl|信息栏/人物}}
 
<includeonly>
<includeonly>
[[en:Template:Infobox/character]]
[[zh:Template:Infobox/character]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- 文档分类和跨语言链接 -->
<!-- Documentation and interlanguage links -->
[[en:Template:Infobox/character/doc]]
[[zh:Template:Infobox/character/doc]]
</noinclude>
</noinclude>

Latest revision as of 22:25, 9 November 2024

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}}