Template:Content: Difference between revisions

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
Created page with "<includeonly> {{#subobject: |Asset Category={{{Asset Category|}}} |Social Campaign Media={{{Social Campaign Media|}}} |Asset Description={{{Asset Description|}}} |Innnovative..."
 
No edit summary
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div class="p-3 mb-3 bg-light border-bottom col-md-8 col-lg-6">
{{#subobject:
=== {{{Asset Category|}}}{{#if:{{{Social Campaign Media|}}}|&#32;- {{{Social Campaign Media|}}}}} ===
|Asset Category={{{Asset Category|}}}
{{#if: {{{Asset Description|}}}|<div style="margin:.5rem 0">'''Description''': {{{Asset Description|}}}</div>}}<!--
|Social Campaign Media={{{Social Campaign Media|}}}
 
|Asset Description={{{Asset Description|}}}
-->{{#if: {{{Innovative Features|}}}|<div style="margin:.5rem 0">'''Innovative Features''': {{{Innovative Features|}}}</div>}}<!--
|Innnovative Features={{{Innnovative Features|}}}
 
|Has URL={{{Has URL|}}}
-->{{#ask: [[-Has subobject::+]][[Award Type::+]][[Asset ID::{{{Asset ID|}}}]]
|Has Video={{{Video|}}}|+sep=\n
  |?Award Type
}}
  |?Award Details
</includeonly>
  |?Award Year
  |?Award Outcome
  |?Award Winner Rank
  |sort=Award Year
  |order=asc
  |mainlabel=-
  |headers=hide
  |format=plainlist
  |template=Award badge
  |default=
  |named args=yes
  |intro=<div style="margin:.5rem 0">'''Awards''':
  |outro=</div>
}}<!--
--><div style="margin:.5rem 0">'''Gallery''':</div>
{{#ask: [[File:+]][[Project::{{FULLPAGENAME}}]]{{#if:{{{Asset Category|}}}|[[Asset Category::{{{Asset Category|}}}]]}}{{#if:{{{Social Campaign Media|}}}|[[Social Campaign Media::{{{Social Campaign Media|}}}]]}}
  |format=gallery
  |widget=slideshow
  |navigation=pager
  |heights=200
  |widths=300
  |order=random
}} 
{{#batchupload:Image|Agency Name={{#titleparts:{{PAGENAME}}|1}}|Film={{#titleparts:{{PAGENAME}}||-1}}|Project={{FULLPAGENAME}}|Asset Category={{{Asset Category|}}}|Social Campaign Media={{{Social Campaign Media|}}} }}
{{#if: {{{Video|}}}|
;Video
{{#arraymap:{{{Video|}}}
  |\n
  |@@@
  |{{#switch:{{#sub:@@@|8|9}}
    |vimeo.com
    |www.youtu
    |youtube.c
    |youtu.be/={{#evu:@@@}}
    |#default={{video|@@@}}
  }}
  |
}}}}
</div>{{#subobject:
|Asset ID={{{Asset ID|}}}
|Asset Category={{{Asset Category|}}}
|Social Campaign Media={{{Social Campaign Media|}}}
|Asset Description={{{Asset Description|}}}
|Innovative Features={{{Innnovative Features|}}}
|Has URL={{{Has URL|}}}
|Has Video={{#arraymap:{{{Video|}}}|\n|@@@|@@@|;}}|+sep=;
|Dt-Film={{#titleparts:{{FULLPAGENAME}}||-1}}
|Dt-Title={{#show:{{#titleparts:{{FULLPAGENAME}}||-1}}|?Title}}
|Dt-Year={{#show:{{#titleparts:{{FULLPAGENAME}}||-1}}|?Original Release Year}}
|Dt-Studio={{#show:{{#titleparts:{{FULLPAGENAME}}||-1}}|?Studio Name}}
|Dt-Agency={{#titleparts:{{FULLPAGENAME}}|1}}
|Dt-Function={{#show:{{FULLPAGENAME}}|?Agency Core Function}}|+sep=,
|Dt-Project={{#show:{{FULLPAGENAME}}|?Project Name}}
}}</includeonly>

Latest revision as of 21:19, February 15, 2026