Jump to: navigation, search

KVP2

Temporary template to identify changes required for Chat.

Modifying the template originally developed for Callback (GMS). Now setting up to use Cargo.

The template expects KVP info to be captured in a Library book, for reuse by query in GPR, GIM, possibly GI2/GCXI (and GMS if the legacy display can translate seamlessly). It should be called in the following format:

{{KVP2
|KVP=
|KVPDesc=
|KVPType=
|KVPValid=
|mapsTo=
|mandatoryForGIM=
|introduced=
|modified=
|discontinued=
|KVPCategory=
}}

but it's intended to make specifying the |mapsTo parameter optional, ideally getting it populated by reciprocal query to the GIM PDM Library book.

The content of this template is:

{{#cargo_declare:_table=KVP2|KVP=Text|KVPDesc=Wikitext(size=5000)|KVPType=Text|KVPValid=Wikitext(size=5000)|mapsTo=Text|mandatoryForGIM=Text|introduced=Text|modified=Text|discontinued=Text|KVPCategory=Text}}

{{#cargo_store:_table=KVP2|KVP={{{KVP}}}|KVPDesc={{{KVPDesc}}}|KVPType={{{KVPType|}}}|KVPValid={{{KVPValid|}}}|mapsTo={{#if:{{{mapsTo|}}}|{{{mapsTo}}}|Not mapped}}|mandatoryForGIM={{{mandatoryForGIM|}}}|introduced={{{introduced|}}}|modified={{{modified|}}}|discontinued={{{discontinued|}}}|KVPCategory={{{KVPCategory|}}}}}

This template defines the table "KVP2". View table.

This page was last edited on March 9, 2018, at 23:43.
Comments or questions about this documentation? Contact us for support!