DPL template to act as a job aid to generate the list of GIM dimensional model tables exported by Job_ExportGIM. The links in the results are manipulated to link to the table descriptions in whatever manual the template results are eventually transcluded to. The result of the template call is visible link markup. The expectation is that the writer will copy the results of the template call onto the AboutDataExport page in the Library book, interpolating the View results alphabetically into the list of tables, as well as interpolating the following partially duplicated entry:
* [[Documentation:{{PONYDOCSPRODUCTSHORT}}:{{PONYDOCSMANUALSHORT}}:Table-USER_DATA_CUST_DIM_1:{{PONYDOCSVERSION}}|USER_DATA_CUST_DIM_2]]
The template includes a second query looking for non-CTL, non-STG tables that are not included in the data export, to verify that the AboutDataExport page does not need to be updated.
==Is the Data Export list complete?==
{{#dpl:
|namespace=Documentation
|titlematch=GIM:Library:Table-%:{{PONYDOCSVERSION}}
|nottitlematch=GIM:Library:Table-CTL_%:%{{!}}GIM:Library:Table-STG_%:%
|includenotmatch=/dataExport\s*=\s*yes/
|include={PDMTable}:tableName
|resultsheader=There are %PAGES% non-CTL, non-STG tables that do not have dataExport=yes
|noresultsheader=There are no non-CTL, non-STG tables that do not have dataExport=yes
|format={{ColumnFormat|content=,\n* [[%PAGE%|,]],}}
|mode=userformat
}}
==Data Export List Markup==
{{Editgrn_open}}Start copying here:{{Editgrn_close}}<br />
<nowiki>{{ColumnFormat|cols=2|content=</nowiki><br />
{{#dpl:
|namespace=Documentation
|titlematch=GIM:Library:Table-%:{{PONYDOCSVERSION}}
|includematch=/dataExport\s*=\s*yes/
|include={PDMTable}:tableName
|format=,\n* [[²{#dplreplace:%PAGE%{{!}}/(.*):(.*):(.*):(.*)/{{!}}Documentation:<nowiki>{{PONYDOCSPRODUCTSHORT}}</nowiki>:<nowiki>{{PONYDOCSMANUALSHORT}}</nowiki>:$3:<nowiki>{{PONYDOCSVERSION}}</nowiki>}²{{!}},]]<br />,
|mode=userformat}}
<nowiki>}}</nowiki>
{{Editgrn_open}}'''Writer!''' Interpolate the following partially duplicated entry into the list:{{Editgrn_close}}<br />
<nowiki>* [[Documentation:{{PONYDOCSPRODUCTSHORT}}:{{PONYDOCSMANUALSHORT}}:Table-USER_DATA_CUST_DIM_1:{{PONYDOCSVERSION}}|USER_DATA_CUST_DIM_2]]</nowiki>
{{Editgrn_open}}Also interpolate the following View results into the list:{{Editgrn_close}}<br />
{{#dpl:
|namespace=Documentation
|titlematch=GIM:Library:View-%:{{#switch:{{PONYDOCSSTATUS}}|preview|unreleased=8.5DRAFT|released=8.5PDMSource}}
|includematch=/dataExport\s*=\s*yes/
|include={PDMView}:viewName
|format=,\n* [[²{#dplreplace:%PAGE%{{!}}/(.*):(.*):(.*):(.*)/{{!}}Documentation:<nowiki>{{PONYDOCSPRODUCTSHORT}}</nowiki>:<nowiki>{{PONYDOCSMANUALSHORT}}</nowiki>:$3:<nowiki>{{PONYDOCSVERSION}}</nowiki>}²{{!}},]] (actualized view)<br />,
|mode=userformat}}