Template:Cast: Difference between revisions

Template page
x>FANDOM
(Created page with "<includeonly><infobox> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image"><caption source="caption" /></image> <data><label>Born...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 22:57, 29 April 2024

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 {{{{#if:|{{{prefix}}}:}}Cast{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}} 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

<infobox>

   <title source="name"><default>Cast</default></title>
<image source="image"></image> <label>Born</label> <default>{{#if: Name | Name }}{{#if: Date | {{#if: Name |
}}Date{{#if: Place |
}} }}{{#if: Place | {{#if: Date || {{#if: Name|
}} }}Place }}</default>
<label>Died</label> <default>{{#if: Date | Date }}{{#if: Place | {{#if: Date |
}}Place }}</default>
<label>Gender</label> <label>Height</label> <label>Occupation</label> <label>Appears in</label> <label>Portrays</label> </infobox>Lua error in package.lua at line 80: module 'Dev:Namespace_detect' not found.
{{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
}}