Template:Video: Difference between revisions

From Hidden Palace
Jump to navigation Jump to search
(Created page with "<includeonly>{| cellpadding="0" cellspacing="0" class="infobox" style="margin-left:1em" width="{{ #if: {{{boxwidth|}}} | {{{boxwidth}}} | 262 }}px" | style="text-align: cente...")
 
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| cellpadding="0" cellspacing="0" class="infobox" style="margin-left:1em" width="{{ #if: {{{boxwidth|}}} | {{{boxwidth}}} | 262 }}px"
<includeonly>{| cellpadding="0" cellspacing="0" class="infobox" style="margin-left:1em" width="{{ #if: {{{boxwidth|}}} | {{{boxwidth}}} | 262 }}px"
|  style="text-align: center;" | {{#if: {{{noscreen|}}} |  | {{imageexists
|  style="text-align: center" | {{#if: {{{noscreen|}}} |  | {{imageexists
| file = {{#if: {{{titlescreen|}}} | {{{titlescreen}}} | {{PAGENAME}}-title.png }}
| file = {{#if: {{{titlescreen|}}} | {{{titlescreen}}} | {{PAGENAME}}-title.png }}
| maxwidth = 320
| maxwidth = 320
| caption= Screenshot
| caption= Screenshot
| property= Has video screenshot
| property= Has title screenshot
| missingcat = Missing video screenshots }}}}
| missingcat = Missing video screenshots }}}}
|-class="infobox-title"
|-class="infobox-title infobox-video"
! {{#replace:{{PAGENAME}}|!|&#33;}}
! <i class="fa fa-video-camera" aria-hidden="true"></i> {{#replace:{{#replace:{{#replace:{{PAGENAME}}|Video/|}}|!|&#33;}}|/|&nbsp;·&nbsp;}}
|-
|-
|style="padding: 10px; line-height: 1.5em;" |
|style="padding: 10px; line-height: 1.5em;" |
{|
{|
{{ #if: {{{date|}}} | {{!}}'''Date''' {{!}}{{!}} [[Has video date::{{{date}}}]] [[Has sort date::{{{date}}}| ]]  
{{ #if: {{{date|}}} | {{!}}'''Date''' {{!}}{{!}} [[Has video date::{{{date}}}]] [[Has sort date::{{{date}}}| ]]  
{{!}}- | }}
{{ #if: {{{version|}}} | {{!}}'''Version''' {{!}}{{!}} {{{version}}}
{{ #if: {{{version|}}} | {{!}}'''Version''' {{!}}{{!}} {{{version}}}
{{!}}- | }}
{{!}}- | }}
{{ #if: {{{status|}}} | {{!}}'''Dump status''' {{!}}{{!}} [[Has status::{{{status}}}]]
{{ #if: {{{video_status|}}} | {{!}}'''Status''' {{!}}{{!}} [[Has video status::{{{video_status}}}]]
{{!}}- | }}
{{!}}- | }}
{{#arraydefine: transfered_bys
{{#arraydefine: transferred_bys
  | {{{transferedby|}}}
  | {{{transferredby|}}}
  | , | sort=asc, unique
  | , | sort=asc, unique
}}
}}
{{ #if: {{{transferedby|}}} | {{!}}'''Transfered by''' {{!}}{{!}} {{#arrayprint: transfered_bys |,&nbsp;|@@@@|[[Was transfered by::@@@@| ]]{{Autolink user|@@@@}}|}}
{{ #if: {{{transferredby|}}} | {{!}}'''Transferred by''' {{!}}{{!}} {{#arrayprint: transferred_bys |,&nbsp;|@@@@|[[Was transferred by::@@@@| ]]{{Autolink user|@@@@}}|}}
{{!}}- | }}
{{!}}- | }}
{{#arraydefine: released_bys
{{#arraydefine: released_bys
Line 30: Line 31:
{{ #if: {{{filereleasedate|}}} | {{!}}'''File release date''' {{!}}{{!}} [[Has file release date::{{{filereleasedate}}}]] {{ #if: {{{date|}}} | | [[Has sort date::{{{filereleasedate}}}| ]] }}  
{{ #if: {{{filereleasedate|}}} | {{!}}'''File release date''' {{!}}{{!}} [[Has file release date::{{{filereleasedate}}}]] {{ #if: {{{date|}}} | | [[Has sort date::{{{filereleasedate}}}| ]] }}  
{{!}}- | {{ #if: {{{date|}}} | |  [[Has sort date::1970| ]] }} }}
{{!}}- | {{ #if: {{{date|}}} | |  [[Has sort date::1970| ]] }} }}
{{ #if: {{{origin_type|}}} | {{!}} style="padding-top: 14px" {{!}}'''Origin'''
{{ #if: {{{video_media|}}} | {{!}} style="padding-top: 14px" {{!}}'''Media'''
{{!}} style="padding-top: 14px" {{!}} {{{origin_type}}}
{{!}} style="padding-top: 14px" {{!}} {{{video_media}}}
{{!}}- | }}
{{!}}- | }}
{{ #if: {{{origin_lot|}}} | {{!}}'''Lot''' {{!}}{{!}} [[Has origin lot::{{{origin_lot}}}]]
{{ #if: {{{origin_lot|}}} | {{!}}'''Lot''' {{!}}{{!}} [[Has origin lot::{{{origin_lot}}}]]
Line 47: Line 48:
{{ #if: {{{origin_ownership|}}} | {{!}}'''Ownership''' {{!}}{{!}} {{{origin_ownership}}}
{{ #if: {{{origin_ownership|}}} | {{!}}'''Ownership''' {{!}}{{!}} {{{origin_ownership}}}
{{!}}- | }}
{{!}}- | }}
{{ #if: {{{game|}}} | {{!}} style="padding-top: 14px" {{!}}'''Game'''
{{#arraydefine: games
{{!}} style="padding-top: 14px" {{!}} [[Has game::{{{game}}}]] [[Category:{{{game}}} videos]]
| {{{game|}}}
| ;
}}
{{ #if: {{{game|}}} | {{!}} style="padding-top: 14px" {{!}}'''{{#ifexpr: {{#arraysize:games}} > 1 |Games|Game}}'''
{{!}} style="padding-top: 14px" {{!}} {{#arrayprint: games |<br>|@@@@|[[Has game::@@@@]] [[Category:@@@@ videos]]|}}
{{!}}- | }}
{{!}}- | }}
{{ #if: {{{name|}}} | {{!}} style="padding-top: 14px" {{!}}'''Name'''
{{ #if: {{{name|}}} | {{!}} style="padding-top: 14px" {{!}}'''Name'''
{{!}} style="padding-top: 14px" {{!}} {{{name}}}
{{!}} style="padding-top: 14px" {{!}} {{{name}}}
{{!}}- | }}
{{!}}- | }}
{{ #if: {{{system|}}} | {{!}}'''System''' {{!}}{{!}} {{ #if: {{{game|}}} | {{system|{{{system}}}}} | {{{system}}} }} [[Has system::{{{system}}}| ]]
{{ #if: {{{system|}}} | {{!}}'''System''' {{!}}{{!}} {{ #if: {{{game|}}} | {{system|{{{system}}}|videos}} | {{{system}}} }} [[Has system::{{{system}}}| ]]
{{!}}- | }}
{{!}}- | }}
{{ #if: {{{genre|}}} | {{!}}'''Genre''' {{!}}{{!}} [[Has genre::{{{genre}}}]]
{{ #if: {{{genre|}}} | {{!}}'''Genre''' {{!}}{{!}} [[Has genre::{{{genre}}}]]
Line 66: Line 71:
{{!}}- | [[Is unreleased::false| ]] }}
{{!}}- | [[Is unreleased::false| ]] }}
|}
|}
|}{{#default_form:Video}}</includeonly>
|}[[Has article type::Video| ]]{{#default_form:Video}}[[Display title of::{{#regex: {{PAGENAME}} | /.*\/(.*?)/ |$1}}|]]</includeonly>

Latest revision as of 07:07, November 24, 2022