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": "Wikipedia link card", "params": {"1": {"label": "Target / label", "type": "string"}, "2": {"label": "Label / target", "type": "string"}, "lang": {"label": "Wikipedia language", "type": "string", "default": "en"}, "3": {"label": "Introduction", "type": "string"}}, "format": "inline"}</templatedata></noinclude>
<templatedata>{"description": "Wikipedia link card", "params": {"1": {"label": "Target / label", "type": "string"}, "2": {"label": "Label / target", "type": "string"}, "lang": {"label": "Wikipedia language", "type": "string", "default": "en"}, "3": {"label": "Introduction", "type": "string"}}, "format": "inline"}</templatedata>
[[Category:Templates]]
</noinclude>

Latest revision as of 09:10, 16 November 2026

Usage

{{接连维基百科|Tianyi High School}}
{{接连维基百科|Label|Tianyi High School}}

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: Display label / default title; 2 overrides the destination title.
  • lang: zh / en / fr / ja / ko / lzh / zh-classical.
  • 3: Optional introduction.

Example

Layout reference · Image source and rights

Wikipedia 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
Wikipedia languagelang

no description

Default
en
Stringoptional
Introduction3

no description

Stringoptional