Difference between revisions of "Template:FilmLinks/testcases"
imported>Nami-ja (→testcases}}/sandbox|Sandbox version: subst:) |
imported>Zyxw (add tests based on examples in documentation) |
||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| − | == | + | == Example 1 == |
| − | |||
| + | === [[Template:{{TEMPLATENAME|testcases}}/sandbox|Sandbox version]] === | ||
| − | + | <code><nowiki>{{subst:FilmLinks/sandbox | name = Inception | imdb = 1375666 | allmovie = 480818 | mojo = inception | metacritic = inception | rotten = inception | bfidb = | screen = | brit = | sony = | turner = }}</nowiki></code> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{ | + | * {{IMDb title|1375666|Inception}} |
| + | * {{AllMovie title|480818|Inception}} | ||
| + | * {{Mojo title|inception|Inception}} | ||
| + | * {{Metacritic film|inception|Inception}} | ||
| + | * {{Rotten Tomatoes|inception|Inception}} | ||
| − | == [[Template:{{TEMPLATENAME|testcases}}|Main template]] == | + | === [[Template:{{TEMPLATENAME|testcases}}|Main template]] === |
| − | |||
| − | {{FilmLinks|imdb= | + | <code><nowiki>{{subst:FilmLinks | name = Inception | imdb = 1375666 | allmovie = 480818 | mojo = inception | metacritic = inception | rotten = inception | bfidb = | screen = | brit = | sony = | turner = }}</nowiki></code> |
| − | {{ | + | * {{IMDb title|1375666|Inception}} |
| + | * {{AllMovie title|480818|Inception}} | ||
| + | * {{Mojo title|inception|Inception}} | ||
| + | * {{Metacritic film|inception|Inception}} | ||
| + | * {{Rotten Tomatoes|inception|Inception}} | ||
| + | |||
| + | == Example 2 == | ||
| + | |||
| + | === [[Template:{{TEMPLATENAME|testcases}}/sandbox|Sandbox version]] === | ||
| + | |||
| + | <code><nowiki>{{subst:FilmLinks/sandbox | name = They Drive by Night | imdb = 0030858 | bfidb = 53898 | screen = 502445 | brit = They-Drive-by-Night_1938 }}</nowiki></code> | ||
| + | |||
| + | * {{IMDb title|0030858|They Drive by Night}} | ||
| + | * {{Bfidb title|53898|They Drive by Night}} | ||
| + | * {{Screenonline title|502445|They Drive by Night}} | ||
| + | * {{Britmovie title|They-Drive-by-Night_1938|They Drive by Night}} | ||
| + | |||
| + | === [[Template:{{TEMPLATENAME|testcases}}|Main template]] === | ||
| + | |||
| + | <code><nowiki>{{subst:FilmLinks | name = They Drive by Night | imdb = 0030858 | bfidb = 53898 | screen = 502445 | brit = They-Drive-by-Night_1938 }}</nowiki></code> | ||
| + | |||
| + | * {{IMDb title|0030858|They Drive by Night}} | ||
| + | * {{Bfidb title|53898|They Drive by Night}} | ||
| + | * {{Screenonline title|502445|They Drive by Night}} | ||
| + | * {{Britmovie title|They-Drive-by-Night_1938|They Drive by Night}} | ||
| + | |||
| + | == Example 3 == | ||
| + | |||
| + | === [[Template:{{TEMPLATENAME|testcases}}/sandbox|Sandbox version]] === | ||
| + | |||
| + | <code><nowiki>{{subst:FilmLinks/sandbox | name = Midnight in Paris | imdb = 1605783 | sony = midnightinparis | turner = 802334 }}</nowiki></code> | ||
| + | |||
| + | * {{IMDb title|1605783|Midnight in Paris}} | ||
| + | * [http://www.sonyclassics.com/midnightinparis ''Midnight in Paris''] at [[Sony Pictures Classics]] | ||
| + | * {{TCMDb title|802334|Midnight in Paris}} | ||
| + | |||
| + | === [[Template:{{TEMPLATENAME|testcases}}|Main template]] === | ||
| + | |||
| + | <code><nowiki>{{subst:FilmLinks | name = Midnight in Paris | imdb = 1605783 | sony = midnightinparis | turner = 802334 }}</nowiki></code> | ||
| + | |||
| + | * {{IMDb title|1605783|Midnight in Paris}} | ||
| + | * [http://www.sonyclassics.com/midnightinparis ''Midnight in Paris''] at [[Sony Pictures Classics]] | ||
| + | * {{TCMDb title|802334|Midnight in Paris}} | ||
<!-- | <!-- | ||
Latest revision as of 02:21, 15 August 2020
| This is the template test cases page for the sandbox of Template:FilmLinks. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Example 1
Sandbox version
{{subst:FilmLinks/sandbox | name = Inception | imdb = 1375666 | allmovie = 480818 | mojo = inception | metacritic = inception | rotten = inception | bfidb = | screen = | brit = | sony = | turner = }}
- Expression error: Unrecognized punctuation character "[". Inception at IMDbScript error: No such module "EditAtWikidata".Expression error: Unrecognized punctuation character "[".
- Inception at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
- Template:Mojo title
- Template:Metacritic film
- Template:Rotten Tomatoes
Main template
{{subst:FilmLinks | name = Inception | imdb = 1375666 | allmovie = 480818 | mojo = inception | metacritic = inception | rotten = inception | bfidb = | screen = | brit = | sony = | turner = }}
- Expression error: Unrecognized punctuation character "[". Inception at IMDbScript error: No such module "EditAtWikidata".Expression error: Unrecognized punctuation character "[".
- Inception at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
- Template:Mojo title
- Template:Metacritic film
- Template:Rotten Tomatoes
Example 2
Sandbox version
{{subst:FilmLinks/sandbox | name = They Drive by Night | imdb = 0030858 | bfidb = 53898 | screen = 502445 | brit = They-Drive-by-Night_1938 }}
- Expression error: Unrecognized punctuation character "[". They Drive by Night at IMDbScript error: No such module "EditAtWikidata".Expression error: Unrecognized punctuation character "[".
- They Drive by Night at the British Film Institute's Film and TV Database
- Template:Screenonline title
- They Drive by Night at BritMovie (archived)
Main template
{{subst:FilmLinks | name = They Drive by Night | imdb = 0030858 | bfidb = 53898 | screen = 502445 | brit = They-Drive-by-Night_1938 }}
- Expression error: Unrecognized punctuation character "[". They Drive by Night at IMDbScript error: No such module "EditAtWikidata".Expression error: Unrecognized punctuation character "[".
- They Drive by Night at the British Film Institute's Film and TV Database
- Template:Screenonline title
- They Drive by Night at BritMovie (archived)
Example 3
Sandbox version
{{subst:FilmLinks/sandbox | name = Midnight in Paris | imdb = 1605783 | sony = midnightinparis | turner = 802334 }}
- Expression error: Unrecognized punctuation character "[". Midnight in Paris at IMDbScript error: No such module "EditAtWikidata".Expression error: Unrecognized punctuation character "[".
- Midnight in Paris at Sony Pictures Classics
- Template:TCMDb title
Main template
{{subst:FilmLinks | name = Midnight in Paris | imdb = 1605783 | sony = midnightinparis | turner = 802334 }}
- Expression error: Unrecognized punctuation character "[". Midnight in Paris at IMDbScript error: No such module "EditAtWikidata".Expression error: Unrecognized punctuation character "[".
- Midnight in Paris at Sony Pictures Classics
- Template:TCMDb title