此模板在其他模板中仅用于当命名空间为Minecraft Dungeons:
时显示特定内容。
可用参数
{{{1}}}
或{{{yes}}}
:此内容只显示在Minecraft Dungeons页面上。
{{{2}}}
或{{{no}}}
:此内容只显示在非Minecraft Dungeons页面上。
示例
{{IfDungeons|Foo|Bar}}
在这个例子中,如果名称空间是“Minecraft Dungeons”,模板将显示“Foo”,否则显示“Bar”。
此模板在其他模板中仅用于当命名空间为Minecraft Dungeons:
时显示特定内容。
{{{1}}}
或{{{yes}}}
:此内容只显示在Minecraft Dungeons页面上。
{{{2}}}
或{{{no}}}
:此内容只显示在非Minecraft Dungeons页面上。
{{IfDungeons|Foo|Bar}}
在这个例子中,如果名称空间是“Minecraft Dungeons”,模板将显示“Foo”,否则显示“Bar”。