此模板在其他模板中僅用於當命名空間為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」。