Difference between revisions of "Template:Content"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
 
(18 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">
 
=== {{{Asset Category|}}}{{#if:{{{Social Campaign Media|}}}|&#32;- {{{Social Campaign Media|}}}}} ===
 
=== {{{Asset Category|}}}{{#if:{{{Social Campaign Media|}}}|&#32;- {{{Social Campaign Media|}}}}} ===
{{#ask: [[-Has subobject::+]][[Award Type::+]][[Asset ID::{{{Asset ID|}}}]]  
+
{{#if: {{{Asset Description|}}}|<div style="margin:.5rem 0">'''Description''': {{{Asset Description|}}}</div>}}<!--
 +
 
 +
-->{{#if: {{{Innovative Features|}}}|<div style="margin:.5rem 0">'''Innovative Features''': {{{Innovative Features|}}}</div>}}<!--
 +
 
 +
-->{{#ask: [[-Has subobject::+]][[Award Type::+]][[Asset ID::{{{Asset ID|}}}]]  
 
   |?Award Type  
 
   |?Award Type  
 
   |?Award Details  
 
   |?Award Details  
Line 7: Line 11:
 
   |?Award Outcome  
 
   |?Award Outcome  
 
   |?Award Winner Rank  
 
   |?Award Winner Rank  
 +
  |sort=Award Year
 +
  |order=asc
 
   |mainlabel=-  
 
   |mainlabel=-  
 
   |headers=hide  
 
   |headers=hide  
Line 12: Line 18:
 
   |template=Award badge  
 
   |template=Award badge  
 
   |default=
 
   |default=
}}
+
  |named args=yes
{{#if: {{{Asset Description|}}}|<div style="margin:.5rem 0">'''Description''': {{{Asset Description|}}}</div>}}<!--
+
  |intro=<div style="margin:.5rem 0">'''Awards''':
 
+
  |outro=</div>
-->{{#if: {{{Innovative Features|}}}|<div style="margin:.5rem 0">'''Innovative Features''': {{{Innovative Features|}}}</div>}}
+
}}<!--
 
+
;Gallery
+
--><div style="margin:.5rem 0">'''Gallery''':</div>
{{#ask: [[File:+]][[Project::{{FULLPAGENAME}}]][[Asset Category::{{{Asset Category|}}}]]{{#if:{{{Social Campaign Media|}}}|[[Social Campaign Media::{{{Social Campaign Media|}}}]]}}
+
{{#ask: [[File:+]][[Project::{{FULLPAGENAME}}]]{{#if:{{{Asset Category|}}}|[[Asset Category::{{{Asset Category|}}}]]}}{{#if:{{{Social Campaign Media|}}}|[[Social Campaign Media::{{{Social Campaign Media|}}}]]}}
 
   |format=gallery
 
   |format=gallery
 
   |widget=slideshow
 
   |widget=slideshow
Line 35: Line 41:
 
   |
 
   |
 
}}}}
 
}}}}
{{#subobject:
+
</div>{{#subobject:
 
  |Asset ID={{{Asset ID|}}}
 
  |Asset ID={{{Asset ID|}}}
 
  |Asset Category={{{Asset Category|}}}
 
  |Asset Category={{{Asset Category|}}}
Line 43: Line 49:
 
  |Has URL={{{Has URL|}}}
 
  |Has URL={{{Has URL|}}}
 
  |Has Video={{#arraymap:{{{Video|}}}|\n|@@@|@@@|;}}|+sep=;
 
  |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>
 
}}</includeonly>

Latest revision as of 17:04, October 21, 2021