Template:Anime News Network/doc: Difference between revisions
Allen4names (talk | contribs) Fix 'id' usage. |
Allen4names (talk | contribs) Cleanup. |
||
Line 6: | Line 6: | ||
# 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> |
# 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 |
# Add to the external links section of the associated Wikipedia article the text: <code>* {<nowiki/>{ann|''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> |
: <code>* {<nowiki/>{ann|''type''|''id''|''title''|noparen}}</code><br/> |
||
:<code><nowiki> |
: <code>* {<nowiki/>{ann|type=''type''|id=''id''|title=''title''|noparen=true}}</code><br/> |
||
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: |
Revision as of 06:13, 16 August 2014
This is a documentation subpage for Template:Anime News Network. It may contain usage information, categories and other content that is not part of the original template 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 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.
Instructions
- Go to 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.
- The page URL should look like http://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:
* {{ann|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
Use either:
* {{ann|type|id|title|noparen}}
* {{ann|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: can be manga, manhwa, manhua, anime, ova, movie, people, company, or magazine. Some alternatives are supported such as "name" in place of "people".
- 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
Code | Result |
{{ann|manga|1598|Naruto}}
|
Naruto (manga) at Anime News Network's encyclopedia |
{{ann|anime|1825|Naruto}}
|
Naruto (anime) at Anime News Network's encyclopedia |
{{ann|ova|3499|Naruto Special: Akaki Yotsuba no Clover wo Sagase}}
|
Naruto Special: Akaki Yotsuba no Clover wo Sagase (OVA) at Anime News Network's encyclopedia |
{{ann|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 |
{{ann|people|8036|Masashi Kishimoto}}
|
Masashi Kishimoto at Anime News Network's encyclopedia |
{{ann|company|4552|Viz Media}}
|
Viz Media at Anime News Network's encyclopedia |
{{ann|magazine|6004|Chorus}}
|
Chorus at Anime News Network's encyclopedia |
{{ann|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 |
{{ann|movie|3381||noparen}}
|
Naruto The Movie: Ninja Clash in the Land of Snow at Anime News Network's encyclopedia |