Template:SingleBookInfobox: Difference between revisions
Jump to navigation
Jump to search
imported>Whyitskai m (added image caption field) |
m (Text replacement - "class="wikitable" style="float: right; margin-left: 0.5em; margin-right: 0px; width: 20%;"" to "class="wikitable infobox"") |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable | <includeonly>{| class="wikitable infobox" | ||
! colspan="2" | {{{vol_title|}}} | ! colspan="2" | {{{vol_title|}}} | ||
|- | |- | ||
| colspan="2" style="text-align:center; {{#if:{{{img|}}}||display: none}}" | [[File:{{{img|}}}|300px|x400px]]{{#if:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}} | |||
|- | |- | ||
|- {{#if: {{{series|}}}||style="display: none"}} | |- {{#if: {{{series|}}}||style="display: none"}} | ||
! 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: {{{ | |- {{#if: {{{page_num|}}}||style="display: none"}} | ||
! | ! Number of Pages | ||
| {{{ | | {{{page_num|}}} | ||
|- | |- | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
==Description== | ==Description== | ||
This template is intended for use on {{SITENAME}} pages that discuss | 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= }}