Template:Chapter page: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: |
<noinclude>{{#cargo_declare: |
||
_table = |
_table = MangaChapters |
||
| Title = Wikitext string |
| Title = Wikitext string |
||
| Chapter = Integer |
| Chapter = Integer |
||
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 |
| 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 = {{#ifeq:{{{prev|}}}|none||{{#cargo_query:table= |
| 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 = {{#ifeq:{{{next|}}}|none||{{#cargo_query:table= |
| 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 29: | Line 29: | ||
{{{trivia|}}}}} |
{{{trivia|}}}}} |
||
{{source/chapter|{{{source|}}}}}{{#cargo_store: |
{{source/chapter|{{{source|}}}}}{{#cargo_store: |
||
_table = |
_table = MangaChapters |
||
| 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.