Template:Infobox/episode

From Gineipaedia, the Legend of Galactic Heroes wiki

(Difference between revisions)
Jump to: navigation, search
m
 
(28 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>{| class="infobox" style="font-size: 89%; line-height: 130%; width: 300px; background-color: #ffffff;"
+
<includeonly>{{dim brackets|episode}}{| class="infobox"
-
{{!}}class="sb-both" colspan="3" style="text-align: center; border-bottom: 1px solid #aaaaaa;"{{!}}'''<span style="font-size: 150%;">'{{{e-episode-title}}}'</span>'''<br />(「{{{j-episode-title}}}」)
+
{{!}}class="sb-both infobox-title" colspan="3"{{!}}'''<nowiki>'</nowiki>{{{e-episode-title}}}<nowiki>'</nowiki>'''<br />(「{{{j-episode-title}}}」)
|-
|-
-
{{!}}class="sb-both" colspan="3" style="text-align: center;"{{!}}{{#if:{{{series-code|LOGH}}}|{{linktip|Legend of Galactic Heroes (OVA)|Legend of Galactic Heroes (OVA)|LOGH}}}}: series {{{series-number}}}, episode {{{episode-number}}}<br />released {{{release-date}}}
+
{{!}}class="sb-both infobox-below-title" colspan="3"{{!}}{{#switch: {{uc:{{{series-code|LOGH}}}}} | SWV = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#The_Silver-White_Valley|LOGH Gaiden: The Silver-White Valley|SWV}} | DMSN = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#Dreams_of_the_Morning,_Songs_of_the_Night|LOGH Gaiden: Dreams of the Morning, Songs of the Night|DMSN}} | DIS = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#Dishonour|LOGH Gaiden: Dishonour|DIS}} | HBSHBL = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#A_Hundred_Billion_Stars,_a_Hundred_Billion_Lights|LOGH Gaiden: A Hundred Billion Stars, a Hundred Billion Lights|HBSHBL}} | SL = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#Spiral_Labyrinth|LOGH Gaiden: Spiral Labyrinth|SL}} | MUT = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#The_Mutineer|LOGH Gaiden: The Mutineer|MUT}} | DUEL = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#The_Duellist|LOGH Gaiden: The Duellist|DUEL}} | RET = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#The_Retriever|LOGH Gaiden: The Retriever|RET}} | TBT = {{linktip|Legend of Galactic Heroes Gaiden (OVA)#The_Third_Battle_of_Tiamat|LOGH Gaiden: The Third Battle of Tiamat|TBT}} | DNT = {{linktip|Legend of Galactic Heroes: Die Neue These|Legend of Galactic Heroes: Die Neue These|DNT}} | LOGH = {{linktip|Legend of Galactic Heroes (OVA)|Legend of Galactic Heroes (OVA)|LOGH}} | #default = {{linktip|Legend of Galactic Heroes (OVA)|Legend of Galactic Heroes (OVA)|LOGH}}}}: series {{{series-number}}}, episode {{{episode-number}}}<br />released {{{release-date}}}
|-
|-
-
{{#if:{{{image|}}}|
+
{{#if:{{{image|}}}|{{!}}class="sb-both center" colspan="3"{{!}}[[File:{{{image}}}|294px]]}}
-
{{!}}class="sb-both" colspan="3" style="text-align: center;"{{!}}[[File:{{{image}}}|Thumb|296px]]
+
-
}}
+
|-
|-
-
{{#if:{{{episode-date|}}}|
+
{{#if:{{{episode-date|}}}|{{!}}class="sb-both center" colspan="3"{{!}}{{{episode-date}}}}}
-
{{!}}class="sb-both" colspan="3" style="text-align: center;"{{!}}{{{episode-date}}}
+
-
}}
+
|-
|-
-
{{!}}style="text-align: left; width: 1%;"{{!}}{{#if:{{{s-previous-episode|}}}|[[{{{s-previous-episode}}}|&larr;]]}}
+
{{!}}class="prev-episode"{{!}}{{#if:{{{s-previous-episode|}}}|[[{{{s-previous-episode}}}|<span>&larr;</span>]]}}
-
{{!}}style="text-align: center; width: 98%;"{{!}}{{{s-nth-released}}} of ## released in {{#if:{{{series-code|LOGH}}}|<span title="Legend of Galactic Heroes (OVA)">LOGH</span>}}
+
{{!}}style="text-align: center;"{{!}}{{nth|{{{s-nth-released}}}}} of {{const/episodes-{{{series-code}}}}} released in {{#switch: {{uc:{{{series-code|LOGH}}}}} | SWV = <span title="LOGH Gaiden: The Silver-White Valley">SWV</span> | DMSN = <span title="LOGH Gaiden: Dreams of the Morning, Songs of the Night">DMSN</span> | DIS = <span title="LOGH Gaiden: Dishonour">DIS</span> | HBSHBL = <span title="LOGH Gaiden: A Hundred Billion Stars, a Hundred Billion Lights">HBSHBL</span> | SL = <span title="LOGH Gaiden: Spiral Labyrinth">SL</span> | MUT = <span title="LOGH Gaiden: The Mutineer">MUT</span> | DUEL = <span title="LOGH Gaiden: The Duellist">DUEL</span> | RET = <span title="LOGH Gaiden: The Retriever">RET</span> | TBT = <span title="LOGH Gaiden: The Third Battle of Tiamat">TBT</span> | DNT = <span title="Legend of Galactic Heroes: Die Neue These">DNT</span> | LOGH = <span title="Legend of Galactic Heroes (OVA)">LOGH</span> | #default = <span title="Legend of Galactic Heroes (OVA)">LOGH</span>}}
-
{{!}}style="text-align: right; width: 1%;"{{!}}{{#if:{{{s-next-episode|}}}|[[{{{s-next-episode}}}|&rarr;]]}}
+
{{!}}class="next-episode"{{!}}{{#if:{{{s-next-episode|}}}|[[{{{s-next-episode}}}|<span>&rarr;</span>]]}}
|-
|-
-
{{!}}style="text-align: left; width: 1%;"{{!}}{{#if:{{{a-previous-episode|}}}|[[{{{a-previous-episode}}}|&larr;]]}}
+
{{!}}class="prev-episode"{{!}}{{#if:{{{a-previous-episode|}}}|[[{{{a-previous-episode}}}|<span>&larr;</span>]]}}
-
{{!}}style="text-align: center; width: 98%;"{{!}}{{{a-nth-released}}} of ## released in all
+
{{!}}style="text-align: center;"{{!}}{{nth|{{{a-nth-released}}}}} of {{const/episodes-all}} released in all
-
{{!}}style="text-align: right; width: 1%;"{{!}}{{#if:{{{a-next-episode|}}}|[[{{{a-next-episode}}}|&rarr;]]}}
+
{{!}}class="next-episode"{{!}}{{#if:{{{a-next-episode|}}}|[[{{{a-next-episode}}}|<span>&rarr;</span>]]}}
-
|}}</includeonly><noinclude>{{documentation}}</noinclude>
+
|}</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:39, 3 April 2018

The following documentation is transcluded from Template:Infobox/episode/doc:


'In the Eternal Night'
(「永遠の夜の中で」)
LOGH: series 1, episode 1
released 1988/12/21
Astarte admirals (BD).jpg
January 796 UC (487 IC / 3596 CE)
1st of 110 released in LOGH
2nd of 213 released in all

Description</dt>
Infobox template for LOGH (OVA and Gaiden) episodes. Adds an infobox with pictures and common information to the right side of an article.</dd>

Syntax</dt>

{{infobox episode
| e-episode-title     = <English title of episode>
| j-episode-title     = <Japanese title of episode>
| series-code         = <series code (LOGH, SWV, DIS, &c.)
| series-number       = <series number (always 1 for Gaiden)>
| episode-number      = <episode number>
| release-date        = <release date of episode in yyyy/mm/dd format>
| image               = <file name of episode screenshot>
| episode-date        = <in-universe date (or date range)>
| s-previous-episode  = <article name of previous episode in the series>
| s-nth-released      = <number released within the series>
| s-next-episode      = <article name of next episode in the series>
| a-previous-episode  = <article name of previous film/episode within all LOGH media>
| a-nth-released      = <number released within all LOGH media>
| a-next-episode      = <article name of next film/episode within all LOGH media>
}}
</dd>

Sample output</dt>

{{infobox episode
| e-episode-title     = In the Eternal Night
| j-episode-title     = 永遠の夜の中で
| series-code         = LOGH
| series-number       = 1
| episode-number      = 1
| release-date        = 1988/12/21
| image               = Astarte_admirals_(BD).jpg
| episode-date        = January {{d|796|uc}}
| s-nth-released      = 1
| s-next-episode      = {{e2|002}}
| a-previous-episode  = My Conquest Is the Sea of Stars (film)
| a-nth-released      = 2
| a-next-episode      = {{e2|002}}
}}

produces: See top right of page.</dd>

Notes</dt>
This infobox should be used for LOGH OVA and Gaiden episodes only. For film releases, use {{infobox film}}.</dd>

Acknowledgements</dt>
n/a</dd>

Personal tools
Namespaces
Variants
Actions
Miscellany
Common
Tool box