Template:Blue Radio Episode: Difference between revisions

Template page
m (remove link parameter)
m (remove unnecessary whitespace that was causing unwanted paragraph breaks to appear before the table header)
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude><includeonly>
</noinclude><includeonly><!--
<tr><th colspan="2" style="text-align:left;">'''{{{JP}}}'''<br>{{#if:{{{EN|}}}|''{{{EN}}}''<br>|}}</th></tr>
--><tr><th colspan="2" style="text-align:left;">'''{{{JP}}}'''<br>{{#if:{{{EN|}}}|''{{{EN}}}''<br>|}}</th></tr>
<tr><th style="text-align:left;">{{{date|}}}</th>
<tr><th style="text-align:left;">{{{date|}}}</th>
<th>{{#if:{{{yt|}}}|{{Favicon|yt|{{{yt}}}|y}} }}<!--
<th>{{#if:{{{yt|}}}|{{Favicon|yt|{{{yt}}}|y}} }}<!--
  -->{{#if:{{{nn|}}}|{{Favicon|nn|{{{nn}}}|y}} }}</th></tr>
  -->{{#if:{{{nn|}}}|{{Favicon|nn|{{{nn}}}|y}} }}</th></tr>
{{#if:{{{text|}}}{{{thumbnail|}}}|<tr><td colspan="2">{{{text|}}}<span style="display:block; text-align:center;">{{#if:{{{thumbnail|}}}|{{{thumbnail}}}|}}</span></td></tr>}}
{{#if:{{{text|}}}{{{thumbnail|}}}|<tr><td colspan="2">{{{text|}}}<span style="display:block; text-align:center;">{{#if:{{{thumbnail|}}}|{{{thumbnail}}}|}}</span></td></tr>}}</includeonly>
</includeonly>

Latest revision as of 01:37, 23 June 2020

Documentation icon Template documentation[view] [edit] [history] [purge]

Creates a row of a table to lay out information for an episode of Blue Radio.

Usage

{{ Blue Radio Episode
 | date = date of episode upload (i.e. 2009.04.09)
 | JP = japanese name of the niconico video (just copy/paste~)
 | EN = optional translation of the JP name of the niconico video
 | yt = youtube video id (eg jfwXGlwD1xg)
 | nn = niconico video id (eg 1239272604)
 | thumbnail = list of images (i.e. [[File:BlazBlue- Alternative Dark War (Preview Image 1).jpeg|200px]])
 | text = Guest: None
}}

Example

<table class="wikitable">
{{ Blue Radio Episode
 | date = date
 | JP = JP title
 | EN = EN title (optional)
 | yt = jfwXGlwD1xg
 | nn = 1239272604
 | thumbnail = [[File:BlazBlue- Alternative Dark War (Preview Image 1).jpeg|200px]]
 | text = text
}}
{{ Blue Radio Episode
 | date = 2009.04.09
 | JP = ぶるらじ 第1回 ~ぶるらじ・THE・ハードコア~
 | EN = Blue Radio Episode 1 ~Blue Radio THE Hardcore~
 | yt = jfwXGlwD1xg
 | nn = 1239272604
 | thumbnail = [[File:BlazBlue- Alternative Dark War (Preview Image 1).jpeg|200px]][[File:BlazBlue- Alternative Dark War (Preview Image 1).jpeg|200px]][[File:BlazBlue- Alternative Dark War (Preview Image 1).jpeg|200px]][[File:BlazBlue- Alternative Dark War (Preview Image 1).jpeg|200px]]
 | text = Guest: None
}}
</table>

creates:

JP title
EN title (optional)
date Favicon-yt.png YouTubeFavicon-nn.png NicoNico
textBlazBlue- Alternative Dark War (Preview Image 1).jpeg
ぶるらじ 第1回 ~ぶるらじ・THE・ハードコア~
Blue Radio Episode 1 ~Blue Radio THE Hardcore~
2009.04.09 Favicon-yt.png YouTubeFavicon-nn.png NicoNico
Guest: NoneBlazBlue- Alternative Dark War (Preview Image 1).jpegBlazBlue- Alternative Dark War (Preview Image 1).jpegBlazBlue- Alternative Dark War (Preview Image 1).jpegBlazBlue- Alternative Dark War (Preview Image 1).jpeg