Template:CargoExists

From Another Eden Wiki

cargo existence check returns text string "exists" or empty value if cargo is disabled

  • 1st check on page happens with cargo_query to cargo table "Cats" for empty result if table exists,
    • produces var:cargo=exists after
    • or var:cargo=notExists if cargo is disabled or Cats table do not exists
  • all next checks on same page, check only variable, and do not call cargo_query
{{#if:{{CargoExists}}|cargo exist|cargo doesnt exist}}<br>
variable: ->{{#var:cargo}}<-


cargo exist
variable: ->exists<-