Jump to content

Template:Infobox chapter/doc

From Worm Wiki
Description
To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up. Don't forget to include brackets, to make the fields into links.
Syntax
Type {{infobox chapter{{#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
{{infobox chapter
| book       = [[Gestation]]
| number     = 1.1
| dateposted = June 11, 2011
| link       = [http://parahumans.wordpress.com/2011/06/11/1-1/ Gestation 1.1]
| previous   = None
| next       = [[Gestatoin 1.2]]
}}

Results in...

{{#if: | {{{image}}} }} {{#if: June 11, 2011 | | Date posted || June 11, 2011 }} {{#if: Gestation 1.1 | | Link || {{#ifeq:{{#sub:Gestation 1.1|0|1}}|[|Gestation 1.1|[Gestation 1.1 Infobox chapter/doc]}} }}
{{#if: |{{{work}}}|Worm}}
Gestation 1.1
Chapter guide
Previous
None}}
{{#if:Gestation 1.2|Next
Gestation 1.2}}
Chapter List