Difference between revisions of "Template:Filmjr"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(266 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>
<hr>
This is the Synopsis parameter, often referred to as desc or "Description
<small style="display:inline-block;padding:10px;margin:10px;background-color:#A9898F;">JRNav: [[:Category:Films]]{{Ifdef|{{{prev}}}| | [[{{{prev}}}|Prev]]}}{{Ifdef|{{{up}}}| | [[{{{up}}}|Up]]}}{{Ifdef|{{{next}}}| | [[{{{next}}}|Next]]}} </small>
</noinclude>{{#if:{{{synop|}}}| {{DescUnpack|{{{synop}}}}}|{{#if:{{{desc|}}}| {{DescUnpack|{{{desc}}}}}|{{DescAttemptSynopSection}}}}}}<noinclude>
<div style="clear:both;"></div>
</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>
<hr>
Infobox_film
{{Ifdef|{{{step}}}|[[Category:Filmstep_{{{step}}}]]}}[[Category: Films]]
</noinclude>{{Infobox_film
<noinclude>
| name          = {{{title}}}
 
| image          =
== Template usage ==
| caption        =
 
| director      =
This template is used to describe a short film
| producer      = {{#if:{{{produ|}}}|[[Person:{{{produ}}}|{{{produ}}}]]|{{{pbrs}}}}}
 
| writer        =
<pre><nowiki>{{Filmjr|up=|next=|prev=|step=}}</nowiki></pre>
| music          =
 
| starring      = {{#if:{{{starring|}}}|{{#ifeq:{{{starring}}}|0|add stars|{{{starring}}}}}|}}
== See Also ==
| cinematography =
* http://meta.wikimedia.org/wiki/Template:Ifdef
| editing        =
*[[Template:Ifdef]]
| distributor    = {{#if:{{{dist|}}}|[[{{{dist}}}|{{{dist}}}]]|{{{pbrs}}}}}
| released      = {{{year}}}
| runtime        = {{#if:{{{len|}}}|{{#ifeq:{{{len}}}|0|[[Category:Run Time Missing]]|{{{len}}}}}|[[Category:Run Time Missing]]}}
| country        =
| language      = {{#if:{{{lang|}}}|{{{lang}}}}}
| studio        = {{{pbrs}}}
| animator      = {{#if:{{{ani|}}}| {{#ifeq: {{AnimationUnpack|a={{{ani}}}}} | 1 | {{#if:{{{animator|}}}|{{{animator}}}|animator}} |}}|}}
| soundmix      = {{{soundmix}}}
}}<noinclude>
end Infobox_film
</noinclude>{{#if:{{{oclc|}}}| {{OCLCUnpack|{{{oclc}}}|def}}|}}{{#ifeq: {{{embsv}}} | archiveorg | {{GifUnpack|id={{{embid}}}|a={{{athumb|}}}}} | }}<noinclude>
arbitrary break, Jerimee's admin banner, named "DebugDisplay" follows
</noinclude>{{DebugDisplay|dopt={{{dopt}}}|s={{{step}}}|up={{{up}}}|prev={{{prev}}}|next={{{next}}}}}<noinclude>
Three unnamed div endings, would be nice to indicate these...
</noinclude></div></div></div><noinclude>
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]]
</noinclude>
</noinclude>

Latest revision as of 15:59, 20 May 2022