FANDOM


(rv - this is NOT how you create new templates)
Line 1: Line 1:
<includeonly>{| class="infobox bordered" border="1" style="width: 20em; text-align: left; float:right; background-color: #fcfcfc; border-collapse: collapse; border-style: solid; border-width: 1px; border-color: #c4c4c4" font-size: 70%;"
+
<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!--
! style="font-size: 90%; text-align: center; background-color: #ccccff;" colspan="2" | ''{{{name}}}''
+
-->{{#if:{{{2|}}}|&#124;<span style="color:gray;">''&lt;{{{2}}}&gt;''</span>}}<!--
|-
+
-->{{#if:{{{3|}}}|&#124;<span style="color:gray;">''&lt;{{{3}}}&gt;''</span>}}<!--
{{#if:{{{image|<noinclude>-</noinclude>}}} |
+
-->{{#if:{{{4|}}}|&#124;<span style="color:gray;">''&lt;{{{4}}}&gt;''</span>}}<!--
! style="font-size: 90%; text-align: center;" colspan="2" {{!}} [[Image:{{{image}}}|{{#if:{{{image_size|}}}|<!--then:-->{{{image_size}}}px|<!--else:-->200px}}|]] {{#if:{{{caption|<noinclude>-</noinclude>}}} | <br />{{{caption}}}}}
+
-->{{#if:{{{5|}}}|&#124;<span style="color:gray;">''&lt;{{{5}}}&gt;''</span>}}<!--
}}
+
-->{{#if:{{{6|}}}|&#124;<span style="color:gray;">''&lt;{{{6}}}&gt;''</span>}}<!--
{{!}}-
+
-->{{#if:{{{7|}}}|&#124;<span style="color:gray;">''&lt;{{{7}}}&gt;''</span>}}<!--
{{#if:{{{director|<noinclude>-</noinclude>}}} |
+
-->{{#if:{{{8|}}}|&#124;<span style="color:gray;">''&lt;{{{8}}}&gt;''</span>}}<!--
! Directed&nbsp;by
+
-->{{#if:{{{9|}}}|&#124;<span style="color:gray;">''&lt;{{{9}}}&gt;''</span>}}<!--
{{!}} {{{director}}}
+
-->{{#if:{{{10|}}}|&#124;<span style="color:gray;">''&lt;{{{10}}}&gt;''</span>}}<!--
{{!}}-
+
-->{{#if:{{{11|}}}|&#124;<span style="color:gray;">''&lt;{{{11}}}&gt;''</span>}}<!--
}}
+
-->{{#if:{{{12|}}}|&#124;<span style="color:gray;">''&lt;{{{12}}}&gt;''</span>}}<!--
{{#if:{{{producer|<noinclude>-</noinclude>}}} |
+
-->{{#if:{{{13|}}}|&#124;<span style="color:gray;">''&lt;{{{13}}}&gt;''</span>}}<!--
! Produced&nbsp;by
+
-->{{#if:{{{14|}}}|&#124;<span style="color:gray;">''&lt;{{{14}}}&gt;''</span>}}<!--
{{!}} {{{producer}}}
+
-->{{#if:{{{15|}}}|&#124;<span style="color:gray;">''&lt;{{{15}}}&gt;''</span>}}<!--
{{!}}-
+
-->{{#if:{{{16|}}}|&#124;<span style="color:gray;">''&lt;{{{16}}}&gt;''</span>}}<!--
}}
+
-->{{#if:{{{17|}}}|&#124;<span style="color:gray;">''&lt;{{{17}}}&gt;''</span>}}<!--
{{#if:{{{writer|<noinclude>-</noinclude>}}} |
+
-->{{#if:{{{18|}}}|&#124;<span style="color:gray;">''&lt;{{{18}}}&gt;''</span>}}<!--
! Written&nbsp;by
+
-->{{#if:{{{19|}}}|&#124;<span style="color:gray;">''&lt;{{{19}}}&gt;''</span>}}<!--
{{!}} {{{writer}}}
+
-->{{#if:{{{20|}}}|&#124;<span style="color:gray;">''&lt;{{{20}}}&gt;''</span>}}<!--
{{!}}-
+
-->{{#if:{{{21|}}}|&#124;<span style="color:gray;">''&lt;{{{21}}}&gt;''</span>}}<!--
}}
+
--><nowiki>}}</nowiki><noinclude>
{{#if:{{{narrator|<noinclude>-</noinclude>}}} |
+
{{documentation}}</noinclude>
! Narrated&nbsp;by
 
{{!}} {{{narrator}}}
 
{{!}}-
 
}}
 
{{#if:{{{starring|<noinclude>-</noinclude>}}} |
 
! Starring
 
{{!}} {{{starring}}}
 
{{!}}-
 
}}
 
{{#if:{{{music|<noinclude>-</noinclude>}}} |
 
! Music&nbsp;by
 
{{!}} {{{music}}}
 
{{!}}-
 
}}
 
{{#if:{{{cinematography|<noinclude>-</noinclude>}}} |
 
! Cinematography
 
{{!}} {{{cinematography}}}
 
{{!}}-
 
}}
 
{{#if:{{{editing|<noinclude>-</noinclude>}}} |
 
! Editing&nbsp;by
 
{{!}} {{{editing}}}
 
{{!}}-
 
}}
 
{{#if:{{{distributor|<noinclude>-</noinclude>}}} |
 
! Distributed&nbsp;by
 
{{!}} {{{distributor}}}
 
{{!}}-
 
}}
 
{{#if:{{{released|<noinclude>-</noinclude>}}} |
 
! Release&nbsp;date(s)
 
{{!}} {{{released}}}
 
{{!}}-
 
}}
 
{{#if:{{{runtime|<noinclude>-</noinclude>}}} |
 
! Running time
 
{{!}} {{{runtime}}}
 
{{!}}-
 
}}
 
{{#if:{{{country|<noinclude>-</noinclude>}}} |
 
! Country
 
{{!}} {{{country}}}
 
{{!}}-
 
}}
 
{{#if:{{{language|<noinclude>-</noinclude>}}} |
 
! Language
 
{{!}} {{{language}}}
 
{{!}}-
 
}}
 
{{#if:{{{budget|<noinclude>-</noinclude>}}} |
 
! Budget
 
{{!}} {{{budget}}}
 
{{!}}-
 
}}
 
{{#if:{{{gross|<noinclude>-</noinclude>}}} |
 
! Gross revenue
 
{{!}} {{{gross}}}
 
{{!}}-
 
}}
 
{{#if:{{{preceded_by|<noinclude>-</noinclude>}}} |
 
! Preceded&nbsp;by
 
{{!}} {{{preceded_by}}}
 
{{!}}-
 
}}
 
{{#if:{{{followed_by|<noinclude>-</noinclude>}}} |
 
! Followed&nbsp;by
 
{{!}} {{{followed_by}}}
 
{{!}}-
 
}}
 
{{#if:{{{website|<noinclude>-</noinclude>}}} |
 
! style="font-size: 100%;" align="center" colspan="2" {{!}} '''[{{{website|}}} Official website]'''
 
{{!}}-
 
}}
 
{{#if:{{{amg_id|<noinclude>-</noinclude>}}} |
 
! style="font-size: 100%;" align="center" colspan="2" {{!}} '''[http://allmovie.com/cg/avg.dll?p=avg&sql={{{amg_id|}}} All Movie Guide profile]'''
 
{{!}}-
 
}}
 
{{#if:{{{imdb_id|<noinclude>-</noinclude>}}} |
 
! style="font-size: 100%;" align="center" colspan="2" {{!}} '''[http://www.imdb.com/title/tt{{{imdb_id|}}}/ IMDb profile]'''
 
{{!}}-
 
}}
 
|}</includeonly><noinclude>
 
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Infobox templates]]
 
[[Category:Template documentation]]
 
[[Category:Formatting and function templates]]
 

Revision as of 23:27, November 11, 2010

{{[[Template:{{{1}}}|{{{1}}}]]}}

Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:T]] to properly attribute this template's editors.
This template is probably already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Description
A template link with a variable number of example parameters (0–20), which can be used to show example inputs.
Syntax
{{t|parameter1|parameter2|parameter3|parameter4|...|parameter20|prefix=...}}
Sample code
{{t|welcome}} gives...
{{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} gives...
{{welcome|Item1|Item2|Item3|Item4|Item5|...}}
{{t|welcome|2=param1=Item1}} gives...
{{welcome|param1=Item1}}
{{t|welcome|prefix=subst}} gives...
{{subst: welcome}}
{{t|welcome|style=code}} gives...
{{welcome}}
See also
{{t2}}
{{s}}
Community content is available under CC-BY-SA unless otherwise noted.