Template:Task: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 2: Line 2:
    {{#cargo_declare:
    {{#cargo_declare:
    _table=tasks;
    _table=tasks;
    Has number=Number;
    Has_number=Number;
    Has name=Text;
    Has_name=Text;
    Has indicators=List (,);
    Has_indicators=List (,);
    Has participants=List (,);
    Has_participants=List (,);
    Has workpackage=Text;
    Has_workpackage=Text;
    }}
    }}


    <templatedata>
    <templatedata>
    Line 39: Line 40:
    "label": "Workpackage",
    "label": "Workpackage",
    "description": "What workpackage is this task for?",
    "description": "What workpackage is this task for?",
    "example": "Governance_management_and_quality",
    "example": "Governance management and quality",
    "type": "wiki-page-name",
    "type": "wiki-page-name",
    "required": true
    "required": true
    Line 59: Line 60:
    |-
    |-
    ! Task number
    ! Task number
    | {{#cargo_store:
    | {{#cargo_declare:
      _table=tasks;
    _table=tasks;
      Has number={{{Has number|}}};
    Has_number=Number;
      Has name={{{Has name|}}};
    Has_name=Text;
      Has indicators={{{Has indicators|}}};
    Has_indicators=List (,);
      Has participants={{{Has participants|}}};
    Has_participants=List (,);
      Has workpackage={{{Has workpackage|}}};
    Has_workpackage=Text;
    }}
    }}
    | [[Has number::{{{Has number|}}}]]
    | [[Has number::{{{Has number|}}}]]
    |-
    |-

    Revision as of 12:22, 21 March 2024

    Error: table name "tasks;

    Has_number=Number; Has_name=Text; Has_indicators=List (,); Has_participants=List (,);

    Has_workpackage=Text;" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.


    Everything related to a task

    Template parameters

    ParameterDescriptionTypeStatus
    Task numberHas number

    The number of the task

    Example
    1, 2, 3
    Numberrequired
    NameHas name

    Name of the task

    Example
    Improve and transform the governance of UNITA
    Stringrequired
    IndicatorsHas indicators

    Indicators to measure the task performance and advancement

    Page nameoptional
    ParticipantsHas participants

    All participants for this task

    Page nameoptional
    WorkpackageHas workpackage

    What workpackage is this task for?

    Example
    Governance management and quality
    Page namerequired


    Task number
    Error: table name "tasks;

    Has_number=Number; Has_name=Text; Has_indicators=List (,); Has_participants=List (,);

    Has_workpackage=Text;" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.
    Name
    Indicators
    Participants
    Workpackage