Template:Teammate: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
-->{{#if: {{#ask: [[Category:Persons]] <q>[[Has worked in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> }}{{#ask: [[Category:Persons]] <q>[[Has played in::{{{title|}}} ({{{year|}}} {{type|{{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> }}<!-- | -->{{#if: {{#ask: [[Category:Persons]] <q>[[Has worked in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> }}{{#ask: [[Category:Persons]] <q>[[Has played in::{{{title|}}} ({{{year|}}} {{type|{{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> }}<!-- | ||
-->|  (with {{#if: {{#ask: [[Category:Persons]] <q>[[Has played in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q>}} | {{#ask: [[Category:Persons]] <q>[[Has played in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> | ?Name | format = list | template = Link | link = none | sep = ,  }} as cast{{#if: {{#ask: [[Category:Persons]] <q>[[Has worked in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> }} | , and }} }}{{#if: {{#ask: [[Category:Persons]] <q>[[Has | -->|  (with {{#if: {{#ask: [[Category:Persons]] <q>[[Has played in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q>}} | {{#ask: [[Category:Persons]] <q>[[Has played in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> | ?Name | format = list | template = Link | link = none | sep = ,  }} as cast{{#if: {{#ask: [[Category:Persons]] <q>[[Has worked in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> }} | , and }} }}{{#if: {{#ask: [[Category:Persons]] <q>[[Has worked in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q>}} | {{#ask: [[Category:Persons]] <q>[[Has worked in::{{{title|}}} ({{{year|}}} {{type| {{{type|}}} }})]] [[prov::!{{PAGENAME}}]]</q> | ?Name | format = list | template = Link | link = none | sep = ,  }} as crew}}) | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 08:26, 12 June 2019
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
The above documentation is transcluded from Template:Teammate/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |