Template:Succession box: Difference between revisions

From CHiPs Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{| border="1" cellpadding="4" style="margin: 0 auto; border-collapse: collapse; text-align: center;"
{| border="1" cellpadding="4" style="margin: 0 auto; border-collapse: collapse; text-align: center;"
|- text align="center" style="background: #FFDD99;"
|- text align="center" style="background: #FFDD99;"
{{
  #if: {{{preceeded<includeonly>|</includeonly>}}}
| width="150" | Preceded by:<br>'''"[[{{{preceded}}}]]"'''
| width="150" | Preceded by:<br>'''"[[{{{preceded}}}]]"'''
| width="150" | '''{{PAGENAME}}'''<br>{{{number}}}
}}
| width="150" | '''{{PAGENAME}}'''<br>{{ #if: {{{number|}}} | {{{number}}} }}
{{
  #if: {{{followed<includeonly>|</includeonly>}}}  
| width="150" | Followed by:<br>'''"[[{{{followed}}}]]"'''
| width="150" | Followed by:<br>'''"[[{{{followed}}}]]"'''
}}
|}
|}
</center>
</center>

Revision as of 09:02, 6 January 2008


{{ #if: {{{preceeded}}}
Preceded by:
"[[{{{preceded}}}]]"

}}

Succession box
{{ #if: | {{{number}}} }}

{{

 #if: {{{followed}}} 
Followed by:
"[[{{{followed}}}]]"

}}


Information from this point forward is noinclude'd and does not appear when this template is used on other pages.

Template Fields

The fields in this template are mostly self explanatory.

  • {{{preceded}}} is the episode that preceded the current one; leave blank if there was no predecessor
  • {{{number}}} is the episode number
  • {{{followed}}} is the episode that follows the current one; leave blank if there is no successor