Template:ModelInfoBoxesTemplate: Difference between revisions
Jump to navigation
Jump to search
Mike Dielen (talk | contribs) No edit summary |
Mike Dielen (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
<includeonly> | <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="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 21: | Line 22: | ||
|;|x1 | |;|x1 | ||
|{{#ifexpr:{{#ask:[[HasParent::x1]]|format=count}}=0 | |{{#ifexpr:{{#ask:[[HasParent::x1]]|format=count}}=0 | ||
|<li>[[x1]]</li> | |||
|{{#ifeq:{{PAGENAME}}|x0 | |{{#ifeq:{{PAGENAME}}|x0 | ||
|<div class="mw-collapsible mw-collapsed"> | |<div class="mw-collapsible mw-collapsed"> | ||
|{{#ifeq:{{PAGENAME}}|x1 | |{{#ifeq:{{PAGENAME}}|x1 | ||
Line 31: | Line 32: | ||
|<div class="mw-collapsible"> | |<div class="mw-collapsible"> | ||
|<div class="mw-collapsible mw-collapsed"> | |<div class="mw-collapsible mw-collapsed"> | ||
}} | |||
}} | }} | ||
}} | }} | ||
--><li>[[x1]]</li> | --><li>[[x1]]</li> | ||
<div class="mw-collapsible-content"> | --><div class="mw-collapsible-content"> | ||
<ul>{{#arraymap: | --><ul>{{#arraymap: | ||
{{#ask:[[HasParent::x1]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=plainlist}} | {{#ask:[[HasParent::x1]]|? HasSequence-|link=none|sep=;|sort=HasSequence|format=plainlist}} | ||
|;|x2 | |;|x2 | ||
|<li>[[x2]]</li> | |||
}} | }} | ||
|}} | </ul></div></div> | ||
|}} | |||
|}} | |}} | ||
|}} | |}} |
Revision as of 11:22, 17 February 2025
This is the "ModelInfoBoxesTemplate" template. It should be called in the following format:
{{ModelInfoBoxesTemplate |cat=DocumentationCategory }}
Edit the page to see the template text.