跳至內容

模板:Wikinews-inline/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.

參見

[編輯]