(add category) |
(switch order of parameters 2 and 3, separate page link from span, cleanup) |
||
Line 1: | Line 1: | ||
< | <includeonly><span style="display:none;">{{{1}}}</span><span {{#ifeq: {{{1|}}}|LockedCondition|data-lock-params="{{{3|}}}"}} | ||
title="{{#switch:{{{1}}} | title="{{#switch:{{{1}}} | ||
|Locked=Unlockable from the opposite entrance | |Locked=Unlockable from the opposite entrance | ||
|LockedCondition= {{#if: {{{ | |LockedCondition= {{#if: {{{2|}}}|{{{2}}}|Needs to be unlocked by performing certain actions}}{{#if:{{{3|}}}|
Click the + sign for an explanatory page}} | ||
|Unlock=Unlocks access to this area from the opposite entrance | |Unlock=Unlocks access to this area from the opposite entrance | ||
|#default=Accepted values for this icon are Unlockable{{!}}NoEntry, Unlockable{{!}}LockedCondition{{!}}(world name), or Unlockable{{!}}NoReturn | |#default=Accepted values for this icon are Unlockable{{!}}NoEntry, Unlockable{{!}}LockedCondition{{!}}(world name), or Unlockable{{!}}NoReturn | ||
}}">{{#switch:{{{1}}} | }}" tabindex="0" style="font-size:125%;">{{#switch:{{{1}}} | ||
|Locked= | |Locked=🔒 | ||
|LockedCondition={{#if:{{{ | |LockedCondition=🔐{{#if:{{{3|}}}|[[{{{3}}}|<span style="font-size:100%; position:relative; right:5px;">+</span>]]}} | ||
|Unlock= | |Unlock=🔑 | ||
|#default= | |#default=⚠ | ||
}}</span></ | }}</span></includeonly><noinclude> | ||
For areas that need to be unlocked from the opposite side: {{Unlockable|Locked}} | For areas that need to be unlocked from the opposite side: {{Unlockable|Locked}} | ||
Line 16: | Line 16: | ||
<pre> {{Unlockable|Locked}} </pre> | <pre> {{Unlockable|Locked}} </pre> | ||
For connections that require certain actions to be unlocked: {{Unlockable|LockedCondition|Yume 2kki:Urotsuki | For connections that require certain actions to be unlocked: {{Unlockable|LockedCondition|Test1|Yume 2kki:Urotsuki}}{{Unlockable|LockedCondition|Destroy the world}} | ||
{{Unlockable|LockedCondition | |||
<pre> {{Unlockable|LockedCondition|Link to instructions | <pre> {{Unlockable|LockedCondition|Instructions|Link to instructions}} </pre> | ||
Line 26: | Line 25: | ||
<pre> {{Unlockable|Unlock}} </pre> | <pre> {{Unlockable|Unlock}} </pre> | ||
{{documentation}} | |||
[[Category:Connection templates]] | [[Category:Connection templates]] | ||
</noinclude> |
Revision as of 01:20, 20 June 2024
For areas that need to be unlocked from the opposite side: 🔒
{{Unlockable|Locked}}
For connections that require certain actions to be unlocked: 🔐+🔐
{{Unlockable|LockedCondition|Instructions|Link to instructions}}
For connections that unlock a bidirectional entrance: 🔑
{{Unlockable|Unlock}}
Documentation (for the above template, sometimes hidden or invisible)