Template:Infobox Episode/full: Difference between revisions

From Semantic Stargate Wiki
(Created page with "<includeonly><div display="none">{{#set: Namespace free article name = {{PAGENAME}}}}{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!--...")
 
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 18: Line 18:
     -->}}<!--  
     -->}}<!--  
  -->}}</div>{{Infobox
  -->}}</div>{{Infobox
  | name          = Infobox Episode
  | name          = Infobox Episode/full
  | above          = {{#if:{{{rtitle|}}}|[[Name::{{{rtitle}}}]]|[[name::"{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}"]]}}
  | above          = {{#if:{{{rtitle|}}}|[[Name::{{{rtitle}}}]]|[[name::"{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}"]]}}
  | subheader      = {{#switch: {{{episode type|}}} | #default = An | 2 | double | two = A double | 3 | triple | three = A triple }} episode from ''{{Infobox Episode/parameters| series link |{{{series|}}}}}''
  | subheader      = {{#switch: {{{episode type|}}} | #default = An | 2 | double | two = A double | 3 | triple | three = A triple }} episode from ''{{Infobox Episode/parameters| series link |{{{series|}}}}}''
  | subheaderstyle = text-align: center; background-color: #471919; font-weight: bold;
  | subheaderstyle = text-align: center; background-color: #E1E1E1; font-weight: bold;
  | italic title  = {{{italic title|no}}}
  | italic title  = {{{italic title|no}}}


  | image          = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} | {{#if: {{{series|}}} | Stargate {{series abv|series={{{series|}}} }} logo.jpg | Wiki.png }} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}}
  | image          = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} | {{#if: {{{series|}}} | Stargate {{series abv|series={{{series|}}} }} logo.jpg | Wiki.png }} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}}
  | caption        = {{{caption|}}}
  | caption        = {{{legend|}}}


  | headerstyle    = background-color: #471919;
  | headerstyle    = background-color: #E1E1E1;
  | labelstyle    = vertical-align: top; text-align: left;
  | labelstyle    = vertical-align: top; text-align: left;


  | label1        = Episode Nb
  | label1        = Episode Nb
  | data1          = {{#if:{{{season|}}} | {{#ifeq: {{{season|}}} | 0 | {{#set: Season number = 0 }} | {{#set: Season number = {{{season|}}} }}[[Season::{{series abv|series={{{series|}}} }} Season {{{season|}}}|Season {{{season|}}}]]{{-}} Episode| }} }} [[Episode number::{{{episode|''unknown''}}}]]
  | data1          = {{#if:{{{season|}}} | {{#ifeq: {{{season|}}} | 0 | {{#set: Season number = 0 }} | {{#set: Season number = {{{season|}}} }}[[Season::Stargate {{series abv|series={{{series|}}} }} Season {{{season|}}}|Season {{{season|}}}]]{{-}} Episode| }} }} [[Episode number::{{{episode|''unknown''}}}]]


  | label2        = Directed by
  | label2        = Directed by
Line 79: Line 79:


<!-- Episode chronology -->
<!-- Episode chronology -->
  | header30      = {{#if: {{{prev|}}}{{{next|}}}{{{rprev|}}}{{{rnext|}}} | {{#if: {{{series|}}} | [[{{series abv|series={{{series|}}} }} list of episodes|Episode chronology]] | Episode chronology }} }}
  | header30      = {{#if: {{{prev|}}}{{{next|}}}{{{rprev|}}}{{{rnext|}}} | {{#if: {{{series|}}} | [[Stargate {{series abv|series={{{series|}}} }} list of episodes|Episode chronology]] | Episode chronology }} }}


  | data31        = {{#if: {{{prev|}}}{{{next|}}}{{{rprev|}}}{{{rnext|}}} | {{Infobox/Succession
  | data31        = {{#if: {{{prev|}}}{{{next|}}}{{{rprev|}}}{{{rnext|}}} | {{Infobox/succession
  | {{#if: {{{rprev|}}} | {{{rprev|}}} | {{#if: {{{prev|}}} | {{ep|{{{prev|}}} }} }} }}
  | {{#if: {{{rprev|}}} | {{{rprev|}}} | {{#if: {{{prev|}}} | {{ep|{{{prev|}}} }} }} }}
  |  
  |  
Line 87: Line 87:
}} }}
}} }}


  | below          = {{#if: {{{title screencap|}}} | {{#invoke:InfoboxImage|InfoboxImage|image={{{title screencap}}}|size={{{image size|330}}}|sizedefault=frameless|alt=Episode title card}} }}
  | below          = {{#if: {{{title image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image={{{title image}}}|size={{{image size|330}}}|sizedefault=frameless|alt=Episode title card}} }}
}}<!--  
}}<!--  


Line 112: Line 112:
Retrieving the title screencap name inside the "Title screencap" property (only valid for the Original series and Galactica 1980
Retrieving the title screencap name inside the "Title screencap" property (only valid for the Original series and Galactica 1980


  -->{{#if: {{{title screencap|}}} | {{#set: title screencap = {{{title screencap}}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>
  -->{{#if: {{{title image|}}} | {{#set: title screencap = {{{title image}}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 00:47, 19 September 2018

Documentation icon Template documentation[create]