Template:ModelDocumentationTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 54: Line 54:
-->{{#set:HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} }}<!--
-->{{#set:HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} }}<!--
-->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!--
-->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!--
-->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0<!--
-->{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|;|xx<!--
     -->||{{#set:HasParent={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|link=none|mainlabel=-}} - {{{IsDocumentationOf|}}}<!--
     -->|{{#ifeq:xx|0||{{#set:HasParent=xx - {{{IsDocumentationOf|}}}<!--
     -->}}<!--
     -->}} }} |}}<!--
-->{{#ifeq:{{{HasParent|}}}|||{{#set:HasParent={{{HasParent|}}} }} }}<!--
-->{{#ifeq:{{{HasParent|}}}|||{{#set:HasParent={{{HasParent|}}} }} }}<!--
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }}
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }}


</includeonly>
</includeonly>

Revision as of 19:58, 9 August 2016

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.