JClockH xc(讨论 | 贡献) 小 (已保护“模板:Plainlink/doc”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))[连锁保护]) |
JClockH xc(讨论 | 贡献) 小无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
{{内容待补充}} | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE | ||
从某地wiki复制而来并再次汉化 | |||
--> | |||
== | == 活例 == | ||
*<code><nowiki>{{Plain link |url=//wiki.dollancraft.top}}</nowiki></code> | *<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> | *<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> | *<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> | ||
{ | { | ||
"description": " | "description": "将站外链接的样式伪装成站内链接的样式.", | ||
"format": "inline", | "format": "inline", | ||
"params": { | "params": { | ||
第17行: | 第19行: | ||
"aliases": ["URL","1"], | "aliases": ["URL","1"], | ||
"label": "URL", | "label": "URL", | ||
"description": " | "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": " | "description": "链接的别名", | ||
"suggested": true, | "suggested": true, | ||
"type": "string" | "type": "string" |
2023年10月9日 (一) 21:04的最新版本
⚠️
请注意!该版内容等待补充或正在补充中!
该版所有内容仅供参考,可能不具有时效性。
该版所有内容仅供参考,可能不具有时效性。
活例
{{Plain link |url=//wiki.dollancraft.top}}
→ [1]{{Plain link |//wiki.dollancraft.top Dollan Infinity TH Wiki}}
→ Dollan Infinity TH Wiki{{Plain link |http://wiki.dollancraft.top | Dollan Infinity TH Wiki}}
→ Dollan Infinity TH Wiki
模板数据
将站外链接的样式伪装成站内链接的样式.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
URL | url URL 1 | 本wiki中的链接,格式: "//example.com". 温馨提示: 本项可允许各位大聪明把站外链接冒充成站内链接的样式o~~. | URL | 必需 |
Text | name NAME 2 | 链接的别名 | 字符串 | 推荐 |