Template:ModelDocumentationTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
Line 17: Line 17:
{{ModelInfoBoxesTemplate}}
{{ModelInfoBoxesTemplate}}


[[Category:{{{DocumentationCategory|}}}]]<!--
[[Category:{{{DocumentationCategory|}}}]]
-->{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}<!--
{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}
-->{{#set:IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}} }}<!--
|IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}}  
-->{{#set:HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} }}<!--
|HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}
-->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!--
|HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}}  
-->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0|<!--
}}{{#ifeq:
     -->|{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|valuesep=;}}|;|xx<!--
    {{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0|
             -->|{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }}<!--
     |{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|valuesep=;}}|;|xx
      -->|}} }}<!--
             |{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }}
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }} }}</includeonly>
    |}}  
}}{{#ifeq:
    {{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }}  
}}</includeonly>

Revision as of 15:34, 15 April 2020

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.