Difference between revisions of "Template:Filmjr"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(187 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#fas:film}} {{Ifdef|{{{title}}}|'''{{{title}}}''' is a short film}}{{Ifndef|{{{title}}}|A short film}}{{Ifdef|{{{year}}}| from {{{year}}}}}{{Ifdef|{{{form}}}| released on {{{form}}}}}.
<includeonly><div class="tplContainer"><p>{{DispTitleUnpack|{{{title}}}|{{NAMESPACENUMBER}}}} {{Ifdef|{{{title}}}|'''{{{title}}}''' is a short film}}{{Ifndef|{{{title}}}|A short film}}{{DateUnpack|y={{trim| {{{year}}} }}|opt=a}}{{FormaUnpack|f={{{forma}}}}}. {{#if:{{{heldby|}}}| {{HeldbyUnpack|h={{{heldby}}}}}|}}</p><noinclude>
{{Ifdef|{{{oclc}}}|;OCLC Number: [http://www.worldcat.org/oclc/{{{oclc}}} {{{oclc}}}]}}
This is the Synopsis parameter, often referred to as desc or "Description
{{#if:{{{lang|}}}|;Language:{{{lang}}}|}}<hr>
</noinclude>{{#if:{{{synop|}}}| {{DescUnpack|{{{synop}}}}}|{{#if:{{{desc|}}}| {{DescUnpack|{{{desc}}}}}|{{DescAttemptSynopSection}}}}}}<noinclude>
<small style="display:inline-block;padding:10px;margin:10px;background-color:#A989BF;">JRDebug NS:  {{SUBJECTSPACE}} ID: {{PAGEID}} [[:Category:Films]]{{Ifdef|{{{prev}}}| | [[{{{prev}}}|Prev]]}}{{Ifdef|{{{up}}}| | [[{{{up}}}|Up]]}}{{Ifdef|{{{next}}}| | [[{{{next}}}|Next]]}} </small>
</noinclude><div class="tplFlex">{{#if:{{{dopt|}}}| {{DoptUnpack|dopt={{{dopt}}}|embid={{{embid}}}|embsv={{{embsv}}}}}|<!-- dopt undef or unset --> <div class="tplFlexLeft">{{EmbedIdUnpack|{{{embid}}}|{{{embsv}}}}}</div>}}<div class="tplFlexRight"><noinclude>
<div style="clear:both;"></div>
Infobox_film
<hr>
</noinclude>{{Infobox_film
{{Ifdef|{{{step}}}|[[Category:Filmstep_{{{step}}}]]}}[[Category: Films]]{{#if:{{{lang|}}}|{{Ifdef|{{{lang}}}|[[Category:{{{lang}}} Language Films]]}}{{Ifndef|{{{lang}}}|[[Category:Unknown Language Films]]}}|}}
| name          = {{{title}}}
 
| image          =
{{#if:{{{heldby|}}}|{{heldbyunpack|{{{heldby}}}}}|}}
| caption        =
 
| director      =
</includeonly><noinclude>
| producer      = {{#if:{{{produ|}}}|[[Person:{{{produ}}}|{{{produ}}}]]|{{{pbrs}}}}}
 
| writer        =
== Template usage ==
| music          =
 
| starring      = {{#if:{{{starring|}}}|{{#ifeq:{{{starring}}}|0|add stars|{{{starring}}}}}|}}
This template is used to describe a short film.
| cinematography =
 
| editing        =
As of now, it might be a bit picky about white space - can fix that later [[User:JJR|JJR]] ([[User talk:JJR|talk]]) 09:00, 26 October 2021 (EDT)
| distributor    = {{#if:{{{dist|}}}|[[{{{dist}}}|{{{dist}}}]]|{{{pbrs}}}}}
 
| released      = {{{year}}}
This is a WIP [[User:JJR|JJR]] ([[User talk:JJR|talk]]) 21:33, 5 November 2021 (EDT)
| runtime        = {{#if:{{{len|}}}|{{#ifeq:{{{len}}}|0|[[Category:Run Time Missing]]|{{{len}}}}}|[[Category:Run Time Missing]]}}
 
| country        =
=== Field definitions ===
| language      = {{#if:{{{lang|}}}|{{{lang}}}}}
 
| studio        = {{{pbrs}}}
;Filmjr
| animator      = {{#if:{{{ani|}}}| {{#ifeq: {{AnimationUnpack|a={{{ani}}}}} | 1 | {{#if:{{{animator|}}}|{{{animator}}}|animator}} |}}|}}
:<pre>0 {{Filmjr=</pre>
| soundmix      = {{{soundmix}}}
:This is simply the template name. The designation is arbitrary. Provide no value here.
}}<noinclude>
 
end Infobox_film
;Title
</noinclude>{{#if:{{{oclc|}}}| {{OCLCUnpack|{{{oclc}}}|def}}|}}{{#ifeq: {{{embsv}}} | archiveorg | {{GifUnpack|id={{{embid}}}|a={{{athumb|}}}}} | }}<noinclude>
:<pre>1 |title=</pre>
arbitrary break, Jerimee's admin banner, named "DebugDisplay" follows
:The title of the short film. If this short film's name was to be placed upon a marque or a printed program, how should it be rendered? Supply that here.
</noinclude>{{DebugDisplay|dopt={{{dopt}}}|s={{{step}}}|up={{{up}}}|prev={{{prev}}}|next={{{next}}}}}<noinclude>
 
Three unnamed div endings, would be nice to indicate these...
;OCLC
</noinclude></div></div></div><noinclude>
:<pre>2 |oclc=</pre>
Do categories:  
:The OCLC identifier, as used in the WorldCat database.
  1) check for bad namespace
:https://en.wikipedia.org/wiki/OCLC
  2) assign year category
 
  3) language
;Form
  4) add films category
:<pre>3 |form=</pre>
  5) step
:format the film was primarily released upon (ie. 16mm)
  6) animation
 
</noinclude>{{#ifeq: {{NAMESPACENUMBER}} | 162 | | [[Category:Film Bad NS]]}}{{DateUnpack|y={{{year}}}|opt=c}}{{#if:{{{lang}}}|{{Ifdef|{{{lang}}}|[[Category:{{{lang}}} Language Movies]]}}|{{Ifndef|{{{lang}}}|[[Category:Unknown Language Movies]]}}}}[[Category: Films]]{{Ifdef|{{{step}}}|[[Category:Filmstep_{{{step}}}]]}}{{#if:{{{ani|}}}| {{#ifeq: {{AnimationUnpack|a={{{ani}}}}} | 1 | [[Category:Movies_with_Animation]] |}}|}}<noinclude>
;Year
end categories
:<pre>4 |year=</pre>
</noinclude><div class="tplEnd"></div></includeonly><noinclude>
 
{{Documentation}}
;Up
:<pre>5 |up=</pre>
 
;Next
:<pre>6 |next=</pre>
:If this film is episodic, the next episode is indicated here.
 
;Prev
:<pre>7 |prev=</pre>
:If this film is episodic, the preceding episode is given here.
 
;Step
:<pre>8 |step=</pre>
:An admin label used to track workflow. Something like that.
 
;Lang
:<pre>9 |lang=</pre>
:Language the film primarily uses
 
== Examples ==
 
=== Unpopulated Examples ===
==== Ex 1 ====
<pre><nowiki>{{Filmjr|title=|oclc=|form=|year=|up=|next=|prev=|step=}}</nowiki></pre>
 
==== Ex 2 ====
Feel free to cut and past this example, but don't edit this section of the wiki on this page. Cut and paste via the Read tab - NOT the edit this tab.
{{Template:Filmjr/Tclude}}
 
==== Ex 3 ====
<pre><nowiki>
{{Filmjr
|title=
|oclc=
|form=
|year=
|up=
|next=
|prev=
|step=
}}
</nowiki></pre>
 
== See Also ==
* http://meta.wikimedia.org/wiki/Template:Ifdef
* [[Template:Ifdef]]
* [[Template:Ifwp]]
* Example 2 is provided by this child transclusion page: [[Template:Filmjr/Tclude]]
* [http://ephemeralfilm.info/index.php?title=Template:Filmjr&action=purge Purge]
[[Category:JR templates]]
[[Category:JR templates]]
</noinclude>
</noinclude>

Latest revision as of 15:59, 20 May 2022