Template:Blue Radio Episode: Difference between revisions

Template page
m (tag with Templates)
m (remove unnecessary whitespace that was causing unwanted paragraph breaks to appear before the table header)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Example ==
{{Documentation}}
 
</noinclude><includeonly><!--
<pre><nowiki>
--><tr><th colspan="2" style="text-align:left;">'''{{{JP}}}'''<br>{{#if:{{{EN|}}}|''{{{EN}}}''<br>|}}</th></tr>
<tab openname="Episodes" style="width:800px;">
<tr><th style="text-align:left;">{{{date|}}}</th>
{{ Blue Radio Episode
<th>{{#if:{{{yt|}}}|{{Favicon|yt|{{{yt}}}|y}} }}<!--
| date = date
-->{{#if:{{{nn|}}}|{{Favicon|nn|{{{nn}}}|y}} }}</th></tr>
| JP = JP title
{{#if:{{{text|}}}{{{thumbnail|}}}|<tr><td colspan="2">{{{text|}}}<span style="display:block; text-align:center;">{{#if:{{{thumbnail|}}}|{{{thumbnail}}}|}}</span></td></tr>}}</includeonly>
| EN = EN title (optional)
| link = link
| 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~
| link = http://www.nicovideo.jp/watch/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
}}
</tab>
</nowiki></pre>
 
creates:
 
<tab openname="Episodes" style="width:800px;">
{{ Blue Radio Episode
| date = date
| JP = JP title
| EN = EN title (optional)
| link = link
| 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~
| link = http://www.nicovideo.jp/watch/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
}}
</tab>
 
== Usage ==
 
<pre><nowiki>
{{ 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
| link =
| thumbnail = list of images (i.e. [[File:BlazBlue- Alternative Dark War (Preview Image 1).jpeg|200px]])
| text = Guest: None
}}
</tab>
</nowiki></pre>
 
[[Category:Templates]]
</noinclude><includeonly>
<div>
<div style="vertical-align:top; font-weight:bold; display:block;"> {{{date}}} </div>
<div style="display:block;">[{{{link}}} '''{{{JP}}}''']<br>{{#if:{{{EN|}}}|''{{{EN}}}''<br>|}}{{{text}}}</div>
</div>{{#if:{{{thumbnail|}}}|{{{thumbnail}}}|}}
<hr>
</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