Template:Include references models: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 2: Line 2:
===Source code===
===Source code===
''Suggested way to reference a version of the model source code following [[DOI_system_for_models|data reference guidelines]]:''
''Suggested way to reference a version of the model source code following [[DOI_system_for_models|data reference guidelines]]:''
{{Publication_table_models}}<tr><td>
{{Publication_table_models}}
{{#ask:[[References_external1::Reference:{{#explode:{{#explode:{{urlencode:{{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::reference to source code]]|mainlabel=}} }}|%3A|2 }}|%7C|0}}]]
{{#arraydefine: references | {{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::reference to source code]]|mainlabel=|format=array }} }}
{{
  #loop: i
  | 0                    <!-- loops start value for {{#var:i}} -->
  | {{#arraysize:references}} <!-- number of loops -->
  | <nowiki/>
{{
    #arraydefine: val | {{#arrayindex:references| <tr><td>{{#ask:[[References_external1::{{#var:i}}]]
| mainlabel=-
| mainlabel=-
|? Ref_ex_lastName=
|? Ref_ex_lastName=
Line 9: Line 16:
| format=template
| format=template
| template=authors_template
| template=authors_template
}}{{#ask:[[References_external3::Reference:{{#explode:{{#explode:{{urlencode:{{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::reference to source code]]|mainlabel=}} }}|%3A|2 }}|%7C|0}}]]
}}{{#ask:[[References_external3::{{#var:i}}]]
| mainlabel=-
| mainlabel=-
|? Ref_ex_title
|? Ref_ex_title
Line 21: Line 28:
| format=template
| format=template
| template=main_ref_template
| template=main_ref_template
}}{{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::reference to source code]]
}}{{#ask: [[Reference::{{#var:i}}]]
| Mainlabel=
| Mainlabel=
|? Publication-HPCC-yesno=
|? Publication-HPCC-yesno=
Line 31: Line 38:
| format=template
| format=template
| template=main_ref_metadata
| template=main_ref_metadata
}}</table>|}}{{#if:{{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::a module overview, describing a module]]}}|<br>
}}</td></tr>
}}|;
    }}{{
    #arrayindex: val | 0
    }}
}}
</table>|}}{{#if:{{#ask: [[Reference:+]][[Publication-multiple-models::{{PAGENAME}}]][[Publication-what-kind-of::a module overview, describing a module]]}}|<br>
===Overview and general===
===Overview and general===
{{Publication_table_models}}<tr><td>
{{Publication_table_models}}<tr><td>

Revision as of 15:51, 29 September 2016