Template:ModelInfoBoxesTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "ModelInfoBoxesTemplate" template. It should be called in the following format: <pre> {{ModelInfoBoxesTemplate }} </pre> Edit the page to see the templ...")
 
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{ModelInfoBoxesTemplate
{{ModelInfoBoxesTemplate
|cat=DocumentationCategory
}}
}}
</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>{| 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;"
! style="text-align: center; background-color:#ccccff;"  colspan="2"|<span style="font-size: larger;">{{#ask:[[HasLevel::0]][[IsDocumentationOf.-IsDocumentationOf::{{PAGENAME}}]]}}</span>
! style="text-align: center; background-color:#ccccff;"  colspan="2"|<span style="font-size: larger;">
{{#ask:[[HasLevel::0]][[IsDocumentationOf.-IsDocumentationOf::{{PAGENAME}}]]}}</span>
|-  
|-  
| colspan="2"|{{#arraymap:
| colspan="2"|{{#arraymap:
Line 14: Line 16:
   |;|x0
   |;|x0
   |<ul>{{#arraymap:
   |<ul>{{#arraymap:
     {{#ask:[[HasParent::x0]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=list}}
     {{#ask:[[HasParent::x0]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=plainlist}}
     |;|x1
     |;|x1
     |{{#ifexpr:{{#ask:[[HasParent::x1]]|format=count}}=0 <!--no children
     |{{#ifexpr:{{#ask:[[HasParent::x1]]|format=count}}=0 <!--no children
Line 34: Line 36:
       --><div class="mw-collapsible-content"><!--
       --><div class="mw-collapsible-content"><!--
       --><ul>{{#arraymap:
       --><ul>{{#arraymap:
             {{#ask:[[HasParent::x1]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=list}}   
             {{#ask:[[HasParent::x1]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=plainlist}}   
             |;|x2
             |;|x2
             |{{#ifexpr:{{#ask:[[HasParent::x2]]|format=count}}=0 <!--no children           
             |{{#ifexpr:{{#ask:[[HasParent::x2]]|format=count}}=0 <!--no children           
Line 51: Line 53:
               --><div class="mw-collapsible-content"><!--
               --><div class="mw-collapsible-content"><!--
               --><ul>{{#arraymap:
               --><ul>{{#arraymap:
                   {{#ask:[[HasParent::x2]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=list}}   
                   {{#ask:[[HasParent::x2]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=plainlist}}   
                   |;|x3
                   |;|x3
                   |<li>[[x3]]</li>
                   |<li>[[x3]]</li>
Line 67: Line 69:
   |{{#show:{{PAGENAME}}|? HasLevel}}
   |{{#show:{{PAGENAME}}|? HasLevel}}
   |{{#show:{{PAGENAME}}|? HasSequence}}
   |{{#show:{{PAGENAME}}|? HasSequence}}
  |{{{cat|}}}
   }}
   }}
|-
! style="text-align: center; background-color:#ccccff;" colspan="2" | <span style="font-size: larger;">Previous versions</span>
|-
| colspan="2"| {{#ask:[[IsArchivedVersionOfModel.-isDocumentationOf::{{PAGENAME}}]]|default=No previous version available|format=ul}}
|-
|-
! style="text-align: center; background-color:#ccccff;" colspan="2"|<span style="font-size: larger;">Model information</span>
! style="text-align: center; background-color:#ccccff;" colspan="2"|<span style="font-size: larger;">Model information</span>
|-
! style="width:7em; vertical-align: text-top;"| Model link
|<ul>{{#arraymap:{{#ask:[[-isDocumentationOf::{{PAGENAME}}]]|mainlabel=-|? HasModelLink=|valuesep=;}}|;|link|<li>link</li>|}}</ul>
|-
|-
! style="width:7em; vertical-align: text-top;"| Institution
! style="width:7em; vertical-align: text-top;"| Institution

Latest revision as of 14:50, 24 November 2021

This is the "ModelInfoBoxesTemplate" template. It should be called in the following format:

{{ModelInfoBoxesTemplate
|cat=DocumentationCategory
}}

Edit the page to see the template text.