Jump to content

Template:Anime News Network/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Eruhildo (talk | contribs)
m Usage: Forgot to list manhwa and manhua for some reason
m update table header
 
(45 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{Template shortcuts|ANN|ann}}
{{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. 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 ===
# Go to [http://www.animenewsnetwork.com/encyclopedia animenewsnetwork.com/encyclopedia] and search for the title/person/company you want.
# Go to [http://www.animenewsnetwork.com/encyclopedia animenewsnetwork.com/encyclopedia] and search for the title/person/company you want.
# Click on the correct link to go to the ANN's page on it. Be sure you're clicking on the correct page.
# Click on the correct link to go to the ANN's page on it. Be sure you are clicking on the correct page.
# The page [[URL]] should look like <nowiki>http://www.animenewsnetwork.com/encyclopedia/anime.php?id=####</nowiki>, where "####" indicates a number.
# The page [[URL]] should look like http:/<nowiki/>/www.animenewsnetwork.com/encyclopedia/anime.php?id=''id'', where ''id'' indicates a number.
# Add to the external links section of the associtated Wikipedia article the text: <code><nowiki>* {{ann|</nowiki>''type''<nowiki>|####}}</nowiki></code> where ''type'' is the type of ANN page it is (manga, anime, company, etc) and "####" is the number you've copied.
# Add to the external links section of the associated Wikipedia article the text: <code>* {<nowiki/>{Anime News Network|''type''|''id''}}</code> where ''type'' is the type of ANN page it is (manga, anime, company, etc.) and ''id'' is the number you have copied.


=== Usage ===
=== Usage ===
Use either:
<code><nowiki>* {{ann|</nowiki>''type''<nowiki>|####|</nowiki>''title''<nowiki>|noparen}}</nowiki></code><br/>

<code><nowiki>* {{ann|type=</nowiki>''type''<nowiki>|id=####|title=</nowiki>''title''<nowiki>|noparen=true}}</nowiki></code><br/>
: <code>* {<nowiki/>{Anime News Network|''type''|''id''|''title''|noparen}}</code>
It is suggested that you do NOT use both "field=''value''" and "''value''" methods of filling in the fields of the template as it can cause some of the fields to be overwritten.
: <code>* {<nowiki/>{Anime News Network|type=''type''|id=''id''|title=''title''|noparen=true}}</code>
:* ''type'' - can be manga, manhwa, manhua, anime, ova, movie, people, or company. Some alternates are supported such as "name" in place of "people".

:* ''id'' - the number following <code>?id=</code> part of the ANN url.
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:
:* ''title'' - the desired text shown as a link to the ANN page if different from the Wikipedia article's title. Defaults to the Wikipedia article's title if left blank.

:* ''noparen'' - prevents the parentheses showing the type from appearing. Any value will work, though using a values that make sense like "noparen" or "noparen=true" are suggested. Note that this doesn't affect the types people or company as neither types use the parentheses anyway.
:* ''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 <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.
:* ''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 ===
=== Examples ===
<!-- I couldn't find a manhua example... anyone else know of one? -->
Let's look at some Naruto related examples as Naruto uses almost everything we have.


{| class="wikitable"
{| class="wikitable"
| '''Code'''
! Code
| '''Result'''
! Result
|-
|-
| valign="top" | <code><nowiki>{{ann|manga|1598|Naruto}}</nowiki></code>
| <code><nowiki>{{Anime News Network|anime|1825|Naruto}}</nowiki></code>
| {{ann|manga|1598|Naruto}}
| {{Anime News Network|anime|1825|Naruto}}
|-
|-
| valign="top" | <code><nowiki>{{ann|anime|1825|Naruto}}</nowiki></code>
| <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}}
| {{ann|anime|1825|Naruto}}
|-
|-
| valign="top" | <code><nowiki>{{ann|ova|3499|Naruto Special: Akaki Yotsuba no Clover wo Sagase}}</nowiki></code>
| <code><nowiki>{{Anime News Network|ova|3499|Naruto Special: Akaki Yotsuba no Clover o Sagase}}</nowiki></code>
| {{ann|ova|3499|Naruto Special: Akaki Yotsuba no Clover wo Sagase}}
| {{Anime News Network|ova|3499|Naruto Special: Akaki Yotsuba no Clover o Sagase}}
|-
|-
| valign="top" | <code><nowiki>{{ann|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|company|4552|Viz Media}}
| {{ann|movie|3381|Naruto The Movie: Ninja Clash in the Land of Snow}}
|-
|-
| valign="top" | <code><nowiki>{{ann|people|8036|Masashi Kishimoto}}</nowiki></code>
| <code><nowiki>{{Anime News Network|people|8036|Masashi Kishimoto}}</nowiki></code>
| {{ann|name|8036|Masashi Kishimoto}}
| {{Anime News Network|people|8036|Masashi Kishimoto}}<br/>
|-
|-
| valign="top" | <code><nowiki>{{ann|company|4552|Viz Media}}</nowiki></code>
| <code><nowiki>{{Anime News Network|person|8036|Masashi Kishimoto}}</nowiki></code>
| {{Anime News Network|person|8036|Masashi Kishimoto}}
| {{ann|company|4552|Viz Media}}
|-
| <code><nowiki>{{Anime News Network|name|8036|Masashi Kishimoto}}</nowiki></code>
| {{Anime News Network|name|8036|Masashi Kishimoto}}
|-
| <code><nowiki>{{Anime News Network|magazine|6004|Chorus}}</nowiki></code>
| {{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>
| {{Anime News Network|manhwa|5481|iD_eNTITY}}
|}
|}


In the article ''[[Naruto the Movie: Ninja Clash in the Land of Snow]]'', one doesn't need to point out that the link is for a movie because there's no other link to ANN to confuse it with. Also the title is the same as the article, so we can exclude it and let the template include it by default. Let's 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
|-
|-
| valign="top" | <code><nowiki>{{ann|movie|3381||noparen}}</nowiki></code>
| style="vertical-align:top;" | <code><nowiki>{{Anime News Network|movie|3381||noparen}}</nowiki></code>
| {{ann|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}}
|}
|}


<includeonly>{{Sandbox other||
=== See also ===
[[Category:Anime and manga templates]]
* {{tl|ann manga}}
[[Category:External link templates]]
* {{tl|ann anime}}
* {{tl|ann name}}
* {{tl|ann company}}
* {{tl|ann manhwa}}

<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->


</includeonly>
}}</includeonly>

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