Difference between revisions of "Template:InputOutputParameterTemplate"
Oostenrijr (talk | contribs) |
|||
(44 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>__NOEDITSECTION__{{#ifexpr: |
− | __NOEDITSECTION__ | + | {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}+ |
− | {{#ifexpr: | + | {{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}+ |
− | + | {{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}> 0 | |
− | + | |<h2>Input/Output Table</h2><p>Input {{FULLPAGENAME}} component </p> | |
− | |||
− | |||
− | |<h2> | ||
|}} | |}} | ||
− | {{#ifexpr: {{ | + | {{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0 |
− | + | |{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]] | |
− | | | + | |mainlabel= |
− | |||
− | |||
− | |mainlabel= | ||
|?HasDescription=Description | |?HasDescription=Description | ||
− | |? | + | |?HasVariableType=Type |
− | | | + | |link=none |
+ | |sort=HasVariableType, | ||
|format=template | |format=template | ||
− | |template= | + | |template=ComponentInputTemplate |
− | |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%| | + | |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}} |
|outro=</table> | |outro=</table> | ||
}} | }} | ||
− | |}} | + | |}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0 |
− | {{#ifexpr:{{ | + | |{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]] |
− | |{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{ | ||
|mainlabel= Parameter | |mainlabel= Parameter | ||
|?HasDescription=Description | |?HasDescription=Description | ||
|?HasSource=Source | |?HasSource=Source | ||
|?HasValuesBasedOn = basedon | |?HasValuesBasedOn = basedon | ||
− | |||
|format=template | |format=template | ||
− | |template= | + | |template=ComponentParameterTemplate |
− | |intro={{TableIntroTemplate|20%| | + | |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}} |
|outro=</table> | |outro=</table> | ||
}} | }} | ||
− | |}} | + | |}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0 |
− | {{#ifexpr: {{ | + | |<p>Output {{FULLPAGENAME}} component</p> |
− | + | {{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]] | |
− | |mainlabel= | + | |mainlabel= Variabele |
|?HasDescription=Description | |?HasDescription=Description | ||
− | |? | + | |?HasVariableType=Type |
− | | | + | |link=none |
+ | |sort=HasVariableType | ||
+ | |order=desc | ||
|format=template | |format=template | ||
− | |template= | + | |template=ComponentOutputTemplate |
− | |intro={{TableIntroTemplate|20%| | + | |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}} |
|outro=</table> | |outro=</table> | ||
}} | }} | ||
− | |}} | + | |}}</includeonly> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> |