模板:Wikinewshas
维基新闻{{{1}}}:
模板介绍
使用方法
Header and content
Provide the header for the template as the first parameter and its content as the second:
维基新闻has news on this topic:
*News item #1
- News item #2
{{Wikinewshas|has news on this topic| *News item #1 *News item #2 }}
Only header, "automatic" content
Provide only the header for the template as the first parameter; content will get transcluded from Template:Wikinewshas/Article title where "Article title" is the page this template was placed on:
维基新闻has news on this topic:
{{Wikinewshas|has news on this topic}}
Link to a Wikinews portal with code such as the following:
{{Wikinewshas|has related [[wikinews:Portal:Film|Film news]]}}
范例
注意事项
参见
- A list of article subpages using this template.
- User:Wikinews Importer Bot for instruction on how to set up the subpage to be automatically updated from Wikinews.
- {{Wikinews}}
- {{Wikinews2}}
- {{Wikinewscat}}
- {{Wikinewsportal}}
- {{Wikinewstable}}
- {{Wikinews-inline}}
给模板编辑者的说明
模板结构
实现方法
编辑注意
上述文档嵌入自Template:Wikinewshas/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |