|
|
(17 intermediate revisions by 2 users not shown) |
Line 6: |
Line 6: |
| |IsDocumentationOf= | | |IsDocumentationOf= |
| |DocumentationCategory= | | |DocumentationCategory= |
− | |HasLevel
| |
− | |HasSeq
| |
− | |HasParent
| |
| |isEmpty | | |isEmpty |
| }} | | }} |
| </pre> | | </pre> |
| Edit the page to see the template text. | | Edit the page to see the template text. |
− | </noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | + | </noinclude><includeonly>{{#ifeq:{{#show:{{PAGENAME}}|? IsInPrintMode}}|true|| |
− | ! style="text-align: center; background-color:#ccccff;" colspan="2"|<span style="font-size: larger;">{{#ask:[[HasLevel::0]][[IsDocumentationOf::<q>[[-IsDocumentationOf::{{PAGENAME}}]]</q>]]}}</span>
| + | {{ProcessStateTemplate|model={{#show:{{PAGENAME}}|? IsDocumentationOf|link=none}} }} |
− | |-
| + | {{ModelInfoBoxesTemplate}} |
− | | colspan="2"|{{#arraymap:
| |
− | {{#ask:[[HasLevel::0]][[IsDocumentationOf::<q>[[-IsDocumentationOf::{{PAGENAME}}]]</q>]]|link=none|sep=;}}
| |
− | |;|xx
| |
− | |<ul>
| |
− | {{#ask:[[HasParent::xx]]|? HasSequence=|link=none|sep=;|format=template|template=level1Template|sort=HasSequence}}
| |
− | </ul>
| |
− | |}}
| |
− | |-
| |
− | ! style="text-align: center; background-color:#ccccff;" colspan="2"|<span style="font-size: larger;">Corresponding documentation</span>
| |
− | |-
| |
− | | colspan="2"|
| |
− | {{CorrespondingPageTemplate
| |
− | |{{#show:{{PAGENAME}}|? HasLevel}}
| |
− | |{{#show:{{PAGENAME}}|? HasSequence}}
| |
− | }}
| |
− | |-
| |
− | ! style="text-align: center; background-color:#ccccff;" colspan="2"|<span style="font-size: larger;">Model information</span>
| |
− | |-
| |
− | ! style="width:7em;"| Institution
| |
− | | {{#ask:[[-isDocumentationOf::{{PAGENAME}}]]|? HasInstitution=|mainlabel=-}}<!--
| |
− | --> {{#ask:[[Category:Model]][[-isDocumentationOf::{{PAGENAME}}]]
| |
− | |? HasInstitutionLink=
| |
− | |mainlabel=-
| |
− | |intro= (
| |
− | |outro=)
| |
− | }}
| |
− | |- | |
− | ! Model type
| |
− | | {{#ask:[[Category:Model]][[-isDocumentationOf::{{PAGENAME}}]]|? HasModelType=|mainlabel=-}}
| |
− | |-
| |
− | ! Country
| |
− | | {{#ask:[[Category:Model]][[-isDocumentationOf::{{PAGENAME}}]]|? HasCountry=|mainlabel=-}}
| |
− | |}
| |
− | [[Category:{{{DocumentationCategory|}}}]]<!--
| |
− | -->{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}<!--
| |
− | -->{{#set:IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}} }}<!--
| |
− | -->{{#set:HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} }}<!--
| |
− | -->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!--
| |
− | -->{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|;|xx<!--
| |
− | -->|{{#ifeq:xx|0||{{#set:HasParent=xx - {{{IsDocumentationOf|}}}<!--
| |
− | -->}} }} |}}<!--
| |
− | -->{{#ifeq:{{{HasParent|}}}|||{{#set:HasParent={{{HasParent|}}} }} }}<!--
| |
− | -->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }}
| |
| | | |
− | </includeonly> | + | [[Category:{{{DocumentationCategory|}}}]] |
| + | {{#set: |
| + | IsDocumentationOf={{{IsDocumentationOf|}}} |
| + | |IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}} |
| + | |HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} |
| + | |HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} |
| + | }}{{#ifeq: |
| + | {{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0| |
| + | |{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|valuesep=;}}|;|xx |
| + | |{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }} |
| + | |}} |
| + | }}{{#ifeq: |
| + | {{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }} |
| + | }}</includeonly> |