Jump to content

Template:Infobox chapter/doc: Difference between revisions

From Worm Wiki
Valravn (talk | contribs)
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..."
 
FossilLord (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
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
| link      = [http://parahumans.wordpress.com/2011/06/11/1-1/ Gestation 1.1]
| previous  = None
| previous  = None
| next      = [[1.2]]
| next      = [[Gestation 1.2]]
}}</pre>
}}</pre>


Line 16: Line 17:


{{infobox chapter
{{infobox chapter
| book      = Gestation
| book      = [[Gestation]]
| number    = 1.1
| number    = 1.1
| dateposted = June 11, 2011
| dateposted = June 11, 2011
| link      = [http://parahumans.wordpress.com/2011/06/11/1-1/ Gestation 1.1]
| 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>

Latest revision as of 18:34, February 27, 2018

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       = [[Gestation 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