Difference between revisions of "Template:Filmjr"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(232 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="font-size:0.8em;display:inline-block;float:right;padding:10px;margin:10px;background-color:#D6EBFF;">{{PAGEID}}</div>
<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|{{{title}}}|''{{{title}}}'' is a short film}}{{Ifndef|{{{title}}}|A short film}}{{Ifdef|{{{year}}}| from {{{year}}}}}{{Ifdef|{{{form}}}| released on {{{form}}}}}.
This is the Synopsis parameter, often referred to as desc or "Description
{{Ifdef|{{{oclc}}}|;OCLC Number: [http://www.worldcat.org/oclc/{{{oclc}}} {{{oclc}}}]}}
</noinclude>{{#if:{{{synop|}}}| {{DescUnpack|{{{synop}}}}}|{{#if:{{{desc|}}}| {{DescUnpack|{{{desc}}}}}|{{DescAttemptSynopSection}}}}}}<noinclude>
{{Ifdef|{{{ytlink}}}|;Watch on YouTube: [{{{ytlink|xxx}}} Watch this film on YouTube]}}
</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>
{{Ifwp|{{{ytlink}}}|{{{ytlink|xxx}}}|}}
Infobox_film
<hr>
</noinclude>{{Infobox_film
<small style="display:inline-block;padding:10px;margin:10px;background-color:#A989BF;">JRNav: [[:Category:Films]]{{Ifdef|{{{prev}}}| | [[{{{prev}}}|Prev]]}}{{Ifdef|{{{up}}}| | [[{{{up}}}|Up]]}}{{Ifdef|{{{next}}}| | [[{{{next}}}|Next]]}} </small>
| name          = {{{title}}}
<div style="clear:both;"></div>
| image          =
<hr>
| caption        =
{{Ifdef|{{{step}}}|[[Category:Filmstep_{{{step}}}]]}}[[Category: Films]]</includeonly><noinclude>
| director      =
 
| producer      = {{#if:{{{produ|}}}|[[Person:{{{produ}}}|{{{produ}}}]]|{{{pbrs}}}}}
== Template usage ==
| writer        =
 
| music          =
This template is used to describe a short film. 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)
| starring      = {{#if:{{{starring|}}}|{{#ifeq:{{{starring}}}|0|add stars|{{{starring}}}}}|}}
=== Ex 1 ===
| cinematography =
<pre><nowiki>{{Filmjr|title=|oclc=|form=|year=|up=|next=|prev=|step=}}</nowiki></pre>
| editing        =
 
| distributor    = {{#if:{{{dist|}}}|[[{{{dist}}}|{{{dist}}}]]|{{{pbrs}}}}}
=== Ex 2 ===
| released      = {{{year}}}
<pre><nowiki>
| runtime        = {{#if:{{{len|}}}|{{#ifeq:{{{len}}}|0|[[Category:Run Time Missing]]|{{{len}}}}}|[[Category:Run Time Missing]]}}
{{Filmjr
| country        =
|title=
| language      = {{#if:{{{lang|}}}|{{{lang}}}}}
|oclc=
| studio        = {{{pbrs}}}
|form=
| animator      = {{#if:{{{ani|}}}| {{#ifeq: {{AnimationUnpack|a={{{ani}}}}} | 1 | {{#if:{{{animator|}}}|{{{animator}}}|animator}} |}}|}}
|year=
| soundmix      = {{{soundmix}}}
|ytlink=
}}<noinclude>
|up=
end Infobox_film
|next=
</noinclude>{{#if:{{{oclc|}}}| {{OCLCUnpack|{{{oclc}}}|def}}|}}{{#ifeq: {{{embsv}}} | archiveorg | {{GifUnpack|id={{{embid}}}|a={{{athumb|}}}}} | }}<noinclude>
|prev=
arbitrary break, Jerimee's admin banner, named "DebugDisplay" follows
|step=
</noinclude>{{DebugDisplay|dopt={{{dopt}}}|s={{{step}}}|up={{{up}}}|prev={{{prev}}}|next={{{next}}}}}<noinclude>
}}
Three unnamed div endings, would be nice to indicate these...
</nowiki></pre>
</noinclude></div></div></div><noinclude>
 
Do categories:
== See Also ==
  1) check for bad namespace
* http://meta.wikimedia.org/wiki/Template:Ifdef
  2) assign year category
*[[Template:Ifdef]]
  3) language
*[[Template:Ifwp]]
  4) add films category
 
  5) step
  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>
end categories
</noinclude><div class="tplEnd"></div></includeonly><noinclude>
{{Documentation}}
[[Category:JR templates]]
[[Category:JR templates]]
</noinclude>
</noinclude>

Latest revision as of 15:59, 20 May 2022