Difference between revisions of "Template:Movie"

From Imperial Wiki
Jump to navigation Jump to search
(First try at making a template)
 
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
Title: {{{Title}}} |
{|
Producer: {{{Producer}}} |
|}
Director: {{{Director}}} |
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:200px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"><tr><td colspan="2"><div id="infoboxinternal">
Writer: {{{Writer}}} |
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:200px; background:#ffffff; border-collapse:collapse;">
Company: {{{Company}}} |
<tr style="text-align:center; color:#ffffff; background:{{{c1|#000000}}}; font-size:larger;"><th colspan="2">{{{Title}}}</th></tr>
ReleaseDate: {{{ReleaseDate}}} |
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#BBBBBB}}};">{{{Image|}}}</td></tr>
Image: {{{Image}}} |
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Producer''':</td><td class="infoboxcell" style="width:100%;">
Website: {{{Website}}}
{{{Producer}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Director''':</td><td class="infoboxcell" style="width:100%;">
{{{Director}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Company''':</td><td class="infoboxcell" style="width:100%;">
{{{Company}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Release Date''':</td><td class="infoboxcell" style="width:100%;">
{{{ReleaseDate}}}
</td></tr></table>
</td></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Website''':</td><td class="infoboxcell" style="width:100%;">
{{{Website}}}
</td></tr></table>
</td></tr>
</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Infobox Character|[Source]]]</td></tr></table>
 


<noinclude>
<noinclude>
Line 14: Line 34:
<pre style="width: 70%">
<pre style="width: 70%">
{{Movie
{{Movie
|Title = {{{Title}}}
|Title = <!-- movie title -->
|Producer = {{{Producer}}}
|Producer = <!-- producer's name -->
|Director = {{{Director}}}
|Director = <!-- director's name -->
|Writer = {{{Writer}}}
|Writer = <!-- writer's name -->
|Company = {{{Company}}}
|Company = <!-- production company (20th Century Fox, Paramount, etc.) -->
|ReleaseDate = {{{ReleaseDate}}}
|ReleaseDate = <!-- release date -->
|Image = {{{Image}}}
|Image = <!-- link to image file of movie poster -->
|Website = {{{Website}}}
|Website = <!-- external link to official website -->
}}
}}
</pre>
</pre>
Line 32: Line 52:
Official website link  
Official website link  


[[Category: Sidebars]]
[[Category: Templates]]</noinclude>
[[Category: Templates]]</noinclude>

Latest revision as of 19:31, 18 May 2009

{{{Title}}}
Producer:

{{{Producer}}}

Director:

{{{Director}}}

Company:

{{{Company}}}

Release Date:

{{{ReleaseDate}}}

Website:

{{{Website}}}

  [Source]


Produces a formatted sidebar for Movie articles.

Usage

{{Movie
|Title = <!-- movie title -->
|Producer = <!-- producer's name -->
|Director = <!-- director's name -->
|Writer = <!-- writer's name -->
|Company = <!-- production company (20th Century Fox, Paramount, etc.) -->
|ReleaseDate = <!-- release date -->
|Image = <!-- link to image file of movie poster -->
|Website = <!-- external link to official website -->
}}

Title Key crew: Producer, Director, Writer Production company (20th Century Fox, Paramount, etc.) Release Date An image field for the movie poster Official website link