Template:Teammate: Difference between revisions

From Semantic Stargate Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><!-- putting a full name in User namespace (for tracking) --><!-- {{#ifeq: {{NAMESPACE}} | User | {{{title|}}} ({{{year|}}} {{type| {{{type|}}} }}) &mdash;&#32; }} -->{{!}}-<!-- Wikipedia link
<includeonly><!-- putting a full name in User namespace (for tracking) -->{{#ifeq: {{NAMESPACE}} | User | {{!}}- }}<!-- Wikipedia link
  -->{{#if: {{{link|}}} | {{((}}w:{{{link}}}{{!}} }}<!--  
  -->{{#if: {{{link|}}} | {{((}}w:{{{link}}}{{!}} }}<!--  
  -->{{#if: {{{rtitle|}}} | {{{rtitle}}} | {{#if: {{{title|}}} | ''{{{title}}}'' }} }}<!-- Display of the title
  -->{{#if: {{{rtitle|}}} | {{{rtitle}}} | {{#if: {{{title|}}} | ''{{{title}}}'' }} }}<!-- Display of the title

Revision as of 07:09, 13 June 2019

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

This template is used to display a film or TV show including the teammates of an actor. Inside an actor's article, it excludes the actor's name from the list of teammates (thanks to the "Prov" property).

Syntax

Copy/paste the following inside the article.

{{Teammate
 | link    = 
 | rtitle  = 
 | title   = 
 | year    = 
 | type    = 
}}

Inline version:

{{Teammate| link =  | rtitle =  | title =  | year =  | type = }}

Examples

{{Teammate
 | link    = CSI: Miami
 | rtitle  = 
 | title   = CSI: Miami
 | year    = 2002
 | type    = TV
}}

gives:

CSI: Miami (with Christopher John Fields, Salli Richardson-Whitfield, Derek Webster as cast, and J. Gregory Evans as crew)

See also