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



YumeWiki
3,033Articles

Template:Unlockable: Difference between revisions

(Changed data-params to data-lock-params.)
m (test nested condition)
Line 1: Line 1:
<onlyinclude>{{#if: {{{3|}}}|{{#arraydefine:text|{{{3}}}}}|{{#arraydefine:text}}}}<span style="display:none;">{{{1}}}</span><span data-lock-params="{{#if: {{{4|}}}|{{{4}}}|{{{3}}}}}" title="{{#switch:{{{1}}}
<onlyinclude>{{#if: {{{3|}}}|{{#arraydefine:text|{{{3}}}}}|{{#arraydefine:text}}}}<span style="display:none;">{{{1}}}</span><span {{#ifeq: {{{1|}}}|LockedCondition|data-lock-params="{{#if: {{{4|}}}|{{{4}}}|{{{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: {{{3|}}}|{{#arrayprint:text|;&nbsp;|@@@@}}|Needs to be unlocked by performing certain action}}

Revision as of 19:06, 9 March 2020

{{#arraydefine:text}}{{{1}}}

For areas that need to be unlocked from the opposite side: {{#arraydefine:text}}Locked🔒

 {{Unlockable|Locked}} 

For connections that require certain actions to be unlocked: {{#arraydefine:text}}LockedCondition 🔐 {{#arraydefine:text|Destroy the world,}}LockedCondition🔐

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


For connections that unlock a bidirectional entrance: {{#arraydefine:text}}Unlock🔑

 {{Unlockable|Unlock}}