“Template:Infobox idol/core”的版本间的差异
| 第3行: | 第3行: | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
| − | | title = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|''' | + | | title = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|''' 小偶像信息'''}} |
| abovestyle = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||background-color: #F9749A; color: white}} | | abovestyle = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||background-color: #F9749A; color: white}} | ||
| above = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{br separated entries | | above = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{br separated entries | ||
| − | + | |1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}} | |
| − | + | |2={{#if:{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}|<span class="fn">{{{name|{{PAGENAMEBASE}}}}}</span>}} | |
| − | + | |3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}} | |
}} | }} | ||
}} | }} | ||
| − | |||
| − | |||
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} | ||
| 第24行: | 第22行: | ||
| header1 = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{height|}}}{{{nationality|}}}{{{residence|}}}{{{occupation|}}}|个人资料}}}} | | header1 = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{height|}}}{{{nationality|}}}{{{residence|}}}{{{occupation|}}}|个人资料}}}} | ||
| − | | label3 = | + | | label3 = 毕业学校与选科 |
| − | | data3 = {{br separated entries|1={{ | + | | data3 = {{br separated entries|1={{{academy|{{ 偶像就读学院信息}}|2={{{subject| 偶像科}}}}} |
| − | + | {{#ifexist:{{{senior1}}}|<!--对于名都神无等还未入学高中的小偶像--> | |
| − | + | | label4 = 一年级所在班级 | |
| + | | data4 = {{{senior1|}}} | ||
| + | |}} | ||
| − | | label5 = | + | {{#ifexist:{{{senior2}}}| |
| − | | data5 = {{{ | + | | label5 = 二年级所在班级 |
| + | | data5 = {{{senior2|}}} | ||
| + | |}} | ||
| − | | label6 = | + | {{#ifexist:{{{senior1}}}| |
| − | | data6 = {{{ | + | | label6 = 三年级所在班级 |
| + | | data6 = {{{senior3|}}} | ||
| class6 = category | | class6 = category | ||
| + | |}} | ||
| label7 = 教育程度 | | label7 = 教育程度 | ||
| 第51行: | 第55行: | ||
| data10 = {{#if:{{{height_m|{{{height_cm|}}}}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}} }}{{#if:{{{height|}}} | {{Infobox person/height|{{{height|}}}}} }} | | data10 = {{#if:{{{height_m|{{{height_cm|}}}}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}} }}{{#if:{{{height|}}} | {{Infobox person/height|{{{height|}}}}} }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}}{{#ifeq:{{{nocat|false}}}|false|}}<noinclude>{{documentation}}</noinclude> | }}{{#ifeq:{{{nocat|false}}}|false|}}<noinclude>{{documentation}}</noinclude> | ||
2025年8月8日 (五) 22:26的版本
{{Infobox | child = | bodyclass = biography vcard
| title =
| abovestyle = background-color: #F9749A; color: white | above =
| image2 = | caption2 =
| headerstyle = background-color:
- F9749A; color: white; line-height: 1.5em
| labelstyle = white-space: nowrap;
| header1 =
| label3 = 毕业学校与选科 | data3 = {Template:Academy
label4 = 一年级所在班级
label5 = 二年级所在班级
label6 = 三年级所在班级
此模板适用于显示有关于小偶像们的信息,不分组合、事务所或出身学院。
用法
可以粘贴使用如下样版,填写所需的字段,留空或省略的字段将不会显示。
有基本参数的空模板
{{Infobox | child = | bodyclass = biography vcard
| title =
| abovestyle = background-color: #F9749A; color: white | above = Infobox idol/core
| image2 = | caption2 =
| headerstyle = background-color:
- F9749A; color: white; line-height: 1.5em
| labelstyle = white-space: nowrap;
| header1 =
| label3 = 毕业学校与选科 | data3 = {Template:Academy
label4 = 一年级所在班级
label5 = 二年级所在班级
label6 = 三年级所在班级
{{Infobox idol
| name =
| logo =
| logo_caption =
| image =
| caption =
| birth_name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| nationality =
| occupation =
| website =
| pseudonym =
| channel_url =
| channel_display_name =
| years_active =
| genre =
| subscribers =
| subscriber_date =
| views =
| view_date =
| network =
| associated_acts =
| catchphrase(s) =
| silver_TV =
| silver_year =
| gold_TV =
| gold_year =
| stats_update =
}}
下面带注释的模板模式显示了有关每个特定参数的解释性注释“ <!-×××->”。
{{Infobox idol
| name =
| logo = <!-- just the filename, without the File: or Image: prefix or enclosing [[brackets]] -->
| logo_caption =
| image = <!-- just the filename, without the File: or Image: prefix or enclosing [[brackets]] -->
| caption =
| birth_name = <!-- only use if different from name -->
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} or {{Birth-date and age|birth date†}} -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} or {{Death-date and age|death date†|birth date†}} -->
| death_place =
| nationality =
| occupation =
| website =
| pseudonym = <!-- use for individuals only -->
<!-- THE FOLLOWING THREE PARAMETERS ARE INTERCHANGEABLE; DO NOT USE TWO OR MORE AT THE SAME TIME -->
| channel_url = <!-- use for channels only, format: space.bilibili.com/channel_url -->
| channel_display_name = <!-- if the channel's displayed name differs from the channel_name/channel_url/channel_direct_url -->
| years_active = <!-- year of channel's creation until its discontinuation or present day -->
| genre =
| subscribers =
| subscriber_date = <!-- date at which the given number of subscribers is correct -->
| views =
| view_date = <!-- date at which the given number of views is correct -->
| network = <!-- multi-channel network (MCN) to which the channel has signed (past and/or present), if any -->
| associated_acts =
| catchphrase(s) = <!-- unique phrases said by the bilibili uploader -->
| silver_TV = <!-- yes/no; only use if the individual/channel has been awarded with a silver TV by bilibili -->
| silver_year = <!-- year in which the channel reached 100,000 subscribers -->
| gold_TV = <!-- yes/no; only use if the individual/channel has been awarded with a gold TV by bilibili -->
| gold_year = <!-- year in which the channel reached 1,000,000 subscribers -->
| stats_update = <!-- date at which given channel statistics are correct -->
}}
† birth date and death date may be in either 'DD Month YYYY' or 'Month DD, YYYY'
完整的留空参数
{{Infobox | child = | bodyclass = biography vcard
| title =
| abovestyle = background-color: #F9749A; color: white | above = Infobox idol/core
| image2 = | caption2 =
| headerstyle = background-color:
- F9749A; color: white; line-height: 1.5em
| labelstyle = white-space: nowrap;
| header1 =
| label3 = 毕业学校与选科 | data3 = {Template:Academy
label4 = 一年级所在班级
label5 = 二年级所在班级
label6 = 三年级所在班级
{{Infobox idol
| header-color =
| honorific_prefix =
| name =
| honorific_suffix =
| logo =
| logo_size =
| logo_alt =
| logo_caption =
| image =
| image_size =
| alt =
| caption =
| birth_name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| origin =
| nationality =
| education =
| residence =
| occupation =
| height =
| religion =
| partner =
| spouse =
| relatives =
| signature =
| signature_size =
| signature_alt =
| website =
| pseudonym =
| channel_url / channels =
| channel_display_name =
| location =
| channel_website =
| creator =
| presenter =
| years_active =
| genre =
| subscribers =
| subscriber_date =
| views =
| view_date =
| network =
| associated_acts =
| catchphrase(s) =
| silver_TV =
| silver_year =
| gold_TV =
| gold_year =
| module =
| module_personal =
| stats_update =
| extra_information =
}}