「Template:Infobox character」の版間の差分
表示
削除された内容 追加された内容
編集の要約なし |
編集の要約なし |
||
1行目: | 1行目: | ||
{{Infobox |
{{Infobox |
||
|name=Infobox character |
|name=Infobox character |
||
|above = {{ifempty|{{{name|}}}| |
|above = {{ifempty|{{{name|}}}|{{PAGENAMEBASE}}}} |
||
|abovestyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} |
|abovestyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} |
||
15行目: | 15行目: | ||
|label1 = 初登場 |
|label1 = 初登場 |
||
|data1 = {{{first|}}} |
|data1 = {{{first|}}} |
||
|label2 = 最後の登場 |
|label2 = 最後の登場 |
||
|data2 = {{{last|}}} |
|data2 = {{{last|}}} |
||
|label3 = 行方 |
|label3 = 行方 |
||
|data3 = {{{cause|}}} |
|data3 = {{{cause|}}} |
||
|label4 = 作者 |
|label4 = 作者 |
||
|data4 = {{{creator|}}} |
|data4 = {{{creator|}}} |
||
|label5 = 演 |
|label5 = 演 |
||
|data5 = {{{portrayer|}}} |
|data5 = {{{portrayer|}}} |
||
|label6 = 声 |
|label6 = 声 |
||
|data6 = {{{voice|}}} |
|data6 = {{{voice|}}} |
||
|label7 = {{{lbl1|}}} |
|label7 = {{{lbl1|}}} |
||
|data7 = {{{data1|}}} |
|data7 = {{{data1|}}} |
||
|label8 = {{{lbl2|}}} |
|label8 = {{{lbl2|}}} |
||
|data8 = {{{data2|}}} |
|data8 = {{{data2|}}} |
||
|label9 = {{{lbl3|}}} |
|label9 = {{{lbl3|}}} |
||
|data9 = {{{data3|}}} |
|data9 = {{{data3|}}} |
||
|label10 = {{{lbl4|}}} |
|label10 = {{{lbl4|}}} |
||
|data10 = {{{data4|}}} |
|data10 = {{{data4|}}} |
||
|label11 = {{{lbl5|}}} |
|label11 = {{{lbl5|}}} |
||
|data11 = {{{data5|}}} |
|data11 = {{{data5|}}} |
||
|header12 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname|}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{title|}}} {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{ifempty|{{{info-hdr|}}}|詳細情報}} }} }} |
|header12 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname|}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{title|}}} {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{ifempty|{{{info-hdr|}}}|詳細情報}} }} }} |
||
|label13 = フルネーム |
|label13 = フルネーム |
||
|data13 = {{{fullname|}}} |
|data13 = {{{fullname|}}} |
||
|label14 = 愛称 |
|label14 = 愛称 |
||
|data14 = {{{nickname|}}} |
|data14 = {{{nickname|}}} |
||
|label15 = 別名 |
|label15 = 別名 |
||
|data15 = {{{alias|}}} |
|data15 = {{{alias|}}} |
||
|label16 = 種族 |
|label16 = 種族 |
||
|data16 = {{{species|}}} |
|data16 = {{{species|}}} |
||
|label17 = 性別 |
|label17 = 性別 |
||
|data17 = {{{gender|}}} |
|data17 = {{{gender|}}} |
||
|label18 = 職業 |
|label18 = 職業 |
||
|data18 = {{{occupation|}}} |
|data18 = {{{occupation|}}} |
||
|label19 = 加盟 |
|label19 = 加盟 |
||
|data19 = {{{affiliation|}}} |
|data19 = {{{affiliation|}}} |
||
|label20 = 肩書き |
|label20 = 肩書き |
||
|data20 = {{{title|}}} |
|data20 = {{{title|}}} |
||
|label21 = 家族 |
|label21 = 家族 |
||
|data21 = {{{family|}}} |
|data21 = {{{family|}}} |
||
|label22 = 配偶者 |
|label22 = 配偶者 |
||
|data22 = {{{spouse|}}} |
|data22 = {{{spouse|}}} |
||
|label23 = [[恋人]] |
|label23 = [[恋人]] |
||
|data23 = {{{significantother|}}} |
|data23 = {{{significantother|}}} |
||
|label24 = 子供 |
|label24 = 子供 |
||
|data24 = {{{children|}}} |
|data24 = {{{children|}}} |
||
|label25 = 親戚 |
|label25 = 親戚 |
||
|data25 = {{{relatives|}}} |
|data25 = {{{relatives|}}} |
||
|label26 = 宗教 |
|label26 = 宗教 |
||
|data26 = {{{religion|}}} |
|data26 = {{{religion|}}} |
||
|label27 = 国籍 |
|label27 = 国籍 |
||
|data27 = {{{nationality|}}} |
|data27 = {{{nationality|}}} |
||
|label33 = {{{lbl21|}}} |
|label33 = {{{lbl21|}}} |
||
|data33 = {{{data21|}}} |
|data33 = {{{data21|}}} |
||
|label34 = {{{lbl22|}}} |
|label34 = {{{lbl22|}}} |
||
|data34 = {{{data22|}}} |
|data34 = {{{data22|}}} |
||
|label35 = {{{lbl23|}}} |
|label35 = {{{lbl23|}}} |
||
|data35 = {{{data23|}}} |
|data35 = {{{data23|}}} |
||
|label36 = {{{lbl24|}}} |
|label36 = {{{lbl24|}}} |
||
|data36 = {{{data24|}}} |
|data36 = {{{data24|}}} |
||
|label37 = {{{lbl25|}}} |
|label37 = {{{lbl25|}}} |
||
|data37 = {{{data25|}}} |
|data37 = {{{data25|}}} |
||
|header38 = {{ #if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }} |
|header38 = {{ #if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }} |
||
|label39 = {{{lbl31|}}} |
|label39 = {{{lbl31|}}} |
||
|data39 = {{{data31|}}} |
|data39 = {{{data31|}}} |
||
|label40 = {{{lbl32|}}} |
|label40 = {{{lbl32|}}} |
||
|data40 = {{{data32|}}} |
|data40 = {{{data32|}}} |
||
|label41 = {{{lbl33|}}} |
|label41 = {{{lbl33|}}} |
||
|data41 = {{{data33|}}} |
|data41 = {{{data33|}}} |
||
|label42 = {{{lbl34|}}} |
|label42 = {{{lbl34|}}} |
||
|data42 = {{{data34|}}} |
|data42 = {{{data34|}}} |
2017年6月24日 (土) 08:11時点における版
Infobox character |
---|
このテンプレートは英語版記事を移植する場合の利便性のために設けられたものです。同様のテンプレートには{{架空の人物}}などがあります。
映画やテレビドラマなどに登場する架空の人物の基礎情報テンプレートです。基本的に単独記事になっている人物に使用します。アニメ、漫画のキャラクターの場合は{{Infobox animanga character}}を、コンピュータゲームのキャラクターには{{コンピュータゲームキャラクター}}を使用します。
{{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 = }}
引数
全ての引数は任意入力です("name"の場合は記事名が表示されます)
注意:人間しか登場しない作品の登場人物において'species'に「人間」と入力しないなど、キャラクターやストーリー上重要でない情報をテンプレート内に入れないでください。
- colour = ヘッダーの色 (例:color = #FFF) 既定値は#DEDEE2
- colour text = ヘッダー内にあるテキストの色 (例:color text = #FFF) 既定値は#000
- name = キャラクター名。既定値は記事名。
- series = 登場作品名
- image = キャラクターの画像 (例:[[Image:Example.png|230px]]) 例文の場合、画像サイズは230px
- caption = 画像の説明文
- first = キャラクターが初めて登場したエピソード
- last = キャラクターが最後に登場したエピソード
- creator = キャラクターの作者
- portrayer = キャラクターを演じた俳優
- voice = キャラクターの声を演じた人物(俳優・声優など)
- info-hdr = 2番目のヘッダ名 (既定値 = 詳細情報)
- nickname = キャラクターの愛称
- alias = キャラクターの別名
- species = キャラクターの種族
- gender = キャラクターの性別
- age = キャラクターの年齢
- residence = キャラクターの在住
- birthday = キャラクターの生日
- occupation = キャラクターの職業
- title = キャラクターが持つその他の肩書き
- family = キャラクターの家族
- spouse = キャラクターの配偶者
- significantother = キャラクターの恋人など大切にしている人物
- children = キャラクターの子息
- relatives = キャラクターの親戚
- religion = キャラクターの信奉している宗教
- nationality = キャラクターの国籍
- extra-hdr = 3番目のヘッダ名 (既定値 = 3番目のヘッダを設定しない)
- lbl# = 左側に表示する任意のラベル名 '#'は1-5、21-25(1番目のヘッダ)、31-35(2番目のヘッダ)で指定可能。
- data# = 'lbl#'に対応する、右側に表示する任意のデータフィールド
- tbl-class = テンプレートのクラス(マイクロフォーマット)(既定値 = infobox)
- tbl-style = テンプレート全体のCSS属性(既定値 = width: 20em; text-align: left; font-size: 90%)
- lbl-style = 左側(ラベル部分)のCSS属性
- data-style = 右側(データ部分)のCSS属性
- noinfo = 1番目のヘッダを非表示に
関連項目
- {{架空の人物}}
- {{Infobox animanga character}}
- {{コンピュータゲームキャラクター}}