Template:ZD: Difference between revisions
Want an adless experience? Log in or Create an account.
m (Text replacement - "<br>" to "<br/>") |
m (Firefox fix) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Box|dark| | <onlyinclude>{{Box|dark|style=max-width:fit-content;display:grid;clear:none;background-color:#253125;padding:5px;border:0px solid green;border-radius:3px|| | ||
{{(!}} | {{(!}} | ||
{{!}}[[File:ZD-Logo-Small.png| | {{!}}[[File:ZD-Logo-Small.png|x50px|ZeldaDungeon.net|link=]] | ||
{{!}}In-depth guide:<br/><span class{{=}}"plainlinks">{{{1|[link]}}}</span> | {{!}}<div style{{=}}"background:#f8f7f3;margin-left:3px;padding:3px 0.667em;border-radius:3px;box-shadow: 0 0 4px 1px #100100;">{{{prompt|In-depth guide}}}:<br/><span class{{=}}"plainlinks" style{{=}}"">{{{1|[link]}}}</span></div> | ||
{{!)}}}}{{#if:{{{float|}}}||{{Clear|left}}}}</onlyinclude> | {{!)}}}}{{#if:{{{float|}}}||{{Clear|left}}}}</onlyinclude> | ||
Line 9: | Line 9: | ||
==Usage== | ==Usage== | ||
{{Usage|float{{=}}|link}} | {{Usage|float{{=}}|link|prompt{{=}}}} | ||
{{Usage/Param|float|left, right, or center|optional|default=none}} | {{Usage/Param|float|left, right, or center|optional|default=none}} | ||
{{Usage/Param|link|Link to the guide page, including brackets and caption (<nowiki>[URI caption]</nowiki>)}} | {{Usage/Param|link|Link to the guide page, including brackets and caption (<nowiki>[URI caption]</nowiki>)}} | ||
{{Usage/Param|prompt|Replaces the text "in-depth guide" for linking to other pages (e.g. "Interactive map" for [https://www.zeldadungeon.net/maps/la the interactive ''Link's Awakening'' map])}} | |||
{{Cat|Formatting Templates}} | {{Cat|Formatting Templates}} | ||
{{Cat|Box Templates}} | {{Cat|Box Templates}} |
Latest revision as of 17:11, November 6, 2022
In-depth guide:
[link] |
Purpose
This is a box for linking to ZD static (off-wiki) guides and walkthroughs.
Usage
{{ZD| float= | link | prompt= }}
- float — left, right, or center (Optional.)
- link — Link to the guide page, including brackets and caption ([URI caption])
- prompt — Replaces the text "in-depth guide" for linking to other pages (e.g. "Interactive map" for the interactive Link's Awakening map)