Template:Chapter page: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:
<includeonly>{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} (''{{{arc}}}'')}}}}{{PageSEO
_table = MangaChapters
| Title = Wikitext string
| Chapter = Integer
| Overall = Integer
| Volume = Integer
| Arc = Page
| Source = Page
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} (''{{{arc}}}'')}}}}{{PageSEO
| title = {{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} ({{{arc}}})}}
| title = {{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} ({{{arc}}})}}
| description = {{{desc|"'''{{{title|}}}'''" is the {{ordinal to word|{{{chapter}}}}} chapter of the ''[[{{{arc}}}]]'' manga.}}}
| description = {{{desc|The {{ordinal to word|{{{chapter}}}}} chapter of the ''{{source|{{{source}}}}}'' ''[[{{{arc}}}]]'' manga.}}}
| keywords = {{source|{{{source}}}}} manga, {{{title|}}}
| image = {{{image|}}}
| image = {{{image|}}}
}}{{Infobox chapter
}}{{Infobox chapter
| title = {{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} (''{{{arc}}}'')}}
| title = {{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} (''{{{arc}}}'')}}
| jname = {{{jtitle|}}}
| jname = {{{jtitle|}}}
| image = [[File:{{{image|}}}|{{imgsize}}]]
| image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{imgsz}}]]}}
| volume = {{#if:{{{volume all|}}}|[[Volume {{{volume all|}}} ({{source|{{{source}}}}})|{{{volume}}}]] ({{{volume all|}}})|[[Volume {{{volume|}}} ({{{arc}}})]]}}
| 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|}}}|[[Chapter {{#expr:{{{chapter}}}-1}} ({{{arc}}})|{{{prev|}}}]]}}
| 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|}}}|[[Chapter {{#expr:{{{chapter}}}+1}} ({{{arc}}})|{{{next|}}}]]}}
| 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}}}}]]}}
}}"'''{{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}}}}'''" 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:{{{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|}}}}}
{{{summary|}}}|[[Category:Chapters without summaries]]}}
{{#if:{{{characters|}}}|<h2>Characters</h2>
{{#if:{{{characters|}}}|<h2>Characters</h2>
{{{characters|}}}}}
{{{characters|}}}}}
{{#if:{{{trivia|}}}|<h2>Trivia</h2>
{{#if:{{{trivia|}}}|<h2>Trivia</h2>
{{{trivia|}}}}}{{source/chapter|{{{source|}}}}}
{{{trivia|}}}}}
{{source/chapter|{{{source|}}}}}{{#cargo_store:
</includeonly><noinclude>{{documentation}}</noinclude>
_table = MangaChapters
| Title = {{{title|}}}
| Chapter = {{{chapter}}}
| Overall = {{#if:{{{chapter all|}}}|{{{chapter all|}}}|{{{chapter|}}}}}
| Volume = {{{volume}}}
| Arc = {{{arc}}}
| Source = {{source|{{{source|}}}}}
}}</includeonly><noinclude>{{documentation}}[[Category:Page Templates]]</noinclude>

Latest revision as of 07:16, 1 December 2023

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