Jump to content

Template:Book: Difference between revisions

From Episode D6: Star Wars D6 Wiki
imported>Default
No edit summary
 
m 1 revision: as of 10/28/10
 
(No difference)

Latest revision as of 03:24, 23 November 2010

{{#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?)