Template:Include featured references models cargo2: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 1: Line 1:
{{#cargo_query:tables=RefsInt1,RefsInt2
|join on=RefsInt1._pageName=RefsInt2._pageName
|fields=FeatureRef,PublicationMultipleModelsCargo
|where = FeatureRef="Yes" AND PublicationMultipleModelsCargo = "{{PAGENAME}}"
}}
{{#ifeq:
{{#ifeq:
{{#cargo_query:tables=RefsInt1,RefsInt2
{{#cargo_query:tables=RefsInt1,RefsInt2
|join on=RefsInt1._pageName=RefsInt2._pageName
|join on=RefsInt1._pageName=RefsInt2._pageName
|fields=FeatureRef,PublicationMultipleModelsCargo
|fields=FeatureRef,PublicationMultipleModelsCargo
|where = RefsInt1.FeatureRef="YES" AND PublicationMultipleModelsCargo LIKE "{{PAGENAME}}"
|where = FeatureRef="Yes" AND PublicationMultipleModelsCargo LIKE "{{PAGENAME}}"
|default=}}
|default=}}
||
||
|{{Publication_table_models2}} {{#arraydefine:refs |
|{{Publication_table_models2}} {{#arraydefine:refs |
{{#cargo_query:tables=RefsInt1,RefsInt2|join on=RefsInt1._pageName=RefsInt2._pageName|fields=FeatureRef,PublicationMultipleModelsCargo|where = RefsInt1.FeatureRef="YES" AND PublicationMultipleModelsCargo LIKE "{{PAGENAME}}"|fields=RefsInt2._pageName|format=template|template=Test3a}} }} }}
{{#cargo_query:tables=RefsInt1,RefsInt2|join on=RefsInt1._pageName=RefsInt2._pageName|fields=FeatureRef,PublicationMultipleModelsCargo|where = RefsInt1.FeatureRef="Yes" AND PublicationMultipleModelsCargo LIKE "{{PAGENAME}}"|fields=RefsInt2._pageName|format=template|template=Test3a}} }} }}
{{
{{
   #loop: i
   #loop: i

Revision as of 08:56, 25 October 2021