Template:Req SSA: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(auto-detect presence of (SSA) article)
(rewrite to allow line-wrap, fixes overflow on mobile)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span style="background-color: #F4F4F4; border: 1px solid #AAAAAA; vertical-align: top; padding: 0.25em; white-space: nowrap; padding-bottom: .5em; padding-top: .3em;">[[File:ParagonMarket SignatureStoryArc{{#switch:{{{arc|Who Will Die}}}
<div role="note" style="display: flow-root; position: relative; background-color: #F4F4F4; border: 1px solid #AAAAAA; padding: 0.5em 0.5em 0.3em 36px; max-width: max-content; font-style: italic;">
<div style="position: absolute; left: 8px; top: 6px;">[[File:ParagonMarket SignatureStoryArc{{#switch:{{{arc|Who Will Die}}}
|Who Will Die=1
|Who Will Die=1
|Pandora's Box=2
|#default=1
|#default=1
}}Ep{{{ep|1}}}.png|22px]] ''Requires [[{{#ifexist:{{{arc|}}} (SSA)|{{{arc|}}} (SSA)|{{{arc|Who Will Die}}}}}]], Episode {{{ep|1}}}.''</span>
}}Ep{{{ep|1}}}.png|22px|link=|alt=]]</div>
<noinclude>[[Category:Standardized Text Templates]]
<p style="margin: 0;">Signature Story Arc [[{{#ifexist:{{{arc|}}} (SSA)|{{{arc|}}} (SSA)|{{{arc|Who Will Die}}}}}|{{{arc|Who Will Die}}}]], Episode {{{ep|1}}}.</p>
</div><noinclude>
== Usage ==
== Usage ==
This:
This:
Line 11: Line 14:
{{Req SSA|arc=Who Will Die|ep=6}}
{{Req SSA|arc=Who Will Die|ep=6}}


This:
<pre>{{Req SSA|arc=Pandora's Box|ep=1}}</pre>
Will output:
{{Req SSA|arc=Pandora's Box|ep=1}}
[[Category:Standardized Text Templates]]
[[Category:Standardized Text Templates]]
</noinclude>
</noinclude>

Latest revision as of 16:24, 23 March 2022

Signature Story Arc Who Will Die, Episode 1.

Usage

This:

{{Req SSA|arc=Who Will Die|ep=6}}

Will output:

Signature Story Arc Who Will Die, Episode 6.

This:

{{Req SSA|arc=Pandora's Box|ep=1}}

Will output:

Signature Story Arc Pandora's Box, Episode 1.