Difference between revisions of "Template:Infobox Video"

From Johnisdead Wiki
Jump to navigation Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}]] {{#if:{{{caption|}}}|<p>{{{c...")
 
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<div class="infobox-title">
<div class="infobox-image">[[File:{{{image}}}]]
+
{{{title|{{PAGENAME}}}}}
 +
</div>
 +
{{#if:{{{image|}}}|
 +
<div class="infobox-image">[[File:{{{image}}}|300px]]
 
{{#if:{{{caption|}}}|<p>{{{caption}}}</p>}}
 
{{#if:{{{caption|}}}|<p>{{{caption}}}</p>}}
 
</div>}}
 
</div>}}
<table>{{#if:{{{video-title|}}}|<tr>
+
<table>
     <th>Video title</th>
+
{{#if:{{{title|}}}|<tr>
     <td>{{{video-title}}}</td>
+
     <th>Title</th>
</tr>}}{{#if:{{{creator|}}}|<tr>
+
     <td>{{{title}}}</td>
     <th>Creator</th>
+
</tr>}}{{#if:{{{alttitle|}}}|<tr>
     <td>{{{creator}}}</td>
+
     <th>Alt Title</th>
</tr>}}{{#if:{{{channel|}}}|<tr>
+
     <td>{{{alttitle}}}</td>
     <th>Channel</th>
+
</tr>}}{{#if:{{{location|}}}|<tr>
     <td>{{{channel}}}</td>
+
     <th>Location</th>
</tr>}}{{#if:{{{upload-date|}}}|<tr>
+
     <td>{{{location}}}</td>
     <th>Upload date</th>
+
</tr>}}{{#if:{{{date|}}}|<tr>
     <td>{{{upload-date}}}</td>
+
     <th>Upload Date</th>
</tr>}}{{#if:{{{runtime|}}}|<tr>
+
     <td>{{{date}}}</td>
     <th>Runtime</th>
+
</tr>}}{{#if:{{{prevvid|}}}|<tr>
     <td>{{{runtime}}}</td>
+
     <th>Previous Video</th>
</tr>}}{{#if:{{{tags|}}}|<tr>
+
     <td>{{{prevvid}}}</td>
    <th>Tags</th>
+
</tr>}}{{#if:{{{nextvid|}}}|<tr style="border-bottom: none;">
    <td>{{{tags}}}</td>
+
     <th>Next Video</th>
</tr>}}{{#if:{{{game|}}}|<tr>
+
     <td>{{{nextvid}}}</td>
     <th>Game</th>
+
</tr>
     <td>{{{game}}}</td>
+
}}
</tr>}}{{#if:{{{cause|}}}|<tr>
+
</table>
    <th>Cause</th>
 
    <td>{{{cause}}}</td>
 
</tr>}}{{#if:{{{effect|}}}|<tr>
 
    <th>Effect</th>
 
    <td>{{{effect}}}</td>
 
</tr>}}{{#if:{{{previous-video|}}}|<tr>
 
    <th>Previous video</th>
 
    <td>{{{previous-video}}}</td>
 
</tr>}}{{#if:{{{next-video|}}}|<tr>
 
    <th>Next video</th>
 
    <td>{{{next-video}}}</td>
 
</tr>}}</table>
 
 
</div>
 
</div>

Revision as of 13:02, 5 June 2020

Infobox Video