个人工具

模板:File

来自Ubuntu中文

Qiii2006讨论 | 贡献2010年9月23日 (四) 20:39的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


用来显示文件内容的文件框。

用法

{{File|name=文件名|content=文件内容}}

附注: Named parameters are required, or formatting fails whenever an 'equal' sign is encountered in the 'content'. Additionally, 'content' containing wiki markup should be surrounded in <nowiki> tags, like so:
{{File|name=file_name|content=<nowiki>Content of file_name with [[wiki markup]] and '''other''' {{weirdness}}</nowiki>}}

示例

文件: 文件名

<pre<noinclude></noinclude> style="padding: 0.25em; margin: 0 0 0.50em 0; background-color: #F7F7F7; border: thin dashed #7F7F7F; border-top: none">文件内容</pre<noinclude></noinclude>>