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



YumeWiki
3,034Articles

Template:Connection: Difference between revisions

No edit summary
No edit summary
Line 5: Line 5:
{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = {{#switch:{{{unlock_type|}}}|Locked = Locked|Unlock = Unlockable|LockedCondition = Conditional}}}}
{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = {{#switch:{{{unlock_type|}}}|Locked = Locked|Unlock = Unlockable|LockedCondition = Conditional}}}}
}}
}}
{{#if: {{{effects_needed||}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = Needs Effect}} }}
{{#if: {{{effects_needed||}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = Needs Effect|Connection/Effects needed = {{{effects_needed}}}|+sep=,}} }}
{{#if: {{{season||}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = Seasonal|Connection/Season available = {{{season}}}}} }}
{{#if: {{{season||}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = Seasonal|Connection/Season available = {{{season}}}}} }}
{{#if: {{{chance_description||}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = Chance }} }}
{{#if: {{{phonebooth_type}}}|
{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = {{#switch: {{{phonebooth_type|}}}
|Shortcut = Shortcut
|ExitPoint = Exit Point }}}}
}}
{{#if: {{{isolation_type}}}|
{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = {{#switch: {{{isolation_type|}}}
|DeadEnd = Dead End
|Return = Return }}}}
}}
isolation_type
{{{1}}} {{#ifeq: {{{one_way_type}}}|NoEntry||{{#switch: {{{unlock_type|}}}
{{{1}}} {{#ifeq: {{{one_way_type}}}|NoEntry||{{#switch: {{{unlock_type|}}}
|Locked
|Locked
Line 12: Line 24:
|LockedCondition = {{Unlockable|{{{unlock_type}}}|{{{unlock_instruction_link|}}}|{{{unlock_instructions|}}}}}
|LockedCondition = {{Unlockable|{{{unlock_type}}}|{{{unlock_instruction_link|}}}|{{{unlock_instructions|}}}}}
}} {{#if: {{{effects_needed|}}}|{{NeedsEffect|{{{effects_needed}}}|{{#switch: {{{effect_conjunction|}}}|Or = Or|#default = And}}}}}} {{#if: {{{season|}}}|{{Seasonal|{{{season}}}}}}}
}} {{#if: {{{effects_needed|}}}|{{NeedsEffect|{{{effects_needed}}}|{{#switch: {{{effect_conjunction|}}}|Or = Or|#default = And}}}}}} {{#if: {{{season|}}}|{{Seasonal|{{{season}}}}}}}
}} {{#if: {{{chance_description|}}}|{{Chance|{{{chance_description|}}}|{{{chance_percentage|30%}}}}}}} {{#switch: {{{phonebooth_type|}}}
}} {{#if: {{{chance_description|}}}|{{Chance|{{{chance_description|}}}|{{{chance_percentage|}}}}}}} {{#switch: {{{phonebooth_type|}}}
|Shortcut
|Shortcut
|ExitPoint = {{Phonebooth|{{{phonebooth_type}}}}}}} {{#switch:{{{isolation_type|}}}
|ExitPoint = {{Phonebooth|{{{phonebooth_type}}}}}}} {{#switch:{{{isolation_type|}}}

Revision as of 07:56, 7 December 2022

Proof of concept for a connection template that returns a subobject representing connections. isolation_type Scrambled Egg Zone LockedCondition🔐+ Child NoReturn➡️