Template:Include references models cargo2: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<center> {{PageTitle| References of [[Model:{{#replace:{{PAGENAME}}|-Publications}}|{{#replace:{{PAGENAME}}|-Publications}}]] }}</center> | <center> {{PageTitle| References of [[Model:{{#replace:{{PAGENAME}}|-Publications}}|{{#replace:{{PAGENAME}}|-Publications}}]] }}</center> | ||
<br>{{AddReferenceUploadButtons1}}<br><br> | <br>{{AddReferenceUploadButtons1}}<br><br> | ||
{{#ifeq:{{#cargo_query:tables=RefsInt2|where = PublicationMultipleModelsCargo LIKE "{{#replace:{{PAGENAME}}|-Publications}}"|limit=500|default=}}|||{{Publication_table_models1}} {{#arraydefine:refs |{{#cargo_query:tables= RefsInt2|where = PublicationMultipleModelsCargo LIKE "{{#replace:{{PAGENAME}}|-Publications}}" | fields=_pageName|format=template|limit=500|template=Test3a}} }} }} | {{#ifeq:{{#cargo_query:tables=RefsInt2|where = PublicationMultipleModelsCargo LIKE "{{#replace:{{PAGENAME}}|-Publications}}"|limit=500|default=}}|||{{Publication_table_models1}} | ||
{{#ifeq:{{#cargo_query:tables=RefsInt2|where = PublicationMultipleModelsCargo LIKE "CSDMS"|limit=500|default=}}|CSDMS|| | |||
{{#arraydefine:refs | | |||
{{#cargo_query:tables= RefsInt2 | |||
|where = PublicationMultipleModelsCargo LIKE "{{#replace:{{PAGENAME}}|-Publications}}" | |||
| fields=_pageName | |||
|format=template | |||
|limit=500 | |||
|template=Test3a | |||
}} | |||
}} | |||
}} | |||
}} | |||
{{ | {{ | ||
#loop: i | #loop: i |