模板:IfEntry/doc
跳转到导航
跳转到搜索
此模板用于在内容命名空间(content
字段为true
的命名空间,包括主、Legends tutorial
、Dungeons tutorial
、Tutorial
、Dungeons
、Earth
、Story Mode
和Legends
)及非内容命名空间间显示不同的内容。
可用参数
|1=
或|yes=
:此内容只在内容命名空间中显示。
|2=
或|no=
:此内容只在非内容命名空间中显示。
示例
{{IfEntry|Foo|Bar}}
- 主、
Legends tutorial
、Dungeons tutorial
、Tutorial
、Dungeons
、Earth
、Story Mode
或Legends
命名空间:“Foo”。 - 其他命名空间:“Bar”。
- 主、