Template:Req Market: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
(req Market)
 
(rewrite to allow line-wrap, fixes overflow on mobile)
 
Line 1: Line 1:
<span style="background-color: #F4F4F4; border: 1px solid #AAAAAA; vertical-align: top; padding: 0.25em; white-space: nowrap; padding-top: .5em; padding-bottom: .5em; padding-top: .3em;">[[{{{image|File:Icon clue generic.png}}}|22px]] ''Requires [[Paragon Market#{{{link}}}|{{{name}}}]].''</span><noinclude>{{documentation}}</noinclude>
<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;">[[{{{image|File:Icon clue generic.png}}}|22px|link=|alt=]]</div>
<p style="margin: 0;">Requires [[Paragon Market#{{{link}}}|{{{name}}}]].</p>
</div><noinclude>{{documentation}}</noinclude>

Latest revision as of 16:25, 23 March 2022

Requires [[Paragon Market#{{{link}}}|{{{name}}}]].

[edit] [purge] Documentation

Usage

To denote Paragon Market purchases that aren't specific items, such as {{req SSA}}. There are three parameters:

  • image - Semi-optional. The market image for the piece, starting with "File:" and ending with the filetype abbreviation
    • defaults to Icon clue generic.png if not supplied; preference for finding the appropriate market image
  • link - Semi-optional. The header under which the market piece is found (the first listing if multiples exist)
    • defaults to simply linking to Paragon Market; preference for linking to a specific header
  • name - Required. What the item is called, will be the visual link to click

Example

{{req Market|image=File:ParagonMarket AlignmentSystem.png|link=System Unlocks|name=Alignment System}}

Requires Alignment System.