Jump to content

Template:接连百度百科: Difference between revisions

From TYZX Wiki
百科链接卡片:用户指定图标、萌娘百科模板、修复模板页无效默认目标;中文文言加需🪜提示,六语言对应模板
 
将可插入模板归入可视化编辑器默认浏览分类;分类仅在noinclude内,不传递给正文
 
Line 16: Line 16:
[[ja:Template:接连百度百科]]
[[ja:Template:接连百度百科]]
[[ko:Template:接连百度百科]]
[[ko:Template:接连百度百科]]
<templatedata>{"description": "Baidu Baike link card", "params": {"1": {"label": "Target / label", "type": "string"}, "2": {"label": "Label / target", "type": "string"}, "text": {"label": "Introduction", "type": "string"}, "name": {"label": "Target title", "type": "string"}, "id": {"label": "Disambiguation ID", "type": "string"}}, "format": "inline"}</templatedata></noinclude>
<templatedata>{"description": "Baidu Baike link card", "params": {"1": {"label": "Target / label", "type": "string"}, "2": {"label": "Label / target", "type": "string"}, "text": {"label": "Introduction", "type": "string"}, "name": {"label": "Target title", "type": "string"}, "id": {"label": "Disambiguation ID", "type": "string"}}, "format": "inline"}</templatedata>
[[Category:Templates]]
</noinclude>

Latest revision as of 09:10, 16 November 2026

Usage

{{接连百度百科|江苏省天一中学}}
{{接连百度百科|江苏省天一中学|Label}}

This documentation shows explicit examples rather than linking the template name. In articles, omitted parameters use the current page name. Verify the destination; this template cannot detect missing external articles.

Parameters

  • 1: Destination title; 2 sets the display label.
  • text: Optional introduction.
  • name: Overrides parameter 1. Optional id specifies the numeric disambiguation ID together with the title; a bare legacy numeric ID is not supported.

Example

Layout reference · Image source and rights

Baidu Baike link card

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Target / label1

no description

Stringoptional
Label / target2

no description

Stringoptional
Introductiontext

no description

Stringoptional
Target titlename

no description

Stringoptional
Disambiguation IDid

no description

Stringoptional