Template:Chapter info: Difference between revisions

From No Man's Land - A Trigun Wiki
Jump to navigation Jump to search
m (superscipt revision reverted. br added instead)
(if "img" is given the name of a file that doesn't exist, display File:Image.png with a link to upload a file to the given name)
Line 3: Line 3:
! colspan="2" | {{{title|}}}{{#if:{{{engtitle|}}}|<br><small>{{{engtitle|}}}</small>}}
! colspan="2" | {{{title|}}}{{#if:{{{engtitle|}}}|<br><small>{{{engtitle|}}}</small>}}
|-
|-
| colspan="2" style="text-align:center; {{#if:{{{img|}}}||display: none}}" | [[File:{{{img|}}}|300px|x400px]]{{#if:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}}
| colspan="2" style="text-align:center; {{#if:{{{img|}}}||display: none}}" | {{#ifexist:File:{{{img|}}}|[[File:{{{img}}}|300x400px]]|[[File:Image.png|300x400px|link={{fullurl:Special:Upload|wpDestFile={{urlencode:{{{img}}}}}}}]]}}
|-
|-
|- {{#if: {{{series|}}}||style="display: none"}}
|- {{#if: {{{series|}}}||style="display: none"}}

Revision as of 20:32, 3 January 2024

Description

This template is intended for use on No Man's Land - A Trigun Wiki pages that discuss the various chapters of the Trigun manga.

Usage

Parameters

Many parameters have been included for the sake of thoroughness, but not all are required. To omit a parameter, simply leave its space in the list blank. That will cause the row to hide itself.

Code

Paste this code at the top of the text box in "Edit Source" mode and fill in the parameters with the appropriate values:

{{Chapter info
|title=
|engtitle=
|img=
|imgcaption=
|series=
|ja_kanji=
|eng_title=
|dh_eng_title=
|ov_eng_title=
|ch_number_tri=
|ch_number_max=
|ch_number_all=
|pages=
|writer=
|illust=
|writer_illust=
|serial=
|mag_date=
|mag_issue=
|book=
|prev_ch=
|next_ch=
}}

Notes

Titles

  • If the Japanese title is reused for the English release, the English field is unnecessary and can be omitted.
  • If the title is originally in Japanese text, use that in the title field and the English Overhaul title in the engtitle field. Do not use this if the Japanese title is reused for the English release.
  • If both the Dark Horse English and Overhaul English titles are the same, use only the "eng_title" field.

Chapter Numbers

  • Both "ch_number_tri"/"ch_number_max" AND "ch_number_all" should be used on all numbered chapters.
  • Use field "ch_number_tri" for Trigun (manga) chapters and "ch_number_max" for Trigun Maximum chapters. Do not use both on the same chapter!
  • Use field "ch_number_all" for the chapter's number in the order of Trigun & Trigun Maximum combined.

Writer/Illustrator

  • If the writer and illustrator are different people, use the two "writer=" and "illust" fields.
  • If the writer and illustrator are the same person, use the one "writer_illust" field.