Difference between revisions of "Template:ModelDocumentationTemplate"

From IAMC-Documentation
Jump to: navigation, search
en>Rineke Oostenrijk
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|IsDocumentationOf=
 
|IsDocumentationOf=
 
|DocumentationCategory=
 
|DocumentationCategory=
|HasLevel
 
|HasSeq
 
|HasParent
 
 
|isEmpty
 
|isEmpty
 
}}
 
}}
Line 17: Line 14:
 
{{ModelInfoBoxesTemplate}}
 
{{ModelInfoBoxesTemplate}}
  
[[Category:{{{DocumentationCategory|}}}]]<!--
+
[[Category:{{{DocumentationCategory|}}}]]
-->{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}<!--
+
{{#set:
-->{{#set:IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}} }}<!--
+
IsDocumentationOf={{{IsDocumentationOf|}}}  
-->{{#set:HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} }}<!--
+
|IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}}  
-->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!--
+
|HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}
-->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0|<!--
+
|HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}}  
     -->|{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|valuesep=;}}|;|xx<!--
+
}}{{#ifeq:
             -->|{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }}<!--
+
    {{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0|
      -->|}} }}<!--
+
     |{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|valuesep=;}}|;|xx
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }} }}</includeonly>
+
             |{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }}
 +
    |}}  
 +
}}{{#ifeq:
 +
    {{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }}  
 +
}}</includeonly>

Latest revision as of 10:37, 27 May 2020

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.