Template:ModelDocumentationTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
</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> | ||
{{ProcessStateTemplate|model={{#show:{{PAGENAME}}|? IsDocumentationOf|link=none}} }} | |||
{| 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::<q>[[-IsDocumentationOf::{{PAGENAME}}]]</q>]]}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2"|<span style="font-size: larger;">{{#ask:[[HasLevel::0]][[IsDocumentationOf::<q>[[-IsDocumentationOf::{{PAGENAME}}]]</q>]]}}</span> | ||
|- | |- | ||
| colspan="2"|{{#arraymap: | | colspan="2"|{{#arraymap: | ||
{{#ask:[[HasLevel::0]][[IsDocumentationOf | {{#ask:[[HasLevel::0]][[IsDocumentationOf.-IsDocumentationOf::{{PAGENAME}}]]|link=none|sep=;}} <!-- top page of model documentation --> | ||
|;|x0 | |;|x0 | ||
|<ul>{{#arraymap: | |<ul>{{#arraymap: | ||
Line 49: | Line 51: | ||
|<div class="mw-collapsible"> | |<div class="mw-collapsible"> | ||
|{{#ifeq:{{#ask:[[-HasParent::{{PAGENAME}}]]|link=none}}|x2 <!--actual page is child of x2 --> | |{{#ifeq:{{#ask:[[-HasParent::{{PAGENAME}}]]|link=none}}|x2 <!--actual page is child of x2 --> | ||
|<div class="mw-collapsible"> | |<div class="mw-collapsible"> | ||
|<div class="mw-collapsible mw-collapsed"> | |<div class="mw-collapsible mw-collapsed"> | ||
}}<!-- actual page is child --> | }}<!-- actual page is child --> | ||
}} <!--actual page is x1 --> | }} <!--actual page is x1 --> |
Revision as of 09:29, 20 June 2018
This is the "ModelDocumentationTemplate" template. It should be called in the following format:
{{ModelDocumentationTemplate |IsDocumentationOf= |DocumentationCategory= |HasLevel |HasSeq |HasParent |isEmpty }}
Edit the page to see the template text.