Difference between revisions of "Template:Films"

From Creative Commons
Jump to: navigation, search
(Website -> Main URL)
Line 7: Line 7:
 
   producer= The producer(s)|
 
   producer= The producer(s)|
 
   filmtype= See below|
 
   filmtype= See below|
   website= Website|
+
   mainurl= Main URL|
 
   publisher= The publisher|
 
   publisher= The publisher|
 
   releasedate= The date of release|
 
   releasedate= The date of release|
Line 31: Line 31:
 
{{#ifeq:{{{filmtype|}}}|||{{Tablerow|Label='''Film Type:'''|Value=[[filmtype::{{{filmtype}}}]]}} }}
 
{{#ifeq:{{{filmtype|}}}|||{{Tablerow|Label='''Film Type:'''|Value=[[filmtype::{{{filmtype}}}]]}} }}
 
|-
 
|-
{{#ifeq:{{{website|}}}|||{{Tablerow|Label='''Website:'''|Value=[[website:={{{website}}}]]}}}}
+
{{#ifeq:{{{mainurl|}}}|||{{Tablerow|Label='''Main URL:'''|Value=[[mainurl:={{{mainurl}}}]]}}}}
 
|-
 
|-
 
{{#ifeq:{{{distributer|}}}|||{{Tablerow|Label='''Distributer:'''|Value=[[distributer:={{{distributer}}}]]}}}}
 
{{#ifeq:{{{distributer|}}}|||{{Tablerow|Label='''Distributer:'''|Value=[[distributer:={{{distributer}}}]]}}}}

Revision as of 23:44, 29 July 2008

This template simplifies the creation of articles about Films. When inserted in an Film's page, it creates a decorative table with information about the content provided. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.

To use this template, insert the following at the beginning of your page. All fields are optional except for FilmType and should be omitted if no information is available. The page name should reflect the name of the book.

{{Film|
  director= The director|
  producer= The producer(s)|
  filmtype= See below|
  mainurl= Main URL|
  publisher= The publisher|
  releasedate= The date of release|
  license= URL of the license|
  cclicensed= CC Licensed version|
  length= Length in Minutes|
 }}

The order of the fields is not relevant. The template should be given as the first thing on a page.

Otherwise, you can easily add articles by using a form, just go here