Template:Wikinews inline/doc
This is a documentation subpage for Template:Wikinews inline. It may contain usage information, categories and other content that is not part of the original template page. |
There is a consensus that in mainspace, interwiki links to Wikinews should only be made as per the external links guideline. This generally rules out the use of this template in the middle of articles. The relevant discussion can be found at Wikipedia:Village pump (proposals)/Archive 152#Restrict Wikinews links in articles. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]As supported by Wikipedia:Wikimedia sister projects, this template may be used to add a Wikinews link to a Wikipedia article. Note that this template generates an InterWikimedia link and is not intended to represent sources for Wikipedia articles.
Links to pages on the Wikinews site:
- Box format
- {{Wikinews|SomeArticleTitle}}: Creates box with link to article SomeArticleTitle.
- {{Wikinews category|SomeCategoryTitle}}: Creates box with link to category SomeCategoryTitle.
- Line format
- {{Wikinews-inline|SomeArticleTitle}}: Creates a line with link to article SomeArticleTitle.
- To link in-line with other text, create an interwiki link in the format: | SomeArticleTitle.
Template | What it makes | Where it goes |
---|---|---|
{{Wikinews}} |
Wikinews has related news:
|
|
Wikinews has related news:
|
| |
Wikinews has insert description here:
|
| |
{{Wikinews category}} |
Wikinews has news related to:
|
|
{{Wikinews-inline}} |
|
Location
[edit]Do not place this template in the main body of the article.
Do not place this template in a section containing columns.
This template is normally placed at the top of the WP:External links section. Please do not create an otherwise-empty ==External links== section for this template. Instead, consider using {{Wikinews-inline}}
, or placing this template at the top of the last section on the page (usually a citation-related section). See Wikipedia:Wikimedia sister projects for further recommendations about the best choice of template for various situations.
On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.
See also
[edit]- Wikipedia:Manual of Style/Layout § External links
- {{Commons}}—shows Commons box
- {{Commons-inline}}—shows Commons gallery inline
- {{Commons category}}—shows Commons category box
- {{Commons category-inline}}—shows Commons category inline
- {{Commons category multi}}—to list up to six categories
- {{Commons and category}}—shows Commons box with both gallery and category
- {{Commons and category inline}}—shows Commons gallery and category inline
- {{Copy to Wikimedia Commons}}
- {{Wikimedia Commons redirect}}—specialized soft redirect template for Commons
- {{Wiki category}}—to link to a gallery hosted on Wikipedia
- mw:Manual:Pywikibot/commonscat.py
- {{Sister project links}}—to link all Wikinews, Wikisource, etc.
- {{Wikibooks}} / {{Wikibooks inline}}
- {{Wikidata property}}
- {{Wikinews}} / {{Wikinews inline}}
- {{Wikiquote}} / {{Wikiquote-inline}}
- {{Wikisource}} / {{Wikisource-inline}}
- {{Wikispecies}} / {{Wikispecies-inline}}
- {{Wikiversity}} / {{Wikiversity inline}}
- {{Wikivoyage}} / {{Wikivoyage inline}}
- {{Wiktionary}} / {{Wiktionary-inline}}