Template:Chapter page: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
(40 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: |
|||
⚫ | |||
_table = MangaChapters |
|||
| Title = Wikitext string |
|||
| Chapter = Integer |
|||
| Overall = Integer |
|||
| Volume = Integer |
|||
| Arc = Page |
|||
| Source = Page |
|||
⚫ | |||
| title = {{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} ({{{arc}}})}} |
| title = {{#if:{{{title|}}}|{{{title|}}}|Chapter {{{chapter}}} ({{{arc}}})}} |
||
| description = {{{desc| |
| 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|}}}|{{ |
| image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{imgsz}}]]}} |
||
| volume = {{#if:{{{volume all|}}}|[[Volume {{{volume all|}}} ({{ |
| 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 = {{#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 = {{#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:{{{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 |
{{{trivia|}}}}} |
||
{{source/chapter|{{{source|}}}}}{{#cargo_store: |
|||
⚫ | |||
_table = MangaChapters |
|||
| Title = {{{title|}}} |
|||
| Chapter = {{{chapter}}} |
|||
| Overall = {{#if:{{{chapter all|}}}|{{{chapter all|}}}|{{{chapter|}}}}} |
|||
| Volume = {{{volume}}} |
|||
| Arc = {{{arc}}} |
|||
| Source = {{source|{{{source|}}}}} |
|||
⚫ |
Latest revision as of 07:16, 1 December 2023
This template defines the table "MangaChapters". View table.