Template:Labbasics: Difference between revisions

From CSDMS
(Created page with "<noinclude> This is the 'Labbasics' template. It should be called in the following format: <pre> {{Labbasics |Labtitle= }} </pre> Edit the page to see the template text.</noin...")
 
No edit summary
 
(120 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{Labbasics
{{Labbasics
|Labtitle=
|Labtitle=
|LabDateContributedOrUpdated=
|LabDescriptionShort=
|LabModelDocumentation=
|LabURLDownloadNotebook=
|LabAssociatedLesson=
|LabURLStartNotebook=
|LabURL2StartNotebook=
|LabCODuration=
|LabCOModule=
|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|}}}|LabURL2StartNotebook={{{LabURL2StartNotebook|}}}|LabAssociatedLesson={{{LabAssociatedLesson|}}} }}<div class="row"><div class="col-sm-12">
=={{{Labtitle|}}}==
</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 using:'''{{#ifeq:{{{LabURLStartNotebook|}}}| | | # [{{{LabURLStartNotebook|}}} Jupyter]}}{{#ifeq:{{{LabURL2StartNotebook|}}}| | | # [{{{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|}}}]]
| ?Labtitle
| ?LabCOModule
| limit=5
| format=template
| template=Labseries
}}
}}
</pre>
}}</div></div>
Edit the page to see the template text.</noinclude><includeonly>[[Labtitle::{{{Labtitle|}}}]] {{#default_form:Labs}}</includeonly><noinclude>
<div class="row"><div class="col-sm-12"><br><big><big>Contributor(s)</big></big><br></div></div>
</includeonly><noinclude>

Latest revision as of 11:16, 11 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.