No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{{1|}}}|{{#subobject:{{NAMESPACE}} | <onlyinclude>{{#if: {{{1|}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}} | ||
|Connection/Location = {{NAMESPACE}}:{{{1}}}}} | |Connection/Location = {{NAMESPACE}}:{{{1}}} | ||
|Is subobject type = connection}} | |||
{{#if: {{{unlock_type|}}}| | {{#if: {{{unlock_type|}}}| | ||
{{#subobject:{{NAMESPACE}} | {{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = {{#switch:{{{unlock_type|}}}|Locked = Locked|Unlock = Unlockable|LockedCondition = Conditional}}}} | ||
}} | }} | ||
{{#if: {{{effects_needed||}}}| | {{#if: {{{effects_needed||}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = Needs Effect}} }} | ||
{{#subobject:{{NAMESPACE}} | {{#if: {{{season||}}}|{{#subobject:{{NAMESPACE}}:Connection-{{PAGENAME}}-{{{1}}}|Connection/Attribute = Seasonal|Connection/Season available = {{{season}}}}} }} | ||
{{{1}}} {{#ifeq: {{{one_way_type}}}|NoEntry||{{#switch: {{{unlock_type|}}} | {{{1}}} {{#ifeq: {{{one_way_type}}}|NoEntry||{{#switch: {{{unlock_type|}}} | ||
|Locked | |Locked |
Revision as of 07:30, 7 December 2022
⚠
Proof of concept for a connection template that returns a subobject representing connections. Scrambled Egg Zone 🔐+ ✨ ➡️