Template:Ann/doc
外观
此頁面是Template:Ann的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
說明
[编辑]- 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're clicking on the correct page.
- The page URL should look like http://www.animenewsnetwork.com/encyclopedia/anime.php?id=####, where "####" indicates a number.
- Add to the external links section of the associtated Wikipedia article the text:
* {{ann|type|####}}
where type is the type of ANN page it is (manga, anime, company, etc) and "####" is the number you've copied.
使用方式
[编辑]Use either:
* {{ann|type|####|title|noparen}}
* {{ann|type=type|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, or company. Some alternates 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 values that make sense like "noparen" or "noparen=true" are suggested. Note that this doesn't affect the types "people" or "company" as neither use the parentheses anyway.
範例
[编辑]Let's look at some Naruto related examples as Naruto uses almost everything we have.
Code | Result |
{{ann|manga|1598|Naruto}}
|
Naruto(漫畫)在動畫新聞網百科全書中的資料(英文) |
{{ann|anime|1825|Naruto}}
|
Naruto(動畫)在動畫新聞網百科全書中的資料(英文) |
{{ann|ova|3499|Naruto Special: Akaki Yotsuba no Clover wo Sagase}}
|
Naruto Special: Akaki Yotsuba no Clover wo Sagase(OVA)在動畫新聞網百科全書中的資料(英文) |
{{ann|movie|3381|Naruto The Movie: Ninja Clash in the Land of Snow}}
|
Naruto The Movie: Ninja Clash in the Land of Snow(movie)在動畫新聞網百科全書中的資料(英文) |
{{ann|people|8036|Masashi Kishimoto}}
|
Masashi Kishimoto在動畫新聞網百科全書中的資料(英文) |
{{ann|company|4552|Viz Media}}
|
Viz Media在動畫新聞網百科全書中的資料(英文) |
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在動畫新聞網百科全書中的資料(英文) |
參見
[编辑]- {{ann manga}}
- {{ann anime}}
- {{ann name}}
- {{ann company}}
- {{ann manhwa}}