Difference between revisions of "Template:Filmjr"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(252 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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|A short film}}{{Ifdef|{{{year}}}| from {{{year}}}}}{{Ifdef|{{{form}}}| released on {{{form}}}}}{{Ifdef|{{{title}}}|.}}
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>
<hr>
</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>
<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>
Infobox_film
<div style="clear:both;"></div>
</noinclude>{{Infobox_film
<hr>
| name          = {{{title}}}
{{Ifdef|{{{step}}}|[[Category:Filmstep_{{{step}}}]]}}<includeonly>[[Category: Films]]</includeonly><noinclude>
| image          =
 
| caption        =
== Template usage ==
| director      =
 
| producer      = {{#if:{{{produ|}}}|[[Person:{{{produ}}}|{{{produ}}}]]|{{{pbrs}}}}}
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)
| writer        =
=== Ex 1 ===
| music          =
<pre><nowiki>{{Filmjr|title=|oclc=|form=|year=|up=|next=|prev=|step=}}</nowiki></pre>
| starring      = {{#if:{{{starring|}}}|{{#ifeq:{{{starring}}}|0|add stars|{{{starring}}}}}|}}
 
| cinematography =
=== Ex 2 ===
| editing        =
<pre><nowiki>
| distributor    = {{#if:{{{dist|}}}|[[{{{dist}}}|{{{dist}}}]]|{{{pbrs}}}}}
{{Filmjr
| released      = {{{year}}}
|title=
| runtime        = {{#if:{{{len|}}}|{{#ifeq:{{{len}}}|0|[[Category:Run Time Missing]]|{{{len}}}}}|[[Category:Run Time Missing]]}}
|oclc=
| country        =
|form=
| language      = {{#if:{{{lang|}}}|{{{lang}}}}}
|year=
| studio        = {{{pbrs}}}
|up=
| animator      = {{#if:{{{ani|}}}| {{#ifeq: {{AnimationUnpack|a={{{ani}}}}} | 1 | {{#if:{{{animator|}}}|{{{animator}}}|animator}} |}}|}}
|next=
| soundmix      = {{{soundmix}}}
|prev=
}}<noinclude>
|step=
end Infobox_film
}}
</noinclude>{{#if:{{{oclc|}}}| {{OCLCUnpack|{{{oclc}}}|def}}|}}{{#ifeq: {{{embsv}}} | archiveorg | {{GifUnpack|id={{{embid}}}|a={{{athumb|}}}}} | }}<noinclude>
</nowiki></pre>
arbitrary break, Jerimee's admin banner, named "DebugDisplay" follows
 
</noinclude>{{DebugDisplay|dopt={{{dopt}}}|s={{{step}}}|up={{{up}}}|prev={{{prev}}}|next={{{next}}}}}<noinclude>
== See Also ==
Three unnamed div endings, would be nice to indicate these...
* http://meta.wikimedia.org/wiki/Template:Ifdef
</noinclude></div></div></div><noinclude>
*[[Template:Ifdef]]
Do categories:
 
  1) check for bad namespace
  2) assign year category
  3) language
  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