Template:Labbasics: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 16: Line 16:
=={{{Labtitle|}}}==
=={{{Labtitle|}}}==
</div></div>
</div></div>
<div class="row" style="background-color: #D3D3D3"><div class="col-sm-2">'''Model'''<br>[[Model:{{anchorencode:{{{LabModelDocumentation|}}} }}|{{{LabModelDocumentation|}}}]]</div><div class="col-sm-2">'''Duration'''<br>[[LabCODuration::{{{LabCODuration|}}}]]</div><div class="col-sm-2">'''Updated'''<br>[[LabDateContributedOrUpdated::{{{LabDateContributedOrUpdated|}}}]]</div><div class="col-sm-2">'''Download'''<br>{{#ifeq:{{{LabURLDownloadNotebook|}}}| | |[{{{LabURLDownloadNotebook|}}} download]}}</div><div class="col-sm-2">'''Run online'''<br>{{#ifeq:{{{LabURLStartNotebook|}}}| | | [{{{LabURLStartNotebook|}}} start]}}</div><div class="col-sm-2">{{#ifeq:{{{LabURLStartNotebook|}}}| | | {{#ifeq:{{#explode: {{{LabURLStartNotebook|}}}|.|-1}}|ipynb|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[File:Jupyter logo.png ‎|35px|link=]]| }} }}
<div class="row" style="background-color: #D3D3D3"><div class="col-sm-2">'''Model'''<br>[[Model:{{anchorencode:{{{LabModelDocumentation|}}} }}|{{{LabModelDocumentation|}}}]]</div><div class="col-sm-2">'''Duration'''<br>[[LabCODuration::{{{LabCODuration|}}}]]</div><div class="col-sm-2">'''Updated'''<br>[[LabDateContributedOrUpdated::{{{LabDateContributedOrUpdated|}}}]]</div><div class="col-sm-2">'''Download'''<br>{{#ifeq:{{{LabURLDownloadNotebook|}}}| | |[{{{LabURLDownloadNotebook|}}} download]}}</div><div class="col-sm-2">'''Run online'''<br>{{#ifeq:{{{LabURLStartNotebook|}}}| | | [{{{LabURLStartNotebook|}}} start]}}</div><div class="col-sm-2">{{#ifeq:{{{LabURLStartNotebook|}}}| | | {{#ifeq:{{#explode: {{{LabURLStartNotebook|}}}|.|-1}}|ipynb|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[File:Jupyter logo.png ‎|35px|link=]]| }} }}</div></div><div class="row"><div class="col-sm-12">{{#ifeq:{{{LabCOModule}}}|1 of 1||<br>This lab is part of the series '''{{{LabCOSeriesName|}}}'''. Others in this series are:{{#ask:[[LabCOSeriesName:: {{{LabCOSeriesName|}}}]]
</div></div><div class="row"><div class="col-sm-12">{{#ifeq:{{{LabCOModule}}}|1 of 1||<br>This lab is part of the series '''{{{LabCOSeriesName|}}}'''. Others in this series are:{{#ask:[[LabCOSeriesName:: {{{LabCOSeriesName|}}}]]





Revision as of 13:50, 2 April 2020

This is the 'Labbasics' template. It should be called in the following format:

{{Labbasics
|Labtitle=
|LabDateContributedOrUpdated=
|LabDescriptionShort=
|LabModelDocumentation=
|LabURLDownloadNotebook=
|LabURLStartNotebook=
|LabCODuration=
|LabCOModule=
|LabCOSeriesName=
}}

Edit the page to see the template text.