Template:Include featured references models cargo2: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#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 = | |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=" | {{#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 |