Jump to content

Template:Header: Difference between revisions

From TV-Nihon
Xiiliea (talk | contribs)
m adding an option to put "-" in the last field to make it show up as only a hyphen (for stuffs like ultraman retsuden since we dont need this field there), also changing the default N/A for the Villain Group Name field to hyphen too, think it's neater
mNo edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|
|
{|border="0" cellpadding="5" cellspacing="0"  
{|border="0" cellpadding="5" cellspacing="0"  
!colspan="4"|[[{{{1}}}|{{{3}}}]]
!colspan="6"|[[{{{1}}}|{{{3}}}]]
|-align="left"  
|-align="left"  
| style="background:#808080;" width="100"|[[{{{{{1}}}/list|{{{2}}}}}|<span style="color:white">{{{{{1}}}/list|{{{2}}}}}</span>]] →
| style="background:#808080;" width="80"|[[{{{{{1}}}/list|{{{2}}}}}|<span style="color:white">{{{{{1}}}/list|{{{2}}}}}</span>]] →
| style="background:#e0e0e0;" width="100"|[[{{{{{1}}}/list|{{{2}}}}}#Characters|Characters]]
| style="background:#e0e0e0;" width="80"|[[{{{{{1}}}/list|{{{2}}}}}#Characters|Characters]]
| style="background:#e0e0e0;" width="100"|[[{{{{{1}}}/list|{{{2}}}}}#Chronology|Chronology]]
| style="background:#e0e0e0;" width="100"|[[{{{{{1}}}/list|{{{2}}}}}#Chronology|Chronology]]
|style="background:#e0e0e0;" width="100"|[[{{{{{1}}}/list|{{{2}}}}}#Trivia|Trivia]]  
|style="background:#e0e0e0;" width="50"|[[{{{{{1}}}/list|{{{2}}}}}#Trivia|Trivia]]
|style="background:#e0e0e0;" width="60"|[[{{{{{1}}}/list|{{{2}}}}}#T-N Release List|File List]]
|style="background:#e0e0e0;" width="60"|[[{{{{{1}}}/list|{{{2}}}}}#External Links|Links]]  
|-align="left" style="background:#C2DFFF;"
|-align="left" style="background:#C2DFFF;"
|{{#ifeq:{{{8}}}|-| '''-''' | {{#if: {{{8|}}}|[[{{{8}}}]]|[[{{{{{1}}}/list|{{{2}}}}} Attacks and Mecha|Attacks and Mecha]]}} }}
|{{#ifeq:{{{8}}}|-| | {{#if: {{{8|}}}|[[{{{8}}}]]|[[{{{{{1}}}/list|{{{2}}}}} Attacks and Mecha|Attacks and Mecha]]}} }}
|{{#ifexist: {{{{{1}}}/list|{{{2}}}}} Guests|[[{{{{{1}}}/list|{{{2}}}}} Guests|Guests]]<br>}}
|{{#ifexist: Category:{{{{{1}}}/list|{{{2}}}}} Characters|[[:Category:{{{{{1}}}/list|{{{2}}}}} Characters|<small>Chara Media</small>]]<br>}}
{{#if:  {{{4}}}|[[{{{4}}}]]|'''-'''}}
{{#ifexist: {{{{{1}}}/list|{{{2}}}}} Guests|[[{{{{{1}}}/list|{{{2}}}}} Guests|Guests]]<br>}}
{{#if:  {{{4}}}|[[:Category:{{{{{1}}}/list|{{{2}}}}} {{{4}}}|{{{4}}}]]| }}
|[[:Category:{{{{{1}}}/list|{{{2}}}}} Lyrics|Discography]]
|[[:Category:{{{{{1}}}/list|{{{2}}}}} Lyrics|Discography]]
|[[:Category:{{{{{1}}}/list|{{{2}}}}}|Media]]
|[[:Category:{{{{{1}}}/list|{{{2}}}}}|Media]]
|[[:Category:{{{{{1}}}/list|{{{2}}}}} Splashes|Splashes]]
|[[:Category:{{{{{1}}}/list|{{{2}}}}} Transcripts|Transcripts]]
|-align="center"
|-align="center"
|colspan="2" |{{#if: {{{6|}}}|{{{6}}}|{{#if: {{{{{1}}}/list|{{#expr:{{{2}}}-1}}}}| < [[{{{{{1}}}/list|{{#expr:{{{2}}}-1}}}}]]}}}}
|colspan="2" |{{#if: {{{6|}}}|{{{6}}}|{{#if: {{{{{1}}}/list|{{#expr:{{{2}}}-1}}}}| < [[{{{{{1}}}/list|{{#expr:{{{2}}}-1}}}}]]}}}}
|colspan="2" |{{#if: {{{7|}}}|{{{7}}}|{{#if: {{{{{1}}}/list|{{#expr:{{{2}}}+1}}}}| [[{{{{{1}}}/list|{{#expr:{{{2}}}+1}}}}]] >}}}}
|colspan="1" |
|colspan="3" align="left"|{{#if: {{{7|}}}|{{{7}}}|{{#if: {{{{{1}}}/list|{{#expr:{{{2}}}+1}}}}| [[{{{{{1}}}/list|{{#expr:{{{2}}}+1}}}}]] >}}}}
|-align="center"
|-align="center"
|colspan="4"|{{{5|}}}
|colspan="6"|{{{5|}}}
|}
|}
|}</includeonly><noinclude>==Parameters==
|}</includeonly><noinclude>==Parameters==

Latest revision as of 05:42, 3 April 2016

Parameters

  1. Series
  2. Year or other Index number
  3. Text for the top line of the header
  4. Villain Group Name
  5. Link for concurrent series and other notes
  6. Previous Series override
  7. Next Series override
  8. Override Attack field