Template:HWNarrative: Difference between revisions

Want an adless experience? Log in or Create an account.
add arc text to left border
mNo edit summary
(add arc text to left border)
Line 1: Line 1:
<div style="margin-bottom:2px;border-left:20px solid {{#switch:{{lc:{{{3|{{{arc}}}}}}}}
<div style="position:relative;margin-bottom:2px;border-left:20px solid {{#switch:{{lc:{{{3|{{{arc}}}}}}}}
|prologue=#b80026
|prologue=#b80026
|ocarina of time=gold
|ocarina of time=gold
Line 11: Line 11:
|wind waker=#0962e0
|wind waker=#0962e0
|white}}; padding-left: 1em;>
|white}}; padding-left: 1em;>
{{#if:{{{3|{{{arc|}}}}}}|<div style="display:flex;align-items:center;position:absolute;left:-20px;line-height:20px;height:100%"><span style="transform-origin:0 0;transform:rotate(-90deg) translateX(-50%);color:white;font-weight:bold;">{{{3|{{{arc}}}}}}</span></div>}}
{{#if:{{{2|{{{title|}}}}}}|;{{{2|{{{title}}}}}} {{#if:{{{4|{{{source|}}}}}}<small>({{{4|{{{source|}}}}}})</small>}}}}
{{#if:{{{2|{{{title|}}}}}}|;{{{2|{{{title}}}}}} {{#if:{{{4|{{{source|}}}}}}<small>({{{4|{{{source|}}}}}})</small>}}}}
{{#if:{{{1|{{{narrative|}}}}}}|<div style="padding-left:1em">{{{1|{{{narrative}}}}}}</div>}}</div>
{{#if:{{{1|{{{narrative|}}}}}}|<div style="padding-left:1em">{{{1|{{{narrative}}}}}}</div>}}</div>