跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
分类索引
最近更改
随机页面
灵兰秘典
帮助
帮助
联系我们
捐助本站
关于本站
MediaWiki帮助
中医百科
搜索
搜索
外观
登录
个人工具
登录
查看“︁Template:Ifsubst/doc”︁的源代码
模板
讨论
简体
不转换
简体
繁體
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
Cargo数据
外观
移至侧栏
隐藏
←
Template:Ifsubst/doc
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{Documentation subpage}} 检测当前页面是否使用了 <code>subst:</code> 替换引用(subst)。 == 用法 == <syntaxhighlight lang="wikitext"> {{Ifsubst | 替换引用时的输出 | 普通引用时的输出 }} </syntaxhighlight> == 参数 == ; <code>1</code> 或 <code>yes</code> : 页面为替换引用(subst)时输出的内容。 ; <code>2</code> 或 <code>no</code> : 页面为普通引用(transclusion)时输出的内容。 ; <code>nosubst</code> : 设为任意值可强制输出 <code>yes</code> 分支。 == 示例 == * <code><nowiki>{{Ifsubst|已替换|未替换}}</nowiki></code> → {{Ifsubst|已替换|未替换}} <includeonly>{{Sandbox other|| }} [[Category:If模板|{{PAGENAME}}]] </includeonly>
该页面使用的模板:
Template:Documentation subpage
(
查看源代码
)
Template:Ifsubst
(
查看源代码
)
Template:Mbox
(
查看源代码
)
Module:Arguments
(
查看源代码
)
Module:Message box
(
查看源代码
)
Module:Message box/configuration
(
查看源代码
)
Module:Message box/ombox.css
(
查看源代码
)
Module:Yesno
(
查看源代码
)
返回
Template:Ifsubst/doc
。