Template:Include references models cargo: Difference between revisions

From CSDMS
No edit summary
Undo revision 235775 by WikiSysop (talk)
Tag: Undo
 
(244 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::a module overview, describing a module]]}}|<br>
{{#ifeq:{{#cargo_query:tables=RefsInt2|where = PublicationMultipleModelsCargo  LIKE "{{PAGENAME}}"|default=}}|||{{Publication_table_models1}} {{#arraydefine:refs |{{#cargo_query:tables= RefsInt2|where = PublicationMultipleModelsCargo LIKE "{{PAGENAME}}"| fields=_pageName|format=template|template=Test3a}} }} }}
===Overview and general===
{{Publication_table_models}}
{{#arraydefine: references | {{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::a module overview, describing a module]]|mainlabel=|format=array }} }}
{{
{{
   #loop: i
   #loop: i
   | 0                    <!-- loops start value for {{#var:i}} -->
   | 0                    <!-- loops start value for {{#var:i}} -->
   | {{#arraysize:references}} <!-- number of loops -->
   | {{#expr:{{#arraysize:refs}} -1}} <!-- number of loops; remove one as Cargo adds one in the end -->
   | <tr><td>{{#if:{{#ask:[[References_external1::{{#arrayindex:references| {{#var:i}}}}]]|mainlabel=-|? Ref_ex_lastName=}}|{{#ask:[[References_external1::{{#arrayindex:references| {{#var:i}}}}]]| mainlabel=-|? Ref_ex_lastName=|? Ref_ex_firstName=| format=template| template=authors_template}}{{#ask:[[References_external3::{{#arrayindex:references| {{#var:i}}}}]]| mainlabel=-|? Ref_ex_title|? Ref_ex_publicationTitle|? Ref_ex_date|? Ref_ex_volume|? Ref_ex_issue|? Ref_ex_pages|? Ref_ex_url|? Ref_ex_DOI| format=template| template=main_ref_template}}|{{#ask:[[{{#arrayindex:references| {{#var:i}}}}]]|mainlabel=-|? BibAuthor=|? BibYear=|? BibTitle=| ?BibJournal=|? BibVolume=|? BibPages=|? BibDOI= |? BibURL=|format=template| template=Bib_ref}}}}{{#ask:[[{{#arrayindex:references| {{#var:i}}}}]]| Mainlabel=|? Publication-HPCC-yesno=|? DOI-entry=|? Publication-URL=|? Publication-ClusterID=|? Publication-multiple-models=|? ClusterID=| format=template| template=Model_ref_metadata}}
   | <tr><td> {{
{{
    #arraydefine: val | {{#arrayindex:refs | {{#var:i}} }} | ;
    #arraydefine: val | |;
    }}{{#ifeq:{{#cargo_query:tables=RefsExt2|where = _pageName = '{{#arrayindex: val | 0}}'|default=|fields=ItemType}}| |{{#cargo_query:tables= AuthorsMan|where = _pageName = '{{#arrayindex: val | 0}}'|default=|fields=_ID, Firstname|order by=_ID ASC |format=template|template=Test4b}}{{#cargo_query:tables=BibEntryCargo|where = _pageName = '{{#arrayindex: val | 0}}'|default=|fields=_pageName, BibType,Title, Editors, Year, Journal, Booktitle, Volume,Pages, URL, DOI, ISBN, Note|format=template|template=Test6a}}|{{#cargo_query:tables=RefsExt|where = _pageName = '{{#arrayindex: val | 0}}'|default=|fields=_ID, Lastname, Firstname|order by=_ID ASC |format=template|template=Test4a}}{{#cargo_query:tables=RefsExt2|where = _pageName = '{{#arrayindex: val | 0}}'|default=|fields=_pageName, ItemType, Title , PublicationTitle,  Booktitle, JournalAbbreviation, Volume, Issue, Url, DOI, Pagenumbers, Publicationdate, AccessDate |format=template|template=Test5a}} }}</td><td>{{#cargo_query:tables=RefsInt2|where = _pageName = '{{#arrayindex: val | 0}}'|default=|fields= PublicationMultipleModelsCargo|format=template|template=Test7a}}</td><td>{{#cargo_query:tables=RefsInt1|where = _pageName = '{{#arrayindex: val | 0}}'|default=|fields= PublicationWhatKindOf, PublicationClusterID, PublicationCitationsNr, MS_PublicationClusterID|format=template|template=Test8a}}</td>
    }}{{
}}</table></div></div>
    #arrayindex: val | 0
    }}
}}
</table>|}}

Latest revision as of 09:28, 20 December 2019

Error: Table AuthorsMan not found.