Template:Chapter page: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 16: Line 16:
| jname = {{{jtitle|}}}
| jname = {{{jtitle|}}}
| image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{imgsz}}]]}}
| image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{imgsz}}]]}}
| volume = {{#if:{{{arc alt|}}}|{{#if:{{{volume all|}}}|[[Volume {{{volume}}} ({{{arc alt|}}})|{{{volume}}}]] ({{{volume all|}}})|[[Volume {{{volume|}}} ({{{arc alt|}}})|{{{volume}}}]]}}|{{#if:{{{volume all|}}}|[[Volume {{{volume all|}}} ({{{arc}}})|{{{volume}}}]] ({{{volume all|}}})|[[Volume {{{volume|}}} ({{{arc}}})|{{{volume}}}]]}}}}
| volume = {{#if:{{{arc alt|}}}|{{#if:{{{volume all|}}}|[[Volume {{{volume}}} ({{{arc alt|}}})|{{{volume}}}]] ({{{volume all|}}})|[[Volume {{{volume|}}} ({{{arc alt|}}})|{{{volume}}}]]}}|{{#if:{{{volume all|}}}|[[Volume {{{volume|}}} ({{{arc}}})|{{{volume}}}]] ({{{volume all|}}})|[[Volume {{{volume|}}} ({{{arc}}})|{{{volume}}}]]}}}}
| chapter = {{#if:{{{chapter all|}}}|{{{chapter}}} ({{{chapter all|}}})|{{{chapter}}}}}
| chapter = {{#if:{{{chapter all|}}}|{{{chapter}}} ({{{chapter all|}}})|{{{chapter}}}}}
| pages = {{{pages|}}}
| pages = {{{pages|}}}
| prev = {{#if:{{{prev|}}}|{{{prev|}}}|[[Chapter {{#expr:{{{chapter}}}-1}} ({{{arc}}})|{{#cargo_query:table=MangaChapters|fields=Title|where=Source='{{source|{{{source|}}}}}' AND Overall={{#expr:{{{chapter all}}}-1}}}}]]}}
| prev = {{#if:{{{prev|}}}|{{#ifeq:{{{prev|}}}|none||{{{prev|}}}}}|[[Chapter {{#expr:{{{chapter}}}-1}} ({{{arc}}})|{{#cargo_query:table=MangaChapters|fields=Title|where=Source='{{source|{{{source|}}}}}' AND Overall={{#expr:{{#if:{{{chapter all|}}}|{{{chapter all|}}}|{{{chapter|}}}}}-1}}}}]]}}
| next = {{#if:{{{next|}}}|{{{next|}}}|[[Chapter {{#expr:{{{chapter}}}+1}} ({{{arc}}})|{{#cargo_query:table=MangaChapters|fields=Title|where=Source='{{source|{{{source|}}}}}' AND Overall={{#expr:{{{chapter all}}}+1}}}}]]}}
| next = {{#if:{{{next|}}}|{{#ifeq:{{{next|}}}|none||{{{next|}}}}}|[[Chapter {{#expr:{{{chapter}}}+1}} ({{{arc}}})|{{#cargo_query:table=MangaChapters|fields=Title|where=Source='{{source|{{{source|}}}}}' AND Overall={{#expr:{{#if:{{{chapter all|}}}|{{{chapter all|}}}|{{{chapter|}}}}}+1}}}}]]}}
}}"<b>{{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}}}}</b>" is the {{ordinal to word|{{{chapter}}}}} chapter of the ''[[{{{arc}}}]]'' manga{{#if:{{{chapter all|}}}|{{spaces}}and the {{ordinal to word|{{{chapter all|}}}}} chapter of {{{{{source|}}}}} overall}}.{{#if:{{{introduction|}}}|{{spaces}}{{{introduction|}}}}}
}}{{#if:{{{alt intro|}}}|{{{alt intro|}}}|"<b>{{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}}}}</b>" is the {{ordinal to word|{{{chapter}}}}} chapter of the ''[[{{{arc}}}]]'' manga{{#if:{{{chapter all|}}}|{{spaces}}and the {{ordinal to word|{{{chapter all|}}}}} chapter of {{{{{source|}}}}} overall}}.{{#if:{{{introduction|}}}|{{spaces}}{{{introduction|}}}}}}}
{{#if:{{{summary|}}}|<h2>Summary</h2>
{{#if:{{{summary|}}}|<h2>Summary</h2>
{{{summary|}}}|[[Category:Chapters without summaries]]}}
{{{summary|}}}|[[Category:Chapters without summaries]]}}
Line 32: Line 32:
| Title = {{{title|}}}
| Title = {{{title|}}}
| Chapter = {{{chapter}}}
| Chapter = {{{chapter}}}
| Overall = {{{chapter all|}}}
| Overall = {{#if:{{{chapter all|}}}|{{{chapter all|}}}|{{{chapter|}}}}}
| Volume = {{{volume}}}
| Volume = {{{volume}}}
| Arc = {{{arc}}}
| Arc = {{{arc}}}

Latest revision as of 07:16, 1 December 2023

This template defines the table "MangaChapters". View table.