Template:Book
From /lit/ Wiki
Jump to navigationJump to search
{{#if: | | align=center colspan=2 | [[Image:{{{image}}}|center|284px]] }}
{{#if: | | valign=top | Author || {{{author}}} }}
{{#if: | | valign=top | Illustrator || {{{illustrator}}} }}
{{#if: | | Publication date || {{{date}}} }}
{{#if: | | Published by || {{{publisher}}} }}
{{#if: | | ISBN || {{{isbn}}} }}
Book | |
Publication Order | |
Preceded by {{{previous}}} |
Followed by {{{next}}} |
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- To use this template, enter the following and fill in the appropriate fields. Any field left blank will not show up. Don't forget to include brackets, to make the fields into links.
- Syntax
- Type
{{book{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}
somewhere, with parameters as shown below. - Sample output
{{Book | image = | author = | illustrator = | date = | publisher = | isbn = | previous = | next = }}
Results in...
{{#if: Example.jpg | | align=center colspan=2 | }}{{#if: Author | | valign=top | Author || Author }}
{{#if: Illustrator | | valign=top | Illustrator || Illustrator }}
{{#if: Date | | Publication date || Date }}
{{#if: Publisher | | Published by || Publisher }}
{{#if: ISBN | | ISBN || ISBN }}
Book | |
Publication Order | |
Preceded by Previous |
Followed by Next |
Visit Template:Book/doc to edit this text! (How does this work?)