模板:IfEntry/doc

来自Minecraft Wiki
跳转到导航 跳转到搜索
[ 刷新 ]
这是文档页面,它应该被放置到Template:IfEntry。查看Template:Documentation以获取更多信息。

此模板用于在内容命名空间content字段为true的命名空间,包括主、Legends tutorial、​Dungeons tutorial、​Tutorial、​Dungeons、​Earth、​Story ModeLegends)及非内容命名空间间显示不同的内容。

可用参数

|1=|yes=:此内容在内容命名空间中显示。

|2=|no=:此内容内容命名空间中显示。

示例

  • {{IfEntry|Foo|Bar}}
    • 主、Legends tutorialDungeons tutorialTutorialDungeonsEarthStory ModeLegends命名空间:“Foo”。
    • 其他命名空间:“Bar”。