跳转到内容

Template:Wikinews/doc

维基百科,自由的百科全书

用法

[编辑]

使用这个模版,可以在维基百科条目中引用其姊妹计划——维基新闻的報導。

如果使用

{{Wikinews}}

则默认引用当前条目的同名维基新闻的報導。如果你需要引用其他特定的報導,也可以使用

{{Wikinews|你需要的報導}}

来引用你需要的条目。还可以使用

{{Wikinews|你需要的報導|显示名称}}

来引用你需要的条目,并以指定的名称显示。


此外如果需要連結到其他語言的維基新聞,還可使用:

{{Wikinews|你需要的報導|显示名称|語言代碼}}

或

{{Wikinews|語言代碼:你需要的報導|显示名称}}

位置

[编辑]
如果框型模板导致布局异常(如截图中右侧出现过多空白区域),请改用行内模板,例如使用{{Commons category-inline}}代替{{Commons category}}。

一般情况下:

☒N请勿单独开设一个章节来放置此模板或其他框型模板。
☒N请勿将此模板放在包含分栏且未左浮动的章节中。
☒N请勿使用冒号(:)或项目符号(*)对此模板进行缩进。

具体而言:

  • 条目页面:将模板放在最后一个章节的顶部(通常是“外部链接”或“参考资料”章节),以便其在该章节右侧浮动。
  • 消歧义页面:此模板通常放置在页面顶部。
  • 分类页面:此模板应与其他模板一起放在分类介绍的开头。这样文本可以围绕模板框浮动,避免不必要的空白区域。

参见

[编辑]
Template What it makes Where it goes
{{Wikinews}}

Edit
Talk
Links

  • {{wikinews|insert article name here}}
  • Placed next to the discussion of the event.
  • Uses parameter (i.e. insert article name here) for a manual link.
  • For multiple news articles, use {{Wikinewshas}} to save repetition.
  • To make it appear on the left, use the parameter position=left.
{{Wikinews category}}

Edit
Talk
Links

  • {{Wikinews category|Insert category name here}}
  • Placed next to the discussion of the event.
{{Wikinewsportal}}

Edit
Talk
Links

  • {{Wikinewsportal|Insert portal name here}}
  • Placed on relevant article about place or topic near external links.
{{Wikinewspar2}}

Edit
Talk
Links

  • {{Wikinewspar2|Insert page name 1 here|Insert page name 2 here|Insert page name 3 here|Insert page name 4 here|Insert page name 5 here}}
  • Placed next to the discussion of the event.
{{Wikinewshas}}

Edit
Talk
Links

  • {{wikinewshas|insert description here|
    * Insert interwiki link to article 1 here
    * Insert interwiki link to article 2 here
    * Insert interwiki link to article 3 here
    * Insert interwiki link to article 4 here
    }}
  • Placed next to the discussion of the event.
  • Allows multiple articles to be condensed into a list.
{{Wikinews-inline}}

Edit
Talk
Links

维基新闻标志 維基新聞相關報導:insert article name here

  • {{wikinews-inline|insert article name here}}
  • Produces a bulleted list item on a line by itself.
  • Uses parameter (i.e. insert article name here) for a manual link.

參見

[编辑]