Difference between revisions of "Template:InputOutputParameterTemplate"
Oostenrijr (talk | contribs) |
|||
(26 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::{{ | + | |{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]] |
|mainlabel= | |mainlabel= | ||
|?HasDescription=Description | |?HasDescription=Description | ||
− | |||
|?HasVariableType=Type | |?HasVariableType=Type | ||
− | | | + | |link=none |
|sort=HasVariableType, | |sort=HasVariableType, | ||
|format=template | |format=template | ||
Line 21: | Line 17: | ||
|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= Variabele | |mainlabel= Variabele | ||
|?HasDescription=Description | |?HasDescription=Description | ||
|?HasVariableType=Type | |?HasVariableType=Type | ||
|link=none | |link=none | ||
+ | |sort=HasVariableType | ||
+ | |order=desc | ||
|format=template | |format=template | ||
|template=ComponentOutputTemplate | |template=ComponentOutputTemplate | ||
Line 48: | Line 42: | ||
|outro=</table> | |outro=</table> | ||
}} | }} | ||
− | |}} | + | |}}</includeonly> |
− | </includeonly> |