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



YumeWiki
3,036Articles

Template:Unlockable: Difference between revisions

m (Added data-params test)
(Changed data-params to data-lock-params.)
Line 1: Line 1:
<onlyinclude>{{#if: {{{3|}}}|{{#arraydefine:text|{{{3}}}}}|{{#arraydefine:text}}}}<span style="display:none;">{{{1}}}</span><span data-params="{{#if: {{{4|}}}|{{{4}}}|{{{3}}}}}" title="{{#switch:{{{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}}}
|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 13:32, 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}}