×
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

(add category)
(switch order of parameters 2 and 3, separate page link from span, cleanup)
Line 1: Line 1:
<onlyinclude><span style="display:none;">{{{1}}}</span><span {{#ifeq: {{{1|}}}|LockedCondition|data-lock-params="{{#if: {{{4|}}}|{{{4}}}|{{{3}}}}}"|}}  
<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: {{{3|}}}|{{{3}}}|Needs to be unlocked by performing certain actions}}
|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 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|Test1}}
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,|Test2}}


<pre> {{Unlockable|LockedCondition|Link to instructions|Instructions}} </pre>
<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: 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)