Template:ModelDocumentationTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|IsDocumentationOf=
|IsDocumentationOf=
|DocumentationCategory=
|DocumentationCategory=
|HasLevel
|HasSeq
|HasParent
|isEmpty
|isEmpty
}}
}}
Line 54: Line 51:
-->{{#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=-}} }}<!--
-->{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|;|xx<!--
-->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0|<!--
     -->|{{#ifeq:xx|0||{{#set:HasParent=xx - {{{IsDocumentationOf|}}}<!--
     -->|{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|sep=;}}|;|xx<!--
    -->}} }} |}}<!--
            -->|{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }}<!--
-->{{#ifeq:{{{HasParent|}}}|||{{#set:HasParent={{{HasParent|}}} }} }}<!--
      -->|}} }}<!--
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }}</includeonly>
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }}</includeonly>

Revision as of 11:55, 11 August 2016

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

{{ModelDocumentationTemplate
|IsDocumentationOf=
|DocumentationCategory=
|isEmpty
}}

Edit the page to see the template text.