Difference between revisions of "Template:Filmjr"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(213 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}}}]}}<hr>
</noinclude>{{#if:{{{synop|}}}| {{DescUnpack|{{{synop}}}}}|{{#if:{{{desc|}}}| {{DescUnpack|{{{desc}}}}}|{{DescAttemptSynopSection}}}}}}<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>
</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]]</includeonly><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        =
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)
| music          =
 
| starring      = {{#if:{{{starring|}}}|{{#ifeq:{{{starring}}}|0|add stars|{{{starring}}}}}|}}
WIP [[User:JJR|JJR]] ([[User talk:JJR|talk]]) 21:33, 5 November 2021 (EDT)
| cinematography =
=== Ex 1 ===
| editing        =
<pre><nowiki>{{Filmjr|title=|oclc=|form=|year=|up=|next=|prev=|step=}}</nowiki></pre>
| distributor    = {{#if:{{{dist|}}}|[[{{{dist}}}|{{{dist}}}]]|{{{pbrs}}}}}
 
| released      = {{{year}}}
=== Ex 2 ===
| runtime        = {{#if:{{{len|}}}|{{#ifeq:{{{len}}}|0|[[Category:Run Time Missing]]|{{{len}}}}}|[[Category:Run Time Missing]]}}
Feel free to cut and past this example, but don't you edit it. '''Don't do it. I insist. Don't click that edit link.'''
| country        =
{{Template:Filmjr/Tclude}}
| language      = {{#if:{{{lang|}}}|{{{lang}}}}}
 
| studio        = {{{pbrs}}}
=== Ex 3 ===
| animator      = {{#if:{{{ani|}}}| {{#ifeq: {{AnimationUnpack|a={{{ani}}}}} | 1 | {{#if:{{{animator|}}}|{{{animator}}}|animator}} |}}|}}
<pre><nowiki>
| soundmix      = {{{soundmix}}}
{{Filmjr
}}<noinclude>
|title=
end Infobox_film
|oclc=
</noinclude>{{#if:{{{oclc|}}}| {{OCLCUnpack|{{{oclc}}}|def}}|}}{{#ifeq: {{{embsv}}} | archiveorg | {{GifUnpack|id={{{embid}}}|a={{{athumb|}}}}} | }}<noinclude>
|form=
arbitrary break, Jerimee's admin banner, named "DebugDisplay" follows
|year=
</noinclude>{{DebugDisplay|dopt={{{dopt}}}|s={{{step}}}|up={{{up}}}|prev={{{prev}}}|next={{{next}}}}}<noinclude>
|up=
Three unnamed div endings, would be nice to indicate these...
|next=
</noinclude></div></div></div><noinclude>
|prev=
Do categories:
|step=
  1) check for bad namespace
}}
  2) assign year category
</nowiki></pre>
  3) language
 
  4) add films category
== See Also ==
  5) step
* http://meta.wikimedia.org/wiki/Template:Ifdef
  6) animation
* [[Template:Ifdef]]
</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>
* [[Template:Ifwp]]
end categories
* Example 2 is provided by this child transclusion page: [[Template:Filmjr/Tclude]]
</noinclude><div class="tplEnd"></div></includeonly><noinclude>
* [http://ephemeralfilm.info/index.php?title=Template:Filmjr&action=purge Purge]
{{Documentation}}
[[Category:JR templates]]
[[Category:JR templates]]
</noinclude>
</noinclude>

Latest revision as of 15:59, 20 May 2022