×
Create a new article
Write your page title here:
We currently have 2,806 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
2,806Articles

Template:Unlockable: Difference between revisions

No edit summary
(switch order of parameters 2 and 3, separate page link from span, cleanup)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{#if: {{{3|}}}|{{#arraydefine:text|{{{3}}}}}|{{#arraydefine:text}}}}<span style="display:none;">{{{1}}}</span><span {{#ifeq: {{{1|}}}| LockedCondition | Yes | No}} title="{{#switch:{{{1}}}
<includeonly><span style="display:none;">{{{1}}}</span><span {{#ifeq: {{{1|}}}|LockedCondition|data-lock-params="{{{3|}}}"}}
title="{{#switch:{{{1}}}
|Locked=Unlockable from the opposite entrance
|Locked=Unlockable from the opposite entrance
|LockedCondition= {{#if: {{{3|}}}|{{#arrayprint:text|;&nbsp;|@@@@}}|Needs to be unlocked by performing certain action}}
|LockedCondition= {{#if: {{{2|}}}|{{{2}}}|Needs to be unlocked by performing certain actions}}{{#if:{{{3|}}}|&#010;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=<span style="font-size:125%;">🔒</span>
|Locked=🔒
|LockedCondition={{#if:{{{2|}}}|[[{{{2}}}| <span style="font-size:125%;">🔐</span>]]|<span style="font-size:125%;">🔐</span>}}
|LockedCondition=🔐{{#if:{{{3|}}}|[[{{{3}}}|<span style="font-size:100%; position:relative; right:5px;">+</span>]]}}
|Unlock=<span style="font-size:110%;">🔑</span>
|Unlock=🔑
|#default=<span style="font-size:125%; color:#FFFF00; background-color:#000000"></span>
|#default=⚠
}}</span></onlyinclude>
}}</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 15: Line 16:
<pre> {{Unlockable|Locked}} </pre>
<pre> {{Unlockable|Locked}} </pre>


For connections that require certain actions to be unlocked: {{Unlockable|LockedCondition|Urotsuki}}
For connections that require certain actions to be unlocked: {{Unlockable|LockedCondition|Test1|Yume 2kki:Urotsuki}}{{Unlockable|LockedCondition|Destroy the world}}
{{Unlockable|LockedCondition||Destroy the world,|Test}}


<pre> {{Unlockable|LockedCondition|Link to instructions|Instructions}} </pre>
<pre> {{Unlockable|LockedCondition|Instructions|Link to instructions}} </pre>




Line 24: Line 24:


<pre> {{Unlockable|Unlock}} </pre>
<pre> {{Unlockable|Unlock}} </pre>
{{documentation}}
[[Category:Connection templates]]
</noinclude>

Latest revision as of 01:20, 20 June 2024


For areas that need to be unlocked from the opposite side: Locked🔒

 {{Unlockable|Locked}} 

For connections that require certain actions to be unlocked: LockedCondition🔐+LockedCondition🔐

 {{Unlockable|LockedCondition|Instructions|Link to instructions}} 


For connections that unlock a bidirectional entrance: Unlock🔑

 {{Unlockable|Unlock}} 


Documentation (for the above template, sometimes hidden or invisible)