ผลต่างระหว่างรุ่นของ "แม่แบบ:กล่องข้อมูล ตัวละคร/doc"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Mr.BuriramCN (คุย | ส่วนร่วม)
หน้าใหม่: {{หน้าย่อยคู่มือการใช้งาน}} <!-- ใส่หมวดหมู่ด้านล่างสุด ส่วนลิง...
 
Miwako Sato (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
บรรทัด 1:
{{Documentation subpage}}
{{หน้าย่อยคู่มือการใช้งาน}}
{{High-use|5,000+}}
<!-- ใส่หมวดหมู่ด้านล่างสุด ส่วนลิงก์ข้ามภาษาให้ใช้วิกิสนเทศ -->
<!--
PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
 
== 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.
<pre>
{{Infobox character
| colourname = ''name''
| series = '''series'''
| colour text =
| nameimage = Example-serious.jpg
| image_upright = ''image_upright''
| series = <!-- use without the italic on the outside -->
| imagealt = ''alt''
| caption = ''caption''
| first = ''first''
| last = ''last''
| creatorcause = ''cause''
| portrayercreator = ''creator''
| voice portrayer = ''portrayer''
| lbl1voice = ''voice''
| data1lbl1 = ''lbl1''
| lbl2data1 = ''data1''
| data2lbl2 = ''lbl2''
| lbl3data2 = ''data2''
| data3lbl3 = ''lbl3''
| info-hdrdata3 = ''data3''
| noinfofullname = ''fullname''
| fullnamebirthname = ''birthname''
| nickname = ''nickname''
| alias = ''alias''
| species = <!-- for non-humans only= -->''species''
| gender = ''gender''
| occupation = ''occupation''
| title affiliation = ''affiliation''
| familytitle = ''title''
| spousefamily = ''family''
| spouse = ''spouse''
| significantother = ''significantother''
| children = ''children''
| relatives = ''relatives''
| religion = ''religion''
| nationality = ''nationality''
| lbl21 = ''lbl21''
| data21 = ''data21''
| lbl22 = ''lbl22''
| data22 = ''data22''
| lbl23 = ''lbl23''
| data23 = ''data23''
| extra-hdr = ''extra-hdr''
| lbl31 = ''lbl31''
| data31 = ''data31''
| lbl32 = ''lbl32''
| data32 = ''data32''
| lbl33 = ''lbl33''
| data33 = ''data33''
}}
<pre style="overflow:auto">{{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 =
| lbl21 =
| data21 =
| lbl22 =
| data22 =
| lbl23 =
| data23 =
| extra-hdr =
| lbl31 =
| data31 =
| lbl32 =
| data32 =
| lbl33 =
| data33 =
}}</pre>
 
== Parameters ==
All parameters are optional.
 
{| class="wikitable"
|-
! 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 {{para|image|<var><nowiki>Example.png</nowiki></var>}}
|-
| 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 [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.
|-
| alt || [[Wikipedia:Alternative text for images|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 ==
{{#section:Template:Infobox Australian place/doc|image_upright}}
== Example ==
{{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
| 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]]
}}
<pre style="overflow:auto">
{{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]]
}}
</pre>
 
== ดูเพิ่มSee also ==
 
{{โครงส่วน}}
; Hidden tracking/maintenance categories
* [[:Category:Articles using Infobox character with deprecated parameters]]
* [[:Category:Articles using Infobox character with multiple unlabeled fields]]
* [[:Category:Articles using Template:Infobox character with invalid colour combination]]
 
; Pass through templates
The following templates are designed for specific series and call this template to generate the infobox:
* {{tl|Infobox Buffyverse character}}
* {{tl|Infobox Law and Order character}}
* {{tl|Infobox Pirates of the Caribbean character}}
* {{tl|Infobox Tolkien character}}
 
; Related templates
* {{tl|Infobox person}}
 
{{Film and Television related infobox templates}}
 
<includeonly>{{basepage subpage|
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
<!-- ใส่หมวดหมู่ตรงนี้ ส่วนลิงก์ข้ามภาษาให้ใช้วิกิสนเทศ -->
[[Category:Television infobox templates| Character]]
[[Category:Fictional character infobox templates| ]]
[[Category:Templates that add a tracking category]]
 
}}</includeonly>