“Template:Infobox idol/core”的版本间的差异
跳到导航
跳到搜索
(建立内容为“{{infobox person/core | child = {{{child|}}} | abovestyle = {{{abovestyle|}}} | honorific_prefix = {{{honorific prefix|{{{honorific_prefix|{{{前缀尊称|{{{前…”的新页面) |
|||
| 第1行: | 第1行: | ||
| − | {{ | + | {{Infobox |
| − | | child = {{ | + | | child = {{Yesno|{{{embed|no}}}}} |
| − | | | + | | bodyclass = biography vcard |
| − | | | + | |
| − | | | + | | title = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|'''bilibili资料'''}} |
| − | | | + | |
| − | | | + | | abovestyle = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||background-color: #F9749A; color: white}} |
| − | | | + | | 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>}} |
| − | | | + | }} |
| − | | | + | }} |
| − | | | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=250px|alt={{{logo_alt|}}}}} |
| − | | | + | | caption = {{{logo_caption|{{{logo caption|}}}}}} |
| − | | | + | |
| − | | | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} |
| − | | | + | | caption2 = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} |
| − | + | ||
| − | | | + | | headerstyle = background-color: {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{{header-color|transparent}}}|#F9749A; color: white}}; line-height: 1.5em |
| − | | | + | |
| − | | | + | | labelstyle = white-space: nowrap; |
| − | | | + | |
| − | + | | header1 = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{height|}}}{{{nationality|}}}{{{residence|}}}{{{occupation|}}}|个人资料}}}} | |
| − | + | ||
| − | + | | label3 = 出生 | |
| − | | | + | | data3 = {{br separated entries|1={{#if:{{{birth_name|}}}|<span style="white-space:normal;">{{{birth_name|}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}} |
| − | | | + | |
| − | | | + | | label4 = 逝世 |
| − | | | + | | data4 = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}} |
| − | | | + | |
| − | | | + | | label5 = 出道地點 |
| − | | | + | | data5 = {{{Origin|{{{origin|}}}}}} |
| − | + | ||
| − | + | | label6 = 國籍 | |
| − | + | | data6 = {{{nationality|}}} | |
| − | + | | class6 = category | |
| − | + | ||
| − | | | + | | label7 = 教育程度 |
| − | + | | data7 = {{{education|}}} | |
| − | + | ||
| − | + | | label8 = 居住地 | |
| − | + | | data8 = {{{residence|}}} | |
| − | + | | class8 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}} | |
| − | + | ||
| − | + | | label9 = 職業 | |
| − | + | | data9 = {{{occupation|}}} | |
| − | + | | class9 = role | |
| − | + | ||
| − | + | | label10 = 身高 | |
| − | + | | 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|}}}}} }} | |
| − | + | ||
| − | + | | label11 = 宗教信仰 | |
| − | + | | data11 = {{{religion|}}} | |
| − | + | | class11 = category | |
| − | + | ||
| − | + | | label12 = 伴侶 | |
| − | + | | data12 = {{{partner|}}} | |
| − | + | ||
| − | + | | label13 = 配偶 | |
| − | + | | data13 = {{{spouse|}}} | |
| − | + | ||
| − | + | | label14 = 簽名 | |
| − | + | | data14 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }} | |
| − | + | ||
| − | + | | label15 = 網站 | |
| − | + | | data15 = {{{website|{{{homepage|{{{URL|}}}}}}}}} | |
| − | + | ||
| − | + | | header20 = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{#if:{{{pseudonym|}}}{{{channel_name|}}}{{{channel_url|}}}{{{channel_direct_url|}}}{{{years active|{{{years_active|{{{yearsactive|}}}}}}}}}{{{genre|}}}{{{subscribers|}}}{{{views|}}}{{{network|}}}{{{associated_acts|}}}{{{catchphrase(s)|}}}|bilibili资料}}}} | |
| − | + | ||
| − | + | | label21 = 别称 | |
| − | + | | data21 = {{{pseudonym|}}} | |
| − | + | ||
| − | + | | label22 = 頻道 | |
| − | + | | data22 = {{#if:{{{channel_url|}}}|[https://space.bilibili.com/{{{channel_url|}}} {{#if:{{{channel_display_name|}}}|{{{channel_display_name|}}}|{{{channel_url|}}}}}]}} | |
| − | + | ||
| − | + | | label23 = 頻道 | |
| − | + | | data23 = {{{channels|}}} | |
| − | + | ||
| − | + | | label24 = 頻道 | |
| − | + | | data24 = {{{channels|}}} | |
| − | + | ||
| − | + | | label25 = 頻道 | |
| − | + | | data25 = {{{channels|}}} | |
| − | + | ||
| − | + | | label26 = 創辦人 | |
| − | + | | data26 = {{{creator|}}} | |
| − | + | ||
| − | + | | label27 = 活躍年代 | |
| − | + | | data27 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}} | |
| − | + | ||
| − | + | | label28 = 類型 | |
| − | + | | data28 = {{{genre|}}} | |
| − | + | ||
| − | + | | label29 = 粉丝数 | |
| − | + | | data29 = {{br separated entries|1={{{subscribers|}}}|2={{#if:{{{subscriber_date|}}}|({{{subscriber_date|}}} )|}}}} | |
| − | + | ||
| − | + | | label30 = 總-{zh-cn:播放量;zh-hk:點擊率;zh-tw:點閱數;}- | |
| − | + | | data30 = {{br separated entries|1={{{views|}}}|2={{#if:{{{view_date|}}}| ({{{view_date|}}} )|}}}} | |
| − | + | ||
| − | + | | label31 = [[多频道网络|網-{zh-cn:络;zh-hk:絡;zh-tw:路;}-]] | |
| − | + | | data31 = {{{network|}}} | |
| − | + | ||
| − | + | | label32 = 相關團體 | |
| − | + | | data32 = {{{associated_acts|}}} | |
| − | + | ||
| − | + | | label33 = 口頭禪 | |
| − | + | | data33 = {{{catchphrase(s)|}}} | |
| − | </noinclude> | + | |
| + | | data42 = {{#if:{{{silver_TV|}}}{{{gold_TV|}}}| | ||
| + | <div class="NavFrame {{#if:{{{expand|}}}||collapsed}}" style="border: none; padding: 0;"> | ||
| + | <div class="NavHead" style="font-size:105%; width: 100%; text-align: center; background-color: {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{{header-color|transparent}}}|#F9749A; color: white}};">小电视成就</div> | ||
| + | <div class="NavContent" style="font-size:105%; font-weight: normal; width: 100%;"> | ||
| + | {{(!}} style="text-align: center; width: 100%; background-color: #f9f9f9;" | ||
| + | {{#ifeq:{{Yesno|{{{silver_TV|no}}}}}|yes| | ||
| + | {{!}}- | ||
| + | {{!}}style="vertical-align: middle;color:silver;"{{!}} '''10万粉丝'''|}} | ||
| + | {{!}}style="vertical-align: middle;"{{!}} {{{silver_year|}}} | ||
| + | {{#ifeq:{{Yesno|{{{gold_TV|no}}}}}|yes| | ||
| + | {{!}}- | ||
| + | {{!}}style="vertical-align: middle;color:gold;"{{!}} '''100万粉丝'''}} | ||
| + | {{!}}style="vertical-align: middle;"{{!}} {{{gold_year|}}} | ||
| + | {{!)}} | ||
| + | </div> | ||
| + | }} | ||
| + | |||
| + | | data52 = {{#if:{{{module|}}}|<nowiki /> | ||
| + | {{(!}} style="text-align:left; width:100%; margin:0; border-spacing:0" | ||
| + | {{!}}- | ||
| + | {{{module|}}} | ||
| + | {{!)}} | ||
| + | }} | ||
| + | |||
| + | | belowstyle = color: darkslategray; | ||
| + | | below = {{#if:{{{stats_update|}}}|更新于{{{stats_update}}}|}} {{#if:{{{extra_information|}}}|{{{extra_information}}}}} | ||
| + | }}{{#ifeq:{{{nocat|false}}}|false|}}<noinclude>{{documentation}}</noinclude> | ||
2025年8月8日 (五) 21:46的版本
此模板适用于显示有关于小偶像们的信息,不分组合、事务所或出身学院。
用法
可以粘贴使用如下样版,填写所需的字段,留空或省略的字段将不会显示。
有基本参数的空模板
{{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 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 =
}}