Template:Infobox chapter/doc: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 20: | Line 20: | ||
| dateposted = June 11, 2011 | | dateposted = June 11, 2011 | ||
| previous = None | | previous = None | ||
| next = [[1.2]] | | next = [[Gestation 1.2]] | ||
}} | }} | ||
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ||
Revision as of 02:21, 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:Gestation 1.2|Next Gestation 1.2}} |
| Chapter List | |