Difference between revisions of "Template:Story"

From A3! Wiki
m
Line 1: Line 1:
<includeonly><div class="flex-container" style="width: 80%; flex-direction: row-reverse;">
+
<includeonly><div class="flex-container" style="width: 80%; flex-direction: row-reverse; margin: 1em auto;">
 
<div class="flex-title" style="margin: auto; max-width: 14rem; padding: 1rem;">[[File:{{{image|}}}|x300px|center|link=]]</div>
 
<div class="flex-title" style="margin: auto; max-width: 14rem; padding: 1rem;">[[File:{{{image|}}}|x300px|center|link=]]</div>
 
<div class="flex-title">
 
<div class="flex-title">
   <div class="flex-title storynav-title" style="background: {{#if: {{{troupe|}}} |var(--{{lc:{{{troupe|}}}}}) | var(--default-light) }} {{#if: {{{character|}}} |var(--{{lc:{{{character|}}}}}) | var(--default-light) }};">{{{title|}}}</div>
+
   <div class="flex-title storynav-title" style="background: {{#if: {{{troupe|}}} |var(--{{lc:{{{troupe|}}}}}) | var(--default-light) }}{{#if: {{{character|}}} |var(--{{lc:{{{character|}}}}}) |}};">{{{title|}}}</div>
 
   <div class="grid-chapters {{#if: {{{troupe|}}} | grid-{{lc:{{{troupe|}}}}} | }} {{#if: {{{character|}}} | grid-{{lc:{{{character|}}}}} | }}">
 
   <div class="grid-chapters {{#if: {{{troupe|}}} | grid-{{lc:{{{troupe|}}}}} | }} {{#if: {{{character|}}} | grid-{{lc:{{{character|}}}}} | }}">
 
{{{chapters|}}}
 
{{{chapters|}}}

Revision as of 04:41, 24 January 2018


{{Story
|troupe= (not case sensitive)
|image=Prologue.png
|title=
|chapters=<div>Chapter 1<br>A Very Long Title</div>
<div>Chapter 2<br>Something</div>
<div>Chapter 3<br>Something</div>
<div>Chapter 4<br>Something</div>
}}
Prologue.png
Prologue
Chapter 1
A Very Long Title
Chapter 2
Something
Chapter 3
Something
Chapter 4
Something



Prologue.png
Prologue
Chapter 1
A Very Long Title
Chapter 2
Something
Chapter 3
Something
Chapter 4
Something


Prologue.png
Prologue
Chapter 1
A Very Long Title
Chapter 2
Something
Chapter 3
Something
Chapter 4
Something