Template:Video: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(23 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 | | 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 | | property= Has title screenshot | ||
| missingcat = Missing video screenshots }}}} | | missingcat = Missing video screenshots }}}} | ||
|-class="infobox-title" | |-class="infobox-title infobox-video" | ||
! {{#replace:{{PAGENAME}}|!|!}} | ! <i class="fa fa-video-camera" aria-hidden="true"></i> {{#replace:{{#replace:{{#replace:{{PAGENAME}}|Video/|}}|!|!}}|/| · }} | ||
|- | |- | ||
|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: {{{ | {{ #if: {{{video_status|}}} | {{!}}'''Status''' {{!}}{{!}} [[Has video status::{{{video_status}}}]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{#arraydefine: transferred_bys | {{#arraydefine: transferred_bys | ||
| {{{ | | {{{transferredby|}}} | ||
| , | sort=asc, unique | | , | sort=asc, unique | ||
}} | }} | ||
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: {{{ | {{ #if: {{{video_media|}}} | {{!}} style="padding-top: 14px" {{!}}'''Media''' | ||
{{!}} style="padding-top: 14px" {{!}} {{{ | {{!}} 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|}}} | ||
| ; | |||
}} | |||
{{ #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> |