def METHOD_NAME(
    layout_info: layout_details,
    vars: list[str],
    location: StripPosition,
) -> strip_label_details:
    variables: dict[str, Any] = {
        v: str(layout_info.variables[v]) for v in vars
    }
    meta: dict[str, Any] = {
        "dimension": "cols" if location == "top" else "rows"
    }
    return strip_label_details(variables, meta)