Template:Chapter infobox: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
(possible fix for hiding a section when there's no info)
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|-
|-
{{#if:{{{coverdate<includeonly>|</includeonly>}}} |
{{#if:{{{coverdate<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Cover'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Cover date'''
{{!}}{{{coverdate}}}
{{!}}{{{coverdate}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{pagedate<includeonly>|</includeonly>}}} |
{{#if:{{{pagedate<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Pages'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Page date'''
{{!}}{{{pagedate}}}
{{!}}{{{pagedate}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{link<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Link'''
{{!}}{{{link}}}
{{!}}-
}}
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Script'''
{{!}}<includeonly>[[{{PAGENAME}}/Script|Script]]</includeonly>
{{!}}-
|-
|-
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}" align="center"| Information
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}; text-align:center; {{ #if: {{{debuts|}}}| | display: none;}}"| Information
|-
|-
{{#if:{{{debuts<includeonly>|</includeonly>}}} |
{{#if:{{{debuts<includeonly>|</includeonly>}}} |
Line 25: Line 33:
}}
}}
|-
|-
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}; text-align:center"| {{ #if: {{{prev|}}}{{{next|}}} | Other chapters }}
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}; text-align:center; {{ #if: {{{prev|}}}{{{next|}}} | | display: none;}}"| Other chapters
|-
|-
{{#if:{{{prev<includeonly>|</includeonly>}}} |
{{#if:{{{prev<includeonly>|</includeonly>}}} |
Line 37: Line 45:
{{!}}-
{{!}}-
}}
}}
|}
|}<noinclude>
<pre>{{Character infobox
|table-color  =
|table-color2 =
|border-color =
|header-color =
|name        =
|image        =
|coverdate    =
|pagedate    =
|link        =
|debuts      =
|prev        =
|next        =
}}
</pre>
</noinclude>

Latest revision as of 17:29, 11 November 2023

Chapter infobox
No image available.
Release dates
Cover date {{{coverdate}}}
Page date {{{pagedate}}}
Link {{{link}}}
Script
Information
Character debuts {{{debuts}}}
Other chapters
Previous chapter {{{prev}}}
Next chapter {{{next}}}
{{Character infobox
 |table-color  = 
 |table-color2 = 
 |border-color = 
 |header-color = 
 |name         = 
 |image        = 
 |coverdate    =
 |pagedate     =
 |link         =
 |debuts       =
 |prev         =
 |next         =
}}