Template: Infobox Chapter: Difference between revisions
From A Wiki of Ice and Fire
mNo edit summary |
m few simple If |
||
| Line 5: | Line 5: | ||
{{#if:{{{pov|<noinclude>pov</noinclude>}}}|<tr><th>POV</th><td>{{{pov}}}</td></tr>}} | {{#if:{{{pov|<noinclude>pov</noinclude>}}}|<tr><th>POV</th><td>{{{pov}}}</td></tr>}} | ||
{{#if:{{{page|<noinclude>pov</noinclude>}}}|<tr><th>Page</th><td>{{{page|}}}<small> ([[Chapters_Table_of_contents | {{#if:{{{page|<noinclude>pov</noinclude>}}}|<tr><th>Page</th><td>{{{page|}}}<small> ([[Chapters_Table_of_contents|Other versions]])</small></td></tr>}} | ||
<tr><th colspan="2" style="text-align:center;">Chapter chronology<small>([[Chapters | <tr><th colspan="2" style="text-align:center;">Chapter chronology<small>([[Chapters|All]])</small></th></tr> | ||
<tr><th colspan="2"><table style="width:100%; background: transparent; text-align: center; font-size: 88%; line-height: 1.4em; vertical-align: top"> | <tr><th colspan="2"><table style="width:100%; background: transparent; text-align: center; font-size: 88%; line-height: 1.4em; vertical-align: top"> | ||
{{#if:{{{arc previous|<noinclude>arc previous</noinclude>}}}|<!-- | {{#if:{{{arc previous|<noinclude>arc previous</noinclude>}}}|<!-- | ||
Revision as of 03:50, 12 December 2011
| {{{pov}}} | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| [[{{{book title}}}]] chapter | ||||||||||
| [[{{{book cover}}}|220px]] | ||||||||||
| POV | {{{pov}}} | |||||||||
| Page | (Other versions) | |||||||||
| Chapter chronology(All) | ||||||||||
| ||||||||||
Meta template. Don't use it directly.
Usage
{{Infobox Chapter
| book title =
| book cover =
| pov =
| title =
| page =
| previous =
| current =
| next =
| arc previous =
| arc next =
}}
Example:
{{Infobox Chapter
| book title = Book title
| book cover = File:fullName
| pov = {{{pov}}}
| title = {{{title|}}}
| page = {{{page}}}
| previous = {{{previous|}}}
| current = {{{current}}}
| next = {{{next|}}}
| arc previous = {{{arc previous|}}}
| arc next = {{{arc next|}}}
}}