“Template:Main Characters Infolist/brick2”与“Template:Main other/doc”:页面之间的差异

(页面间差异)
跳到导航 跳到搜索
添加504字节 、​ 2020年4月5日 (星期日)
文本替换 - 替换“[[Category:”为“[[分类:”
imported>850710247liu
(创建页面,内容为“<noinclude>{| class="wikitable-green" </noinclude> |- style="background:{{{th-color|}}}; " !colspan="2" |{{{Name}}} |- valign="top" style="background:{{{td-color|}}}…”)
 
imported>=海豚=
(文本替换 - 替换“[[Category:”为“[[分类:”)
 
第1行: 第1行:
<noinclude>{| class="wikitable-green" </noinclude>
<!-- 在本行下編輯模板說明 -->
|- style="background:{{{th-color|}}}; "
{{ 引自其他wiki|中文維基|Template:Main_other}}
!colspan="2" |{{{Name}}}
此模板能使導航模版中的一些信息在非條目頁面出現。
|- valign="top" style="background:{{{td-color|}}};"
 
|width="200px" | {{{image|[[File:Transparent_Akkarin.jpg|200px]]}}}
=== 用法 ===
|rowspan="2" |{{{info|}}}
本模板通常使用2個參數。
|- style="background:{{{cv-color|}}};"
 
|CV:{{{CV|未知}}}
<pre>
<noinclude>|}</noinclude>
{{main other | 條目名字空間用文字 | 其他名字空間用文字 }}
</pre>
 
模板用於條目時,顯示''條目名字空間用文字''。
 
其他頁面則顯示''其他名字空間用文字''。
 
 
典型用法像是只想對條目加入分類,在其他名字空間不加入時:
 
<pre>
{{main other | [[ 分类: 某條目維護分類]] }}
</pre>
 
或是警告模板不該用於其他名字空間頁面:
 
<pre>
{{main other | | 這個模板只應該用於條目。 }}
</pre>
<!-- 本行下加入模板的分類 -->
<includeonly>[[分类:元模板]]</includeonly>
<noinclude>[[分类:模板說明文件]]</noinclude>
匿名用户

导航菜单