(Created page with "== Description == To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobo...") |
(Created page with "<includeonly><infobox> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image"><caption source="caption" /></image> <data><label>Born...") |
||
1번째 줄: | 1번째 줄: | ||
+ | <includeonly><infobox> |
||
− | == Description == |
||
+ | <title source="name"><default>{{PAGENAME}}</default></title> |
||
− | To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]]. |
||
+ | <image source="image"><caption source="caption" /></image> |
||
+ | <data><label>Born</label> |
||
+ | <default>{{#if: {{{birthname|}}} | {{{birthname|}}} }}{{#if: {{{birthdate|}}} | {{#if: {{{birthname|}}} | <br />}}{{{birthdate|}}}{{#if: {{{birthplace|}}} | <br />}} }}{{#if: {{{birthplace|}}} | {{#if: {{{birthdate|}}} || {{#if: {{{birthname|}}}|<br />}} }}{{{birthplace|}}} }}</default> |
||
+ | </data> |
||
+ | <data><label>Died</label> |
||
+ | <default>{{#if: {{{deathdate|}}} | {{{deathdate|}}} }}{{#if: {{{deathplace|}}} | {{#if: {{{deathdate|}}} | <br />}}{{{deathplace|}}} }}</default> |
||
+ | </data> |
||
+ | <data source="gender"><label>Gender</label></data> |
||
+ | <data source="height"><label>Height</label></data> |
||
+ | <data source="occupation"><label>Occupation</label></data> |
||
+ | <data source="appears in"><label>Appears in</label></data> |
||
+ | <data source="portrays"><label>Portrays</label></data> |
||
+ | </infobox>{{Namespace|main=[[Category:Cast]]<!-- |
||
+ | -->{{#if: {{#pos:{{{appears in|}}} | TITLE}} | [[Category:TITLE cast]] }}<!-- |
||
− | == Syntax == |
||
− | <pre> |
||
− | {{Season |
||
− | | title = |
||
− | | image = |
||
− | | caption = |
||
− | | season = |
||
− | | episodes = |
||
− | | premiere = |
||
− | | previous = |
||
− | | next = |
||
− | }} |
||
− | </pre> |
||
⚫ | |||
− | |||
− | == Sample output == |
||
− | {{Season |
||
− | | title = This is a test |
||
− | | image = Wiki.png |
||
− | | caption = This is a test |
||
− | | season = This is a test |
||
− | | episodes = This is a test |
||
− | | premiere = This is a test |
||
− | | previous = This is a test |
||
− | | next = This is a test |
||
− | }} |
||
− | <pre> |
||
− | {{Season |
||
− | | title = This is a test |
||
− | | image = Wiki.png |
||
− | | caption = This is a test |
||
− | | season = This is a test |
||
− | | episodes = This is a test |
||
− | | premiere = This is a test |
||
− | | previous = This is a test |
||
− | | next = This is a test |
||
− | }} |
||
⚫ |
2021년 12월 9일 (목) 09:58 기준 최신판
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
To use this template, add the {{Cast}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Syntax
{{Cast | name = | image = | caption = | birthname = | birthdate = | birthplace = | deathdate = | deathplace = | gender = | height = | occupation = | appears in = | portrays = }}
Sample output
{{Cast | name = Test | image = Wiki.png | caption = Test | birthname = Name | birthdate = Date | birthplace = Place | deathdate = Date | deathplace = Place | gender = Test | height = Test | occupation = Test | appears in = Test | portrays = Test }}