模板:Plainlink/doc:修订间差异

来自Dollan Infinity TH Wiki
无编辑摘要
无编辑摘要
第17行: 第17行:
"aliases": ["URL","1"],
"aliases": ["URL","1"],
"label": "URL",
"label": "URL",
"description": "URL of the link. For Wikimedia links, use the format \"//example.com\". This allows users to use the protocol they're currently using.",
"description": "本wiki中的链接,格式: \"//example.com\". 温馨提示: 本项可允许各位大聪明把站外链接冒充成站内链接的样式o~~.",
"required": true,
"required": true,
"type": "url"
"type": "url"
第24行: 第24行:
"aliases": ["NAME","2"],
"aliases": ["NAME","2"],
"label": "Text",
"label": "Text",
"description": "Text to be linked",
"description": "链接的别名",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"

2023年10月9日 (一) 21:02的版本

⚠️
请注意!该版内容等待补充或正在补充中!
该版所有内容仅供参考,可能不具有时效性。


活例

  • {{Plain link |url=//wiki.dollancraft.top}} gives [1]
  • {{Plain link |//wiki.dollancraft.top Dollan Infinity TH Wiki}} gives Dollan Infinity TH Wiki
  • {{Plain link |http://wiki.dollancraft.top | Dollan Infinity TH Wiki}} gives Dollan Infinity TH Wiki

模板数据

Use this template to add a local or interwiki link that would otherwise show a box and arrow icon next to the link without the icon.

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
URLurlURL1

本wiki中的链接,格式: "//example.com". 温馨提示: 本项可允许各位大聪明把站外链接冒充成站内链接的样式o~~.

URL必需
TextnameNAME2

链接的别名

字符串推荐