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

来自Dollan Infinity TH Wiki
(已保护“模板:Plainlink/doc”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))[连锁保护])
无编辑摘要
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
<span class="tattoo">请注意!此页面有待更新</span><br>
{{内容待补充}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE  
从某地wiki复制而来并再次汉化
-->




==Examples==
== 活例 ==
*<code><nowiki>{{Plain link |url=//wiki.dollancraft.top}}</nowiki></code> gives {{Plainlink |url=//wiki.dollancraft.top}}
*<code><nowiki>{{Plain link |url=//wiki.dollancraft.top}}</nowiki></code> {{Plainlink |url=//wiki.dollancraft.top}}
*<code><nowiki>{{Plain link |//wiki.dollancraft.top Dollan Infinity TH Wiki}}</nowiki></code> gives {{Plainlink |//wiki.dollancraft.top Dollan Infinity TH Wiki}}
*<code><nowiki>{{Plain link |//wiki.dollancraft.top Dollan Infinity TH Wiki}}</nowiki></code> {{Plainlink |//wiki.dollancraft.top Dollan Infinity TH Wiki}}
*<code><nowiki>{{Plain link |http://wiki.dollancraft.top | Dollan Infinity TH Wiki}}</nowiki></code> gives {{Plainlink|http://wiki.dollancraft.top|Dollan Infinity TH Wiki}}
*<code><nowiki>{{Plain link |http://wiki.dollancraft.top | Dollan Infinity TH Wiki}}</nowiki></code> {{Plainlink|http://wiki.dollancraft.top|Dollan Infinity TH Wiki}}


== TemplateData ==
== 模板数据 ==
<templatedata>
<templatedata>
{
{
"description": "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.",
"description": "将站外链接的样式伪装成站内链接的样式.",
"format": "inline",
"format": "inline",
"params": {
"params": {
第17行: 第19行:
"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行: 第26行:
"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:04的最新版本

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


活例

模板数据

将站外链接的样式伪装成站内链接的样式.

模板参数

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

参数描述类型状态
URLurlURL1

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

URL必需
TextnameNAME2

链接的别名

字符串推荐