Jump to content

Template:Anime News Network/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Usage: update
m update table header
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{Template shortcuts|ANN|ann}}
{{Template shortcuts|ANN|ann}}
{{Wikidata property|P1982|P1983|P1984|P1985}}
{{Wikidata property|P1982|P1983|P1984|P1985}}


This is a template used to generate external links to [[Anime News Network]] (ANN)'s anime and manga encyclopedia. '''Do not use this template to create [[Wikipedia:Citing sources|citations]].''' In fact, the Anime News Network Encyclopedia '''is not a reliable source''' because anyone can add content to it with little to no fact checking.
This is a template used to generate external links to [[Anime News Network]] (ANN)'s anime and manga encyclopedia. It is intended for use in the [[Wikipedia:External links|external links]] section of an article. '''Do not use this template to create [[Wikipedia:Citing sources|citations]].''' In fact, the Anime News Network Encyclopedia '''is not a reliable source''' because anyone can add content to it with little to no fact checking.


=== Instructions ===
=== Instructions ===
Line 15: Line 16:
Use either:
Use either:


: <code>* {<nowiki/>{Anime News Network|''type''|''id''|''title''|noparen}}</code><br/>
: <code>* {<nowiki/>{Anime News Network|''type''|''id''|''title''|noparen}}</code>
: <code>* {<nowiki/>{Anime News Network|type=''type''|id=''id''|title=''title''|noparen=true}}</code><br/>
: <code>* {<nowiki/>{Anime News Network|type=''type''|id=''id''|title=''title''|noparen=true}}</code>


Do ''not'' mix "field=''value''" and "''value''" formats for the parameters as it can cause some of the fields to be overwritten. The parameters are:
Do ''not'' mix "field=''value''" and "''value''" formats for the parameters as it can cause some of the fields to be overwritten. The parameters are:


:* ''type'':
:* ''type'':
:** anime, tv – for URLs starting with www.animenewsnetwork.com/encyclopedia/anime, adds (anime)
:** anime, tv – adds (anime), URL starts with www.animenewsnetwork.com/encyclopedia/anime
:** film, movie – for URLs starting with www.animenewsnetwork.com/encyclopedia/anime, adds (film)
:** film, movie – adds (film), URL starts with www.animenewsnetwork.com/encyclopedia/anime
:** ova, oav, ona – for URLs starting with www.animenewsnetwork.com/encyclopedia/anime, adds (OVA)
:** ova, oav, ona – adds (OVA), URL starts with www.animenewsnetwork.com/encyclopedia/anime
:** mangafor URLs starting with www.animenewsnetwork.com/encyclopedia/manga, adds (manga)
:** companyURL starts with www.animenewsnetwork.com/encyclopedia/company
:** magazine for URLs starting with www.animenewsnetwork.com/encyclopedia/manga
:** people, person, name – URL starts with www.animenewsnetwork.com/encyclopedia/people
:** companyfor URLs starting with www.animenewsnetwork.com/encyclopedia/company
:** magazineURL starts with www.animenewsnetwork.com/encyclopedia/manga
:** people, person, name – for URLs starting with www.animenewsnetwork.com/encyclopedia/people
:** manga adds (manga), URL starts with www.animenewsnetwork.com/encyclopedia/manga
:** ''any other'' – adds ''type'' in parentheses, URL starts with www.animenewsnetwork.com/encyclopedia/manga
:* ''id'': the number following <code>?id=</code> part of the ANN URL.
:* ''id'': the number following <code>?id=</code> part of the ANN URL.
:* ''title'': the desired linktext if different from the Wikipedia article's title. The default is the Wikipedia article's title if left blank.
:* ''title'': the desired linktext if different from the Wikipedia article's title. The default is the Wikipedia article's title if left blank.
Line 36: Line 38:


{| class="wikitable"
{| class="wikitable"
| '''Code'''
! Code
| '''Result'''
! Result
|-
| <code><nowiki>{{Anime News Network|manga|1598|Naruto}}</nowiki></code>
| {{Anime News Network|manga|1598|Naruto}}
|-
|-
| <code><nowiki>{{Anime News Network|anime|1825|Naruto}}</nowiki></code>
| <code><nowiki>{{Anime News Network|anime|1825|Naruto}}</nowiki></code>
| {{Anime News Network|anime|1825|Naruto}}
| {{Anime News Network|anime|1825|Naruto}}
|-
| <code><nowiki>{{Anime News Network|movie|3381|Naruto the Movie: Ninja Clash in the Land of Snow}}</nowiki></code>
| {{Anime News Network|movie|3381|Naruto the Movie: Ninja Clash in the Land of Snow}}
|-
|-
| <code><nowiki>{{Anime News Network|ova|3499|Naruto Special: Akaki Yotsuba no Clover o Sagase}}</nowiki></code>
| <code><nowiki>{{Anime News Network|ova|3499|Naruto Special: Akaki Yotsuba no Clover o Sagase}}</nowiki></code>
| {{Anime News Network|ova|3499|Naruto Special: Akaki Yotsuba no Clover o Sagase}}
| {{Anime News Network|ova|3499|Naruto Special: Akaki Yotsuba no Clover o Sagase}}
|-
|-
| <code><nowiki>{{Anime News Network|movie|3381|Naruto The Movie: Ninja Clash in the Land of Snow}}</nowiki></code>
| <code><nowiki>{{Anime News Network|company|4552|Viz Media}}</nowiki></code>
| {{Anime News Network|movie|3381|Naruto The Movie: Ninja Clash in the Land of Snow}}
| {{Anime News Network|company|4552|Viz Media}}
|-
|-
| <code><nowiki>{{Anime News Network|people|8036|Masashi Kishimoto}}</nowiki></code>
| <code><nowiki>{{Anime News Network|people|8036|Masashi Kishimoto}}</nowiki></code>
Line 59: Line 61:
| <code><nowiki>{{Anime News Network|name|8036|Masashi Kishimoto}}</nowiki></code>
| <code><nowiki>{{Anime News Network|name|8036|Masashi Kishimoto}}</nowiki></code>
| {{Anime News Network|name|8036|Masashi Kishimoto}}
| {{Anime News Network|name|8036|Masashi Kishimoto}}
|-
| <code><nowiki>{{Anime News Network|company|4552|Viz Media}}</nowiki></code>
| {{Anime News Network|company|4552|Viz Media}}
|-
|-
| <code><nowiki>{{Anime News Network|magazine|6004|Chorus}}</nowiki></code>
| <code><nowiki>{{Anime News Network|magazine|6004|Chorus}}</nowiki></code>
| {{Anime News Network|magazine|6004|Chorus}}
| {{Anime News Network|magazine|6004|Chorus}}
|-
| <code><nowiki>{{Anime News Network|manga|1598|Naruto}}</nowiki></code>
| {{Anime News Network|manga|1598|Naruto}}
|-
|-
| <code><nowiki>{{Anime News Network|manhwa|5481|iD_eNTITY}}</nowiki></code>
| <code><nowiki>{{Anime News Network|manhwa|5481|iD_eNTITY}}</nowiki></code>
Line 72: Line 74:
When using the template in the article ''[[Naruto the Movie: Ninja Clash in the Land of Snow]]'', as the title is the same as the ANN entry, you can omit the title parameter. Also, since this would be the only ANN link used in the article, you can exclude the type. Thus you could use this instead:
When using the template in the article ''[[Naruto the Movie: Ninja Clash in the Land of Snow]]'', as the title is the same as the ANN entry, you can omit the title parameter. Also, since this would be the only ANN link used in the article, you can exclude the type. Thus you could use this instead:
{| class="wikitable"
{| class="wikitable"
| '''Code'''
! Code
| '''Result'''
! Result
|-
|-
| style="vertical-align:top;" | <code><nowiki>{{Anime News Network|movie|3381||noparen}}</nowiki></code>
| style="vertical-align:top;" | <code><nowiki>{{Anime News Network|movie|3381||noparen}}</nowiki></code>
| {{Anime News Network|movie|3381|Naruto The Movie: Ninja Clash in the Land of Snow|noparen}}
| {{Anime News Network|movie|3381|Naruto the Movie: Ninja Clash in the Land of Snow|noparen}}
|}
|}



Latest revision as of 18:43, 11 August 2024

This is a template used to generate external links to Anime News Network (ANN)'s anime and manga encyclopedia. It is intended for use in the external links section of an article. Do not use this template to create citations. In fact, the Anime News Network Encyclopedia is not a reliable source because anyone can add content to it with little to no fact checking.

Instructions

[edit]
  1. Go to animenewsnetwork.com/encyclopedia and search for the title/person/company you want.
  2. Click on the correct link to go to the ANN's page on it. Be sure you are clicking on the correct page.
  3. The page URL should look like http://www.animenewsnetwork.com/encyclopedia/anime.php?id=id, where id indicates a number.
  4. Add to the external links section of the associated Wikipedia article the text: * {{Anime News Network|type|id}} where type is the type of ANN page it is (manga, anime, company, etc.) and id is the number you have copied.

Usage

[edit]

Use either:

* {{Anime News Network|type|id|title|noparen}}
* {{Anime News Network|type=type|id=id|title=title|noparen=true}}

Do not mix "field=value" and "value" formats for the parameters as it can cause some of the fields to be overwritten. The parameters are:

  • type:
    • anime, tv – adds (anime), URL starts with www.animenewsnetwork.com/encyclopedia/anime
    • film, movie – adds (film), URL starts with www.animenewsnetwork.com/encyclopedia/anime
    • ova, oav, ona – adds (OVA), URL starts with www.animenewsnetwork.com/encyclopedia/anime
    • company – URL starts with www.animenewsnetwork.com/encyclopedia/company
    • people, person, name – URL starts with www.animenewsnetwork.com/encyclopedia/people
    • magazine – URL starts with www.animenewsnetwork.com/encyclopedia/manga
    • manga – adds (manga), URL starts with www.animenewsnetwork.com/encyclopedia/manga
    • any other – adds type in parentheses, URL starts with www.animenewsnetwork.com/encyclopedia/manga
  • id: the number following ?id= part of the ANN URL.
  • title: the desired linktext if different from the Wikipedia article's title. The default is the Wikipedia article's title if left blank.
  • noparen: prevents the parentheses showing the type from appearing. Any value will work, though using a value that makes sense like "noparen" or "noparen=true" is suggested. Note that this does not affect the types "people" and "company" as neither uses the parentheses.

Examples

[edit]
Code Result
{{Anime News Network|anime|1825|Naruto}} Naruto (anime) at Anime News Network's encyclopedia
{{Anime News Network|movie|3381|Naruto the Movie: Ninja Clash in the Land of Snow}} Naruto the Movie: Ninja Clash in the Land of Snow (film) at Anime News Network's encyclopedia
{{Anime News Network|ova|3499|Naruto Special: Akaki Yotsuba no Clover o Sagase}} Naruto Special: Akaki Yotsuba no Clover o Sagase (OVA) at Anime News Network's encyclopedia
{{Anime News Network|company|4552|Viz Media}} Viz Media at Anime News Network's encyclopedia
{{Anime News Network|people|8036|Masashi Kishimoto}} Masashi Kishimoto at Anime News Network's encyclopedia
{{Anime News Network|person|8036|Masashi Kishimoto}} Masashi Kishimoto at Anime News Network's encyclopedia
{{Anime News Network|name|8036|Masashi Kishimoto}} Masashi Kishimoto at Anime News Network's encyclopedia
{{Anime News Network|magazine|6004|Chorus}} Chorus at Anime News Network's encyclopedia
{{Anime News Network|manga|1598|Naruto}} Naruto (manga) at Anime News Network's encyclopedia
{{Anime News Network|manhwa|5481|iD_eNTITY}} iD_eNTITY (manhwa) at Anime News Network's encyclopedia

When using the template in the article Naruto the Movie: Ninja Clash in the Land of Snow, as the title is the same as the ANN entry, you can omit the title parameter. Also, since this would be the only ANN link used in the article, you can exclude the type. Thus you could use this instead:

Code Result
{{Anime News Network|movie|3381||noparen}} Naruto the Movie: Ninja Clash in the Land of Snow at Anime News Network's encyclopedia