Template:Navbox/episode/formatted
From Gineipaedia, the Legend of Galactic Heroes wiki
The text below is a formatted version of the code for {{navbox/episode}}. This formatted code should allow for easier changes when the template needs to be modified.
Please do not copy this code back into the main template page without first stripping it of its formatting. This can be done in a regexp-supporting text editor (such as Textmate or Sublime Text) by replacing the following regular expression by an empty string: [\t\n]
<table class="navbox" cellpadding="0" cellspacing="4" border="0"> <tr> <td style="width: 33%; text-align: center;"> Previous episode:<br /> {{#if:{{{3|}}}| {{e|{{{3}}}}} | (none) }} </td> <td style="border-left: 1px solid #444444; border-right: 1px solid #444444; text-align: center;"> {{#switch:{{uc:{{{1|}}}}} | LOGH = [[Legend of Galactic Heroes (OVA)|''Legend of Galactic Heroes'' (OVA)]] | #default = [[Legend of Galactic Heroes (OVA)|''Legend of Galactic Heroes'' (OVA)]] }} <br /> [[ {{#switch: {{uc:{{{1|}}}}} | LOGH = Legend of Galactic Heroes (OVA)# | #default = }} {{#switch: {{{2|}}} | 1 = Series_1{{!}}Series 1 | 2 = Series_2{{!}}Series 2 | 3 = Series_3{{!}}Series 3 | 4 = Series_4{{!}}Series 4 | #default = ERROR IN TEMPLATE }} ]] </td> <td style="width: 33%; text-align: center;"> Next episode:<br /> {{#if:{{{4|}}}| {{e|{{{4}}}}} | (none) }} </td> </tr> </table> <noinclude><div style="height: 2em;"></div>{{documentation}}[[Category:Custom templates]]</noinclude>