模板:Main:修订间差异

来自SS唯基
跳到导航 跳到搜索
(修改)
(修改)
第4行: 第4行:
--><th style="background:#66B3FF;color:white;border:hidden;">主条目:</th><!--
--><th style="background:#66B3FF;color:white;border:hidden;">主条目:</th><!--
--><td style="background:#e3f1ff;border:hidden;">[[:{{{1}}}|{{{2|{{{1}}}}}}]]</td><!--
--><td style="background:#e3f1ff;border:hidden;">[[:{{{1}}}|{{{2|{{{1}}}}}}]]</td><!--
--><tr></table><noinclude>{{documentation}}</noinclude>
--><tr></table></includeonly><!--
--><noinclude>{{documentation}}</noinclude>

2022年10月19日 (三) 01:39的版本

Documentation icon 模板文档[-查看-] [编辑] [历史] [刷新]

本模板用来创建一个指定条目的链接。

结构

{{Main|参数1|参数2}}

  1. 参数1是条目名
  2. 参数2是替换文字,缺省的话,会显示参数1的内容

例子

{{Main|SS传奇殿堂|传奇殿堂}}


主条目:传奇殿堂

{{Template:Main|1=SS见闻录}}


主条目:SS见闻录

{{Template:Main|1=周年庆|2=<del>{{color|red|天坑}}</del>}}


主条目:天坑

参见

enwiki:Template:Main