Template:Labbasics: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 11: Line 11:
|LabAssociatedLesson=
|LabAssociatedLesson=
|LabURLStartNotebook=
|LabURLStartNotebook=
|LabURL2StartNotebook=
|LabCODuration=
|LabCODuration=
|LabCOModule=
|LabCOModule=
|LabCOSeriesName=
|LabCOSeriesName=
}}</pre>Edit the page to see the template text.</noinclude><includeonly>__NOTOC__{{#default_form:Labs}}__NOEDITSECTION__[[Category:Labs]]{{#set:Labtitle={{{Labtitle|}}}|LabDescriptionShort={{{LabDescriptionShort|}}}|LabCOModule={{{LabCOModule|}}}|LabCOSeriesName={{{LabCOSeriesName|}}}|LabModelDocumentation={{{LabModelDocumentation|}}}|LabURLDownloadNotebook={{{LabURLDownloadNotebook|}}}|LabURLStartNotebook={{{LabURLStartNotebook|}}}|LabAssociatedLesson={{{LabAssociatedLesson|}}} }}<div class="row"><div class="col-sm-12">
}}</pre>Edit the page to see the template text.</noinclude><includeonly>__NOTOC__{{#default_form:Labs}}__NOEDITSECTION__[[Category:Labs]]{{#set:Labtitle={{{Labtitle|}}}|LabDescriptionShort={{{LabDescriptionShort|}}}|LabCOModule={{{LabCOModule|}}}|LabCOSeriesName={{{LabCOSeriesName|}}}|LabModelDocumentation={{{LabModelDocumentation|}}}|LabURLDownloadNotebook={{{LabURLDownloadNotebook|}}}|LabURLStartNotebook={{{LabURLStartNotebook|}}}|LabURL2StartNotebook={{{LabURL2StartNotebook|}}}|LabAssociatedLesson={{{LabAssociatedLesson|}}} }}<div class="row"><div class="col-sm-12">
=={{{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:{{{LabAssociatedLesson|}}}| | | {{#ifeq:{{{LabAssociatedLesson|}}}|Jupyter Notebook|&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 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|}}} Jupyter]}}{{#ifeq:{{{LabURL2StartNotebook|}}}| | | <br>[{{{LabURL2StartNotebook|}}} Lab]}}</div><div class="col-sm-2">{{#ifeq:{{{LabAssociatedLesson|}}}| | | {{#ifeq:{{{LabAssociatedLesson|}}}|Jupyter Notebook|&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|}}}]]





Revision as of 10:15, 8 April 2022

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

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

Edit the page to see the template text.