แม่แบบ:Ann
Ann (มังงะ) ที่เครือข่ายข่าวอนิเมะ
แม่แบบนี้ไว้สำหรับเชื่อมโยงลิ้งค์จากบทความภายนอกในเว็บไซต์ Anime News Network สารานุกรมอนิเมะ และ มังงะ
วิธีการใช้เริ่มต้น[แก้]
- ไปที่ animenewsnetwork.com/encyclopedia และค้นหาชื่อเรื่อง/บุคคล/บริษัท ที่คุณต้องการ
- คลิกลิ้งค์ของบทความที่ต้องการเพื่อเข้าไปสู่หน้านั้น
- ในหน้านั้น ดูที่ URL ที่เหมือนดังตัวอย่าง http://www.animenewsnetwork.com/encyclopedia/anime.php?id=####, สัญลักษณ์ "####" คือเลขรหัสของบทความนั้นๆ
- หากต้องการเชื่อมโยงลิงค์จากวิกิพีเดียไทย ไปยังบทความดังกล่าว ให้พิมพ์แม่แบบว่า
* {{ann|type|####}}
ส่วน type นั้นคือชนิดของบทความดังกล่าวว่าเป็นอะไร เช่น manga (การ์ตูนเล่ม) , anime (แอนิเมชั่น) ,company (บริษัท), etc) และ "####" คือเลขรหัสบทความที่คุณต้องคัดลอกมาใส่
Usage[แก้]
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.
Examples[แก้]
Code | ผลลัพธ์ |
{{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 (โอวีเอ) ที่เครือข่ายข่าวอนิเมะ |
{{ann|movie|3381|Naruto The Movie: Ninja Clash in the Land of Snow}}
|
Naruto The Movie: Ninja Clash in the Land of Snow (ภาพยนตร์) ที่เครือข่ายข่าวอนิเมะ |
{{ann|people|8036|Masashi Kishimoto}}
|
Masashi Kishimoto ที่เครือข่ายข่าวอนิเมะ |
{{ann|company|4552|Viz Media}}
|
Viz Media ที่เครือข่ายข่าวอนิเมะ |
{{ann|manhwa|5481|iD_eNTITY}}
|
iD_eNTITY (manhwa) ที่เครือข่ายข่าวอนิเมะ |
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Ann/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |