Template:ModelInfoTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|Name
|Name
|Version
|Version
|Country
|participation
|Institution
</pre>[[Category:ReferenceCardStructure]]
</pre>
</noinclude><includeonly>
</noinclude><includeonly>


{{#formlink:form=ModelInfoForm|link text=edit About|link type=button|target={{PAGENAME}} }}
{{#formlink:form=ModelInfoForm|link text=edit About|link type=button|target={{PAGENAME}} }}
{{DisplayModelInfoTemplate|model={{PAGENAME}} }}
{{DisplayTemplate|model={{PAGENAME}}|group=About }} <!-- no docPage-->
{{#subobject:Name and version
{{SetFeatureTemplate
|IsAttributeOfModel={{PAGENAME}}
|id=Name and version
|HasAttributeLabel=Name and version
|featurePage=FeatureStructureAbout
|HasText={{{Name|}}} {{{Version|}}}
|text={{{Name|}}} {{{Version|}}}
}}{{SetFeatureTemplate
|id=Model link
|featurePage=FeatureStructureAbout
|text={{{ModelLink|}}}
}}{{SetFeatureTemplate
|id=Documentation
|featurePage=FeatureStructureAbout
|text={{#ifeq:{{{participation|}}}|reference card only
              |{{PAGENAME}} documentation is limited and consists of a reference card
              |{{PAGENAME}} documentation consists of a referencecard and [[Model Documentation - {{PAGENAME}}|detailed model documentation]]
              }}
}}{{SetFeatureTemplate
|id=Institution
|featurePage=FeatureStructureAbout
|text={{#show:{{PAGENAME}}|? HasInstitutionText|sep=<br/>}}
}}{{SetFeatureTemplate
|id=Process state
|featurePage=FeatureStructureAbout
|text={{{processState|}}}
}}{{#set:
  HasName={{{Name|}}}
  |HasVersion={{{Version|}}}
  |HasParticipationState={{{participation|}}}
  |HasProcessState={{{processState|}}}
  |HasModelLink={{{ModelLink|}}}|+sep=;
}}
}}
{{#subobject:Institution
</includeonly>
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Institution
|HasText=Institution(s) and users
|HasList={{#arraymap:<!--
          -->{{#ask:[[IsInstituteOfModel::{{PAGENAME}}]]|link=none|sep=;}}
              |;|xx
              |{{#ask:[[xx]]
              |mainlabel=-
              |? HasInstituteAbbr=abbr
              |? HasInstitution=inst
              |? HasInstitutionLink=link
              |? HasModelUser=modeluser
              |? HasCountry=country
              |format=template
              |template=InstitutionTextTemplate
              |sep=;
              |named args
              }}<!--
        -->|}}
}}
{{#set:
HasName={{{Name|}}}
|HasVersion={{{Version|}}}|
}}</includeonly>

Latest revision as of 11:25, 24 November 2021

Parameters
|Name
|Version
|participation