Template:Chapter: Difference between revisions

From Blackmouth Chronicles
Jump to navigation Jump to search
(corrected error in prev/next fields)
(formatting correction)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="tantable" style="font-size:small; float:right;border: 1px solid #888888; padding:2px; margin:0 0 0.5em 1em; width:26em; clear:right"
{|class="tantable" style="font-size:small; float:right;border: 1px solid #888888; padding:2px; margin:0 0 0.5em 1em; width:26em; clear:right"
|-  
|-  
!colspan = "2" style="align:center; padding:4px;" | <span style="font-size: larger;">{{ #if:{{{title|}}} | '''{{{title}}}''' |'''{{PAGENAME}}''' }}</span>{{ #if:{{{series|}}}|<br /><span style="font-size: x-small; line-height:80%;">Chapter of {{{chronicle}}}</span>}}
!colspan = "2" style="align:center; padding:4px;background-color:#EEEEEE;" | <span style="font-size: larger;">{{ #if:{{{title|}}} | '''{{{title}}}''' |'''{{PAGENAME}}''' }}</span>{{ #if:{{{chronicle|}}}|<br /><span style="font-size: x-small; line-height:80%;">Chapter of [[{{{chronicle}}}]]</span>}}
|-
|-
{{ #if:{{{image|}}}|{{!}} colspan="2" style="align:center; text-align:center;" {{!}} {{{image}}}{{ #if:{{{caption|}}}|<br />{{{caption}}} }}}}
{{ #if:{{{image|}}}|{{!}} colspan="2" style="font-size: small; align:center; text-align:center;" {{!}} {{{image}}}{{ #if:{{{caption|}}}|<br />{{{caption}}}}}}}
|-
|-
{{ #if:{{{story|}}}|{{!}} style="vertical-align:top; padding:2px 4px;"{{!}} ''' Story''' {{!}}{{!}}{{story}}} {{ #if:{{{chapterno|}}}|<br />Chapter {{{chapterno}}}}}}}
|colspan = "2" style="text-align:center; vertical-align:top;"| Chapter {{{chapterno}}} of {{ #if:{{{story|}}}|{{{story}}}|{{{chronicle}}}}}
|-
|-
|colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE;font-size:small;" | '''Chronology'''
|colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE;font-size:small;" | '''Chronology'''
|-
|-
|style="text-align:center;"|'''← Previous'''
|style="text-align:center;font-size:x-small; "|'''← Previous'''
|style="text-align:center;"|'''Next →'''
|style="text-align:center;font-size:x-small; "|'''Next →'''
|-
|-
|style="text-align:center; width:13em;"|{{ #if:{{{prev|}}}|[[{{{prev}}}]]|-}}
|style="text-align:center; width:13em;font-size:x-small; "|{{ #if:{{{prev|}}}|[[{{{prev}}}]]|-}}
|style="text-align:center; width:13em;"|{{ #if:{{{next|}}}|[[{{{next}}}]]|-}}
|style="text-align:center; width:13em;font-size:x-small; "|{{ #if:{{{next|}}}|[[{{{next}}}]]|-}}
|}
|}
<noinclude>
<noinclude>

Latest revision as of 09:38, 3 September 2019

Chapter
Chapter {{{chapterno}}} of {{{chronicle}}}
Chronology
← Previous Next →
- -
Template documentation (for the above template, sometimes hidden or invisible)

This template is for use in any article about a chapter of a chronicle in the Blackmouth setting.

{{Chapter 
| title              =  <!-- the title of the chapter, needed only if different from the page name -->
| image              =  <!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
| caption            = 
| chronicle          =
| story              =  <!-- story chapter is part of -->
| chapterno          =  <!-- chapter number in story -->
| prev               =  <!-- previous chapter of same story -->
| next               =  <!-- next chapter of same story -->
}}

Visit Template:Chapter/doc to edit this text! (How does this work?)