Template:Ifsubst

维基新闻,自由的新闻源
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法[编辑]

Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.
Note that this template must be used in safesubst mode to work properly:

{{ {{{|safesubst:}}}ifsubst| yes | no }}

Template:List of subst helper templates