Template:Exist: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (Created page with "{{#ifexist:{{{1}}}{{{suf|}}}|{{{1}}}{{{suf|}}}|{{{1}}}}}") |
1416006136 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{#ifexist:{{{1}}}{{{suf|}}}|{{{1}}}{{{suf|}}}|{{{1}}}}} | <includeonly><onlyinclude>{{#ifexist:{{{1}}}{{{suf|}}}|[[{{{1}}}{{{suf|}}}]]|[[{{{1}}}]]}}</onlyinclude></includeonly> | ||
{{doc|content=This template is used to link multi-language pages. If the page doesn't exist, the template will return the link of English page. So it is used to prevent the link is none. Used in template pages. | |||
== Usage == | |||
{{MdCode|<nowiki>{{exist|<page name>|suf=:<lang code>}}</nowiki>}} | |||
|content/zh-cn=本模板用于链接多语言页面。如果页面不存在,模板将返回英文页面的链接。所以它用于防止链接是空的。它用于模板页面。 | |||
== 用法 == | |||
{{MdCode|<nowiki>{{exist|<页面名称>|suf=:<语言代码>}}</nowiki>}} | |||
}} |