Difference between revisions of "Template:Filmjr"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(202 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}}}}}|}}
This is a WIP [[User:JJR|JJR]] ([[User talk:JJR|talk]]) 21:33, 5 November 2021 (EDT)
| cinematography =
 
| editing        =
=== Field definitions ===
| distributor    = {{#if:{{{dist|}}}|[[{{{dist}}}|{{{dist}}}]]|{{{pbrs}}}}}
 
| released      = {{{year}}}
;Filmjr
| runtime        = {{#if:{{{len|}}}|{{#ifeq:{{{len}}}|0|[[Category:Run Time Missing]]|{{{len}}}}}|[[Category:Run Time Missing]]}}
:<pre>0 {{Filmjr=</pre>
| country        =
:This is simply the template name. The designation is arbitrary. Provide no value here.
| language      = {{#if:{{{lang|}}}|{{{lang}}}}}
 
| studio        = {{{pbrs}}}
;Title
| animator      = {{#if:{{{ani|}}}| {{#ifeq: {{AnimationUnpack|a={{{ani}}}}} | 1 | {{#if:{{{animator|}}}|{{{animator}}}|animator}} |}}|}}
:<pre>1 |title=</pre>
| soundmix      = {{{soundmix}}}
: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>
 
end Infobox_film
;OCLC
</noinclude>{{#if:{{{oclc|}}}| {{OCLCUnpack|{{{oclc}}}|def}}|}}{{#ifeq: {{{embsv}}} | archiveorg | {{GifUnpack|id={{{embid}}}|a={{{athumb|}}}}} | }}<noinclude>
:<pre>2 |oclc=</pre>
arbitrary break, Jerimee's admin banner, named "DebugDisplay" follows
:The OCLC identifier, as used in the WorldCat database.
</noinclude>{{DebugDisplay|dopt={{{dopt}}}|s={{{step}}}|up={{{up}}}|prev={{{prev}}}|next={{{next}}}}}<noinclude>
:https://en.wikipedia.org/wiki/OCLC
Three unnamed div endings, would be nice to indicate these...
 
</noinclude></div></div></div><noinclude>
;Form
Do categories:  
:<pre>(|year=)</pre>
  1) check for bad namespace
 
  2) assign year category
;Form
  3) language
:<pre>(|year=)</pre>
  4) add films category
 
  5) step
;Up
  6) animation
:<pre>(|up=)</pre>
</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
;Next
</noinclude><div class="tplEnd"></div></includeonly><noinclude>
:<pre>(|next=)</pre>
{{Documentation}}
:If this film is episodic, the next episode is indicated here.
 
;Prev
:<pre>(|prev=)</pre>
:If this film is episodic, the preceding episode is given here.
 
;Step
:<pre>(|step=)</pre>
:An admin label used to track workflow. Something like that.
 
== 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 you edit it. '''Don't do it. I insist. Don't click that edit link.'''
{{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