แม่แบบ:กล่องข้อมูล ตัวละคร
![]() | มีการใช้แม่แบบนี้ใน การแก้ไขอาจทำให้เกิดผลกระทบหรือสังเกตเห็นได้ ดังนั้นก่อนแก้ไขแม่แบบนี้จึงควรทดลองที่กระบะทราย หรือหน้าทดสอบ หรือพื้นที่ส่วนตัวของคุณก่อน จนมั่นใจว่าจะไม่เกิดผลเสียตามมา นอกจากนี้คุณยังสามารถพูดคุยเกี่ยวกับการแก้ไขแม่แบบได้ที่หน้าอภิปราย |
![]() | แม่แบบนี้ใช้สคริปต์ภาษาลูอา: |
Usage[แก้]
This template can be used to create an infobox for a fictional character of any type. The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.
{{Infobox character | colour = <!-- headers background colour; the foreground colour is automatically computed --> | name = | series = <!-- use without the italic on the outside --> | image = | image_upright = | alt = | caption = | first = | last = | creator = | portrayer = | voice = | lbl1 = | data1 = | lbl2 = | data2 = | lbl3 = | data3 = | info-hdr = | noinfo = | fullname = | nickname = | alias = | species = <!-- for non-humans only --> | gender = <!-- if not obvious --> | occupation = | affiliation = | title = | family = | spouse = | significantother = | children = | relatives = | religion = | nationality = | age = | birthday = | data22 = | lbl23 = | data23 = | extra-hdr = | lbl31 = | data31 = | lbl32 = | data32 = | lbl33 = | data33 = }}
Parameters[แก้]
All parameters are optional.
Parameter | Notes |
---|---|
name | Character name to display in top header (default = PAGENAME) |
series | Name of the television series or other fictional world or story in which character appears |
multiple | Set to yes if the infobox describes more than one character |
image | Image of the character. "File:" and wikilinking is not required. i.e. use |image=Example.png
|
image_upright | The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px. See help below for guidance on determining the value to be used. |
alt | Alt text |
caption | Caption to display below image |
first | First appearance of the character |
last | Last appearance of the character |
creator | Name of the person who invented the character |
portrayer | Name of the person(s) who portrayed the character |
voice | Name of the person(s) who voiced the character |
info-hdr | Text for display in second header (default = Information) |
alias | Any aliases used by the character |
relationships | Any significant relationships that are essential to understanding the character |
extra-hdr | Text for display in third header (default = No third header) |
lbl# | Label to display in left column where "#" is 1-5, 21-25, or 31-35 for custom fields under the 1st, 2nd, or 3rd headers respectively |
data# | Text to display in the right column corresponding to the appropriate "lbl#" |
tbl-class | Overall class for the table (default = infobox) |
tbl-style | Overall styles for the table (default = width: 20em; text-align: left; font-size: 90%) |
lbl-style | Style to apply to all cells in the left column |
data-style | Style to apply to all cells in the right column |
noinfo | disable the first "information" header |
colour | Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on WP:COLOR. |
Notes[แก้]
แม่แบบ:Infobox Australian place/doc
Example[แก้]
Erick Karabell | |
---|---|
ตัวละครใน Criminal Minds | |
ปรากฏครั้งแรก | April 18, 2004 |
ปรากฏครั้งสุดท้าย | April 18, 2008 |
สร้างโดย | Agnes Nixon |
แสดงโดย | Johnny Lioma |
ข้อมูลตัวละครในเรื่อง | |
นามแฝง | John Limmons |
ชื่อเล่น | Limmy |
เพศ | Male |
ตำแหน่ง | Head Detective |
อาชีพ | Detective |
ครอบครัว | Erick Karabell Sr (Father) Lonna Marcus-Karabell (Mother) |
คู่สมรส | Lonni Karabell (Wife) |
บุตร | Erick Karabell III (Son) |
ญาติ | Oliva Falconeri (Cousin) |
ศาสนา | Christian |
สัญชาติ | American |
{{Infobox character | name = Erick Karabell | series = [[Criminal Minds]] | image = | caption = | first = April 18, 2004 | last = April 18, 2008 | creator = [[Agnes Nixon]] | portrayer = Johnny Lioma | nickname = Limmy | alias = John Limmons | species = | gender = Male | occupation = Detective | title = Head Detective | family = Erick Karabell Sr (Father)<br />Lonna Marcus-Karabell (Mother) | spouse = Lonni Karabell (Wife) | significantother = | children = Erick Karabell III (Son) | relatives = Oliva Falconeri (Cousin) | religion = [[Christian]] | nationality = [[United States|American]] }}
หมวดหมู่ติดตาม[แก้]
- หมวดหมู่:หน้าที่ใช้กล่องข้อมูลตัวละครที่มีพารามิเตอร์ที่ไม่รู้จัก (255)
- หมวดหมู่:Articles using Infobox character with multiple unlabeled fields (191)
- หมวดหมู่:Articles using infoboxes for fictional elements with invalid color combination (16)
การรับรองแม่แบบ[แก้]
ดูเพิ่ม[แก้]
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:กล่องข้อมูล ตัวละคร/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |