个人工具
登录
查看“模板:File”的源代码 - Ubuntu中文
模板
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“模板:File”的源代码
来自Ubuntu中文
←
模板:File
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<noinclude> '''A 'File' box used to display file contents.''' ====Usage==== {{Codeline|1=<nowiki>{{File|name=file_name|content=Content of file_name}}</nowiki>}} {{Note|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: <br/> {{Codeline|1=<nowiki>{{File|name=file_name|content=<nowiki>Content of file_name with [[wiki markup]] and '''other''' {{weirdness}}</nowiki>}}</nowiki>}}}} ====Example==== {{File|name=file_name|content=Content of file_name}}</noinclude><includeonly><div style="padding: 0.25em; margin: 0.50em 0 0 0; background-color: #E7FFE7; border: thin dashed #7F7F7F; border-bottom: thin solid #7F7F7F"><strong>File: <tt>{{{name}}}</tt></strong></div> <pre<noinclude></noinclude> style="padding: 0.25em; margin: 0 0 0.50em 0; background-color: #F7F7F7; border: thin dashed #7F7F7F; border-top: none">{{{content}}}</pre<noinclude></noinclude>></includeonly>
该页面使用的模板:
模板:Box
(
查看源代码
)
模板:Box BLUE
(
查看源代码
)
模板:Codeline
(
查看源代码
)
模板:File
(
查看源代码
)
模板:Note
(
查看源代码
)
返回至
模板:File
。