Template:SingleBookInfobox: Difference between revisions

From No Man's Land - A Trigun Wiki
Jump to navigation Jump to search
imported>Whyitskai
m (adjusted how the caption displays)
m (Text replacement - "class="wikitable" style="float: right; margin-left: 0.5em; margin-right: 0px; width: 20%;"" to "class="wikitable infobox"")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float: right; margin-left: 0.5em; margin-right: 0px; width: 20%;"
<includeonly>{| class="wikitable infobox"
! colspan="2" | {{{vol_title|}}}
! colspan="2" | {{{vol_title|}}}
|-
|-
Line 7: Line 7:
! Series
! Series
| {{{series|}}}
| {{{series|}}}
|-
|- {{#if: {{{type|}}}||style="display: none"}}
! Type
| {{{type|}}}
|-
|-
|- {{#if: {{{writer|}}}||style="display: none"}}
|- {{#if: {{{writer|}}}||style="display: none"}}
Line 40: Line 44:
| {{{chap_num|}}}
| {{{chap_num|}}}
|-
|-
|- {{#if: {{{prev_vol|}}}||style="display: none"}}
|- {{#if: {{{page_num|}}}||style="display: none"}}
! Previous Volume
! Number of Pages
| {{{prev_vol|}}}
| {{{page_num|}}}
|- {{#if: {{{next_vol|}}}||style="display: none"}}
! Next Volume
| {{{next_vol|}}}
|-
|-
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
==Description==
==Description==
This template is intended for use on {{SITENAME}} pages that discuss the standalone Trigun book (i.e. not part of a series).
This template is intended for use on {{SITENAME}} pages that discuss standalone Trigun books (i.e. not part of a series).


==Usage==
==Usage==
===Parameters===
===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.
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===
===Code===
Paste this code at the top of the text box in "Edit Source" mode and fill in the parameters with the appropriate values:
Paste this code at the top of the text box in "Edit Source" mode and fill in the parameters with the appropriate values:
<pre>{{SingleBookInfobox
<pre>
{{SingleBookInfobox
|vol_title=
|vol_title=
|img=
|img=
|imgcaption=
|series=
|bookseries=
|type=
|writer=
|writer=
|serial=
|serial=
Line 69: Line 74:
|vol_num=
|vol_num=
|chap_num=
|chap_num=
}}</pre>
|page_num=
}}
</pre>
 
 
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 18:59, 4 January 2024


Description

This template is intended for use on No Man's Land - A Trigun Wiki pages that discuss standalone Trigun books (i.e. not part of a series).

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:

{{SingleBookInfobox
|vol_title=
|img=
|imgcaption=
|series=
|bookseries=
|type=
|writer=
|serial=
|pub_jp=
|date_jp=
|pub_us=
|date_us=
|vol_num=
|chap_num=
|page_num=
}}