Difference between revisions of "Template:Films"
m (Film to Films) |
(added IMDB, why not) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template simplifies the creation of articles about [[Films|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. | <noinclude>This template simplifies the creation of articles about [[Films|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''' and should be omitted if no information is available. The page name should reflect the name of the book. | + | 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. |
<pre>{{Film| | <pre>{{Film| | ||
director= The director| | director= The director| | ||
producer= The producer(s)| | producer= The producer(s)| | ||
− | + | filmtype= See below| | |
+ | mainurl= Main URL| | ||
+ | imdburl= IMDB URL| | ||
publisher= The publisher| | publisher= The publisher| | ||
releasedate= The date of release| | releasedate= The date of release| | ||
Line 24: | Line 26: | ||
! colspan="2" style="background: #006600; color: white" |[[Name:={{{Name|{{PAGENAME}}}}}]] | ! colspan="2" style="background: #006600; color: white" |[[Name:={{{Name|{{PAGENAME}}}}}]] | ||
|- | |- | ||
− | {{#ifeq:{{{ | + | {{#ifeq:{{{director|}}}|||{{Tablerow|Label='''Director:'''|Value=[[director:={{{director}}}]]}}}} |
|- | |- | ||
− | {{#ifeq:{{{ | + | {{#ifeq:{{{producer|}}}|||{{Tablerow|Label='''Producer:'''|Value=[[producer:={{{producer}}}]]}}}} |
|- | |- | ||
− | {{#ifeq:{{{ | + | {{#ifeq:{{{filmtype|}}}|||{{Tablerow|Label='''Film Type:'''|Value=[[filmtype::{{{filmtype}}}]]}} }} |
|- | |- | ||
− | {{#ifeq:{{{ | + | {{#ifeq:{{{mainurl|}}}|||{{Tablerow|Label='''Main URL:'''|Value=[[mainurl:={{{mainurl}}}]]}}}} |
|- | |- | ||
− | {{#ifeq:{{{ | + | {{#ifeq:{{{imdburl|}}}|||{{Tablerow|Label='''IMDB URL:'''|Value=[[imdburl:={{{imdburl}}}]]}}}} |
+ | |- | ||
+ | {{#ifeq:{{{distributer|}}}|||{{Tablerow|Label='''Distributer:'''|Value=[[distributer:={{{distributer}}}]]}}}} | ||
+ | |- | ||
+ | {{#ifeq:{{{releasedate|}}}|||{{Tablerow|Label='''Release Date:'''|Value=[[releasedate:={{{releasedate}}}]]}}}} | ||
|- | |- | ||
{{#ifeq:{{{license|}}}|||{{Tablerow|Label='''License:'''|Value=[[license:={{{license}}}]]}}}} | {{#ifeq:{{{license|}}}|||{{Tablerow|Label='''License:'''|Value=[[license:={{{license}}}]]}}}} | ||
Line 38: | Line 44: | ||
{{#ifeq:{{{cclicensed|}}}|||{{Tablerow|Label='''CC-Licensed Version:'''|Value=[[cclicensed:={{{cclicensed}}}]]}}}} | {{#ifeq:{{{cclicensed|}}}|||{{Tablerow|Label='''CC-Licensed Version:'''|Value=[[cclicensed:={{{cclicensed}}}]]}}}} | ||
|- | |- | ||
− | {{#ifeq:{{{ | + | {{#ifeq:{{{length|}}}|||{{Tablerow|Label='''Length (minutes):'''|Value=[[length:={{{length}}}]]}}}} |
|- | |- | ||
|} | |} | ||
[[Category:Film]]</includeonly> | [[Category:Film]]</includeonly> |
Latest revision as of 00:32, 30 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| imdburl= IMDB 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