“Template:Infobox idol/core”的版本间的差异

这里有,偶像们的一切!
跳到导航 跳到搜索
(撤销鹤訓讨论)的版本977)
标签撤销
 
(未显示同一用户的29个中间版本)
第1行: 第1行:
 +
{{align|right|{{#ifeq:{{{nocat|false}}}|false|}}
 
{{Infobox
 
{{Infobox
 
| child    = {{Yesno|{{{embed|no}}}}}
 
| child    = {{Yesno|{{{embed|no}}}}}
 
| 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: {{偶像代表色|{{PAGENAMEBASE}}}}; 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>}}
+
|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>}}
+
|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>}}
+
|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}}
 
| 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|}}}}}}}}}
 
| caption2   = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
  
| headerstyle = background-color: {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{{header-color|transparent}}}|{{偶像代表色|{{PAGENAME}}}}; color: white}}; line-height: 1.5em
+
| headerstyle = background-color: {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{{header-color|transparent}}}|#F9749A; color: white}}; line-height: 1.5em
  
 
| labelstyle  = white-space: nowrap;
 
| 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|}}}|个人资料}}}}
 
| header1   = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{height|}}}{{{nationality|}}}{{{residence|}}}{{{occupation|}}}|个人资料}}}}
  
| label3    毕业学校与选科
+
| label2    姓名
| data3    = {{br separated entries|1={{{academy|{{ 偶像就读学院信息}}}}}|2={{{subject|偶像科}}}<!---->}}<!---->
+
| data2     = {{{name|{{{subject_name|{{{名字|{{{ 姓名|{{PAGENAMEBASE}}}}}}}}}}}}}}
  
 +
| label6    = 生日
 +
| data6     = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|}}}}
  
| label4    = 一年级所在班级
 
| data4    = {{{senior1|}}}
 
  
  
| label5    二年级所在班级
+
| label24   组合
| data5    = {{{senior2|}}}
+
| data24   = {{#ifeq:{{偶像对应组合信息}}|null[[分类:带有泷维吹的红月]]|[[分类:带有泷维吹的红月]]|{{偶像对应组合信息}}}}
  
| label6    三年级所在班级
+
| label10   身高
| data6    = {{{senior3|}}}
+
| 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|}}}}}}}
  
| label7    = 教育程度
 
| data7    = {{{education|}}}
 
  
| label8    = 居住地
 
| data8    = {{{residence|}}}
 
| class8    = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
 
  
| label9    =  職業
+
| label34    =  毕业学校与选科
| data9     = {{{occupation|}}}
+
| data34     = {{br separated entries|1={{{academy|{{偶像就读学院信息}}}}}|2={{{subject|偶像科}}}<!---->}}<!---->
| 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|}}}}} }}
 
  
}}{{#ifeq:{{{nocat|false}}}|false|}}<noinclude>{{documentation}}</noinclude>
+
| label35    = 一年级所在班级
 +
| data35    = {{{senior1|}}}
 +
 
 +
 
 +
| label36    = 二年级所在班级
 +
| data36    = {{{senior2|}}}
 +
 
 +
| label37    = 三年级所在班级
 +
| data37    = {{{senior3|}}}
 +
 
 +
 
 +
| 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月15日 (五) 20:04的最新版本



Template-info.png 模板文档  [查看] [编辑] [历史] [刷新]

此模板适用于显示有关于小偶像们的信息,不分组合、事务所或出身学院。

用法

可以粘贴使用如下样版,填写所需的字段,留空或省略的字段将不会显示。

有基本参数的空模板




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

模板数据

Template:小偶像信息模板