Template:Infobox chapter/doc: Difference between revisions
Appearance
Created page with ";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..." |
mNo edit summary |
||
| Line 6: | Line 6: | ||
<pre>{{infobox chapter | <pre>{{infobox chapter | ||
| book = Gestation | | book = [[Gestation]] | ||
| number = 1.1 | | number = 1.1 | ||
| dateposted = June 11, 2011 | | dateposted = June 11, 2011 | ||
| Line 16: | Line 16: | ||
{{infobox chapter | {{infobox chapter | ||
| book = Gestation | | book = [[Gestation]] | ||
| number = 1.1 | | number = 1.1 | ||
| dateposted = June 11, 2011 | | dateposted = June 11, 2011 | ||
Revision as of 02:14, May 5, 2012
- 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
| previous = None
| next = [[1.2]]
}}
Results in...
{{#if: | {{{image}}} }} {{#if: June 11, 2011 | | Date posted || June 11, 2011 }} {{#if: | | Link || {{#ifeq:{{#sub:{{{link}}}|0|1}}|[|{{{link}}}|[{{{link}}} Infobox chapter/doc]}} }}| {{#if: |{{{work}}}|Worm}} | |
|---|---|
| Gestation 1.1 | |
| Chapter guide | |
| Previous None}} |
{{#if:1.2|Next 1.2}} |
| Chapter List | |