Difference between revisions of "Template:Infobox/video"

From CWCki
Jump to navigation Jump to search
m
 
(15 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>'''''NOTE:''' This Infobox is for use ONLY with TRUE and HONEST CWC Videos, Listed in [[List_of_videos|the video section]].''
<noinclude>'''''NOTE:''' This Infobox is for use ONLY with TRUE and HONEST CWC Videos, Listed in [[List_of_videos|the video section]].''


''For infoboxes, meant for other videos {{c|Infoboxes|go here}}.''</noinclude>
''For infoboxes, meant for other videos {{c|Infoboxes|go here}}.''
<includeonly>{| style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: .5em auto .5em auto; padding: 0.2em; font-size:89%; width:260px;"
 
|-
There are two ways to include the video in the infobox, one is by using the video variable and directly inputting the [https://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo] element like in the first example.
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | ''{{{name}}}''
The other way is to directly supply the YouTube video ID in question (e.g: AaxuXRbdn4A). This obviously only works for YouTube videos and no other platform (although a custom video id variable can be added for any platform that EmbedVideo supports).
</noinclude>
<includeonly>{| style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: .5em auto .5em auto; padding: 0.2em; font-size:89%; width:260px;-moz-border-radius:10px"
| align="center" colspan=2 bgcolor="#3366CC" style="font-size:110%; color:#ffffff;-moz-border-radius:10px" | '''{{{name}}}'''<br>
|- style="text-align:center;"
|- style="text-align:center;"
{{#if: {{{image|}}} | {{!}} colspan="2" {{!}} {{{image}}}}}
|- style="text-align:center;"
|- style="text-align:center;"
{{#if: {{{image|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} {{{image}}} }}
{{#if: {{{video|}}} | {{!}} colspan="2" {{!}} {{{video}}} }}
|- style="text-align:center;"
|- style="text-align:center;"
{{#if: {{{video|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} {{{video}}} }}
{{#if: {{{ytid|}}} | {{!}} colspan="2" {{!}} {{#ev:youtube|{{{ytid}}} }} }}
|- valign="top"
{{#if:{{{ytid|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Direct link'''
{{pipe}} [https://youtube.com/watch?v={{{ytid}}} YouTube], [https://ghostarchive.org/varchive/{{{ytid}}} archive] }}
|- valign="top"
{{#if:{{{video|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Search for video'''
{{pipe}} [https://www.youtube.com/results?search_query={{urlencode:{{{name}}}}} YouTube], [https://ghostarchive.org/vidsearch?q={{urlencode:{{{name}}} }} archive]
}}
|- valign="top"
{{#if:{{{Stardate|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Stardate'''
{{pipe}} {{{Stardate|Game}}} }}
|- valign="top"
{{#if:{{{stardate|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Stardate'''
{{pipe}} {{{stardate|Game}}} }}
|- valign="top"
{{#if:{{{Subject Matter|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Subject Matter'''
{{pipe}} {{{Subject Matter|Game}}} }}
|- valign="top"
{{#if:{{{subject|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Subject Matter'''
{{pipe}} {{{subject|Game}}} }}
|- valign="top"
{{#if:{{{Performance Style|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Performance Style'''
{{pipe}} {{{Performance Style|Game}}} }}
|- valign="top"
{{#if:{{{style|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Performance Style'''
{{pipe}} {{{style|Game}}} }}
|- valign="top"
{{#if:{{{Saga|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Saga'''
{{pipe}} {{{Saga|Game}}} }}
|- valign="top"
{{#if:{{{saga|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Saga'''
{{pipe}} {{{saga|Game}}} }}
|- valign="top"
{{#if:{{{Shirt|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Shirt'''
{{pipe}} {{{Shirt|Game}}} }}
|- valign="top"
{{#if:{{{shirt|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Shirt'''
{{pipe}} {{{shirt|Game}}} }}
|- valign="top"
{{#if:{{{Location|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Location'''
{{pipe}} {{{Location|Game}}} }}
|- valign="top"
{{#if:{{{location|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Location'''
{{pipe}} {{{location}}} }}
|- valign="top"
{{#if:{{{Other|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Other'''
{{pipe}} {{{Other}}} }}
|- valign="top"
{{#if:{{{other|}}}|
{{pipe}} style="white-space: nowrap;-moz-border-radius:5px;color:#ffffff;" bgcolor="#696969" align="center" {{pipe}} '''Other'''
{{pipe}} {{{other}}} }}
|-
|-
{{#if: {{{Stardate|}}} | {{!}} '''Stardate''' {{!!}} {{{Stardate}}} }}
{{#if: {{{previous|}}} | {{!}} colspan="2" style="background-color:#3366CC; color:#ffffff; color:#ffffff;-moz-border-radius:10px; font-size:120%; padding:0.25em; text-align:center;" {{!}} OFFICIAL and HONEST CWC [[Videos]]}}
|-
{{#if: {{{stardate|}}} | {{!}} '''Stardate''' {{!!}} {{{stardate}}} }}
|-
| '''Made by''' {{!!}} {{{maker|[[Christian Weston Chandler]]}}}
|-
{{#if: {{{Subject Matter|}}} | {{!}} '''Subject Matter''' {{!!}} {{{Subject Matter}}} }}
|-
{{#if: {{{subject|}}} | {{!}} '''Subject Matter''' {{!!}} {{{subject}}} }}
|-
{{#if: {{{Performance Style|}}} | {{!}} '''Performance Style''' {{!!}} {{{Performance Style}}} }}
|-
{{#if: {{{style|}}} | {{!}} '''Performance Style''' {{!!}} {{{style}}} }}
|-
{{#if: {{{Saga|}}} | {{!}} '''[[Saga]]''' {{!!}} {{{Saga}}} }}
|-
{{#if: {{{saga|}}} | {{!}} '''[[Saga]]''' {{!!}} {{{saga}}} }}
|-
{{#if: {{{Shirt|}}} | {{!}} '''[[Chris_and_fashion|Shirt]]''' {{!!}} {{{Shirt}}} }}
|-
{{#if: {{{shirt|}}} | {{!}} '''[[Chris_and_fashion|Shirt]]''' {{!!}} {{{shirt}}} }}
|-
{{#if: {{{Other|}}} | {{!}} '''Other''' {{!!}} {{{Other}}} }}
|-
{{#if: {{{other|}}} | {{!}} '''Other''' {{!!}} {{{other}}} }}
|-
| colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:0.25em; text-align:center;" | OFFICIAL and HONEST CWC Videos
|- style="text-align:center; font-size:95%;" valign="top"
|- style="text-align:center; font-size:95%;" valign="top"
{{#if: {{{previous|}}} | {{!}} '''previous''' <br />{{{previous}}} }}
{{#if: {{{previous|}}} | {{!}} '''previous''' <br />{{{previous}}} }}
Line 46: Line 89:
{{Infobox/video
{{Infobox/video
| name          = Chris Comes Out
| name          = Chris Comes Out
| video          = {{#ev:youtube|yUEomc5KX3c}}
| video          = {{#ev:youtube|AaxuXRbdn4A}}
| stardate      = 5 September 2008
| subject        = {{Homos|text}}, {{Sex|text}}
| style          = {{Rage|text}}
| saga          = {{ED|text}}
| shirt          = {{OrangeShirt|text}}
| other          = {{Live|text}}
| previous      = [[Link to previous video]]
| next          = [[Link to next video]]
}}</pre>
 
If you decide to use the YouTube ID element instead (ytid), the following below is a good example:
<pre>
{{Infobox/video
| name          = Chris Comes Out
| ytid          = AaxuXRbdn4A
| stardate      = 5 September 2008
| stardate      = 5 September 2008
| subject        = {{Homos|text}}, {{Sex|text}}
| subject        = {{Homos|text}}, {{Sex|text}}
Line 60: Line 118:
{{Infobox/video
{{Infobox/video
| name          = Chris Comes Out
| name          = Chris Comes Out
| video          = {{#ev:youtube|yUEomc5KX3c}}
| video          = {{#ev:youtube|AaxuXRbdn4A}}
| stardate      = 5 September 2008
| subject        = {{Homos|text}}, {{Sex|text}}
| style          = {{Rage|text}}
| saga          = {{ED|text}}
| shirt          = {{OrangeShirt|text}}
| other          = {{Live|text}}
| previous      = [[Link to previous video]]
| next          = [[Link to next video]]
}}
 
==Example with ytid instead of direct video link==
{{Infobox/video
| name          = Chris Comes Out
| ytid          = AaxuXRbdn4A
| stardate      = 5 September 2008
| stardate      = 5 September 2008
| subject        = {{Homos|text}}, {{Sex|text}}
| subject        = {{Homos|text}}, {{Sex|text}}

Latest revision as of 20:39, 24 July 2024

NOTE: This Infobox is for use ONLY with TRUE and HONEST CWC Videos, Listed in the video section.

For infoboxes, meant for other videos go here.

There are two ways to include the video in the infobox, one is by using the video variable and directly inputting the EmbedVideo element like in the first example. The other way is to directly supply the YouTube video ID in question (e.g: AaxuXRbdn4A). This obviously only works for YouTube videos and no other platform (although a custom video id variable can be added for any platform that EmbedVideo supports).


Usage

These usage notes will not be included in articles bearing this template.

This template is for use on articles relating to Chris videos. It displays the video and lists key information about the video below. The format for using this template is as follows:

{{Infobox/video
| name           = Chris Comes Out
| video          = {{#ev:youtube|AaxuXRbdn4A}}
| stardate       = 5 September 2008
| subject        = {{Homos|text}}, {{Sex|text}}
| style          = {{Rage|text}}
| saga           = {{ED|text}}
| shirt          = {{OrangeShirt|text}}
| other          = {{Live|text}}
| previous       = [[Link to previous video]]
| next           = [[Link to next video]]
}}

If you decide to use the YouTube ID element instead (ytid), the following below is a good example:

{{Infobox/video
| name           = Chris Comes Out
| ytid           = AaxuXRbdn4A
| stardate       = 5 September 2008
| subject        = {{Homos|text}}, {{Sex|text}}
| style          = {{Rage|text}}
| saga           = {{ED|text}}
| shirt          = {{OrangeShirt|text}}
| other          = {{Live|text}}
| previous       = [[Link to previous video]]
| next           = [[Link to next video]]
}}

The full range of icons can be found here and here.

Example

Chris Comes Out
Search for video YouTube, archive
Stardate 5 September 2008
Subject Matter HomosHomos Homos, SexSex Sex
Performance Style RageRage Rage
Saga EDED ED
Shirt OrangeOrange Orange
Other LiveLive Live
OFFICIAL and HONEST CWC Videos
previous
Link to previous video
next
Link to next video


Example with ytid instead of direct video link

Chris Comes Out
Direct link YouTube, archive
Stardate 5 September 2008
Subject Matter HomosHomos Homos, SexSex Sex
Performance Style RageRage Rage
Saga EDED ED
Shirt OrangeOrange Orange
Other LiveLive Live
OFFICIAL and HONEST CWC Videos
previous
Link to previous video
next
Link to next video