Can someone please tell me why this:
(if: $farmer's isCollected is true)[[(goto: "Farmer Role Model")]]
gives me this:
Please note the goto inside, instead of just the name. Also, I am trying to create an if then else scenario, but the only way I know to do this is this way:
(if: $farmer's isCollected is true)[[(goto: "Farmer Role Model")]]
(if: $gourmet's isCollected is true)[[(goto: "Chef Role Model")]]
(if: $conservationalist's isCollected is true)[[(goto: "Park Ranger Model")]]
(if: $teacher's isCollected is true)[[(goto: "Teacher Role Model")]]
(if: $publicServant's isCollected is true)[[(goto: "Mayor Role Model")]]
(if: $techie's isCollected is true)[[(goto: "Front End Developer Role Model")]]
This isn't even working, so if someone could kindly tell me the correct way, I would appreciate it. Thank you!
Comments
An Associated Hook (ones used with macros like (if:)) consist of a single open/close square bracket pair, this is the same as Named Hooks: A markup link consists of a double open/close square bracket pair:
accesses the isCollected element of the datamap held in $farmer.
Because JSON is a data interchange format, which is based on Javascript's.