Jump to content

Template:Anime News Network/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fix 'id' usage.
m update table header
 
(18 intermediate revisions by 9 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 -->
This is a template used to generate external links to [[Anime News Network]]'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 it is considered an "open wiki" which can be edited by anyone with little to no fact checking.
{{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 are 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 associated 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 have 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:
Use either:


:<code><nowiki>* {{ann|</nowiki>''type''<nowiki>|''id''|</nowiki>''title''<nowiki>|noparen}}</nowiki></code><br/>
: <code>* {<nowiki/>{Anime News Network|''type''|''id''|''title''|noparen}}</code>
:<code><nowiki>* {{ann|type=</nowiki>''type''<nowiki>|id=''id''|title=</nowiki>''title''<nowiki>|noparen=true}}</nowiki></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'': can be manga, manhwa, manhua, anime, ova, movie, people, company, or magazine. Some alternatives are supported such as "name" in place of "people".
:** 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.
:* ''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 26: Line 38:


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


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
|-
|-
| 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>
<includeonly>{{Sandbox other||
[[Category:Anime and manga templates]]
[[Category:Anime and manga templates]]
[[Category:External link templates]]
[[Category:External link templates]]


</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