Difference between revisions of "Template:Graphic novel list/header"

From blackwiki
Jump to navigation Jump to search
imported>Dinoguy1000
(aah, without any width, the table sometimes isn't full-width when it was (almost) before)
imported>MSGJ
(episodes can go inside header template, code by User:Terasail)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="width: {{{Width|100%}}}; {{#if: {{{Width|}}} || margin: auto; }} {{#if: {{{Width|}}}{{{Clear|}}} || clear: both; }}"
+
{|class="wikitable" width={{{Width|100%}}} style="{{#if:{{{Width|}}}||margin:auto;}}{{#if:{{{Width|}}}{{{Clear|}}}||clear: both;}}"
{{
+
{{#if:{{{Caption|}}}|{{!}}+{{{Caption}}}}}
  #if: {{{Caption|}}} | <caption>{{{Caption}}}</caption>
+
|-style="border-bottom: 3px solid #{{{LineColor|CCF}}}"
 +
!width=4%|<abbr title="Number">No.</abbr>
 +
{{#ifeq:{{{OneLanguage}}}|yes|{{#if:{{{WithTitle|}}}|!width=48%{{!}}Title}}
 +
!width={{#if:{{{WithTitle|}}}|24|48}}%{{!}}{{#if:{{{Language|}}}|{{{Language}}} r|R}}elease date
 +
!width={{#if:{{{WithTitle|}}}|24|48}}%{{!}}{{{Language|}}} ISBN
 +
|{{#if:{{{WithTitle|}}}|!width=48%{{!}}Title}}
 +
!width=24%{{!}}Original release date
 +
{{#if:{{{WithTitle|}}}||!width=24%{{!}}Original ISBN}}
 +
!width=24%{{!}}{{{SecondLanguage|English}}} release date
 +
{{#if:{{{WithTitle|}}}||!width=24%{{!}}{{{SecondLanguage|English}}} ISBN}}
 
}}
 
}}
 
|-
 
|-
{{
+
{{{1|}}}{{{episodes|}}}
  #ifeq: {{{OneLanguage|no}}} | yes
+
{{#if:{{{1|}}}{{{episodes|}}}|{{!)}} }}<noinclude>
  | <tr style="border-bottom: 3px solid #{{{LineColor|CCF}}}"><th scope="col" style="width: 4%;">No.</th>{{
+
|}
    #ifeq: {{{WithTitle|no}}} | yes
+
 
    | <th scope="col">Title</th>
+
{{Documentation}}
  }}<th scope="col" style="width: {{
 
    #ifeq: {{{WithTitle|no}}} | yes
 
    | 24
 
    | 48
 
  }}%;">{{
 
    #if: {{{Language|}}} | {{{Language}}} r | R
 
  }}elease date</th><th scope="col" style="width: {{
 
    #ifeq: {{{WithTitle|no}}} | yes
 
    | 24
 
    | 48
 
  }}%;">{{{Language|}}} ISBN</th>
 
  | <tr style="border-bottom: 3px solid #{{{LineColor|CCF}}}"><th scope="col" style="width: 4%;">No.</th>{{
 
    #ifeq: {{{WithTitle|no}}} | yes
 
    | <th scope="col">Title</th><th scope="col" style="width: 24%;">{{{Language|Original}}}&#32;release</th><th scope="col" style="width: 24%;">{{{SecondLanguage|English}}}&#32;release
 
  }}</th></th>{{
 
    #ifeq: {{{WithTitle|no}}} | yes
 
    | <!-- Nothing. -->
 
    | <th scope="col" style="width: 24%;">{{{Language|Original}}} release date</th><th scope="col" style="width: 24%;">{{{Language|Original}}} ISBN</th><th scope="col" style="width: 24%;">{{{SecondLanguage|English}}} release date</th><th scope="col" style="width: 24%;">{{{SecondLanguage|English}}} ISBN</th>
 
  }}
 
}}</tr></tr></includeonly><noinclude>
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 21:01, 22 October 2020

No. Original release date Original ISBN English release date English ISBN
Template documentation[view] [edit] [history] [purge]

This is a header for {{Graphic novel list}}. Please see that page for the documentation.

fr:Modèle:TomeBD/Entête