Difference between revisions of "Template:ModelDocumentationTemplate"

From IAMC-Documentation
Jump to: navigation, search
Line 51: Line 51:
 
[[Category:{{{DocumentationCategory|}}}]]<!--
 
[[Category:{{{DocumentationCategory|}}}]]<!--
 
-->{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}<!--
 
-->{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}<!--
 +
-->{{#set:IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}} ]]|?IsOptionalCategory]]}} }}
 
-->{{#set:HasLevel={{{HasLevel|}}} }}<!--
 
-->{{#set:HasLevel={{{HasLevel|}}} }}<!--
 
-->{{#set:HasSequence={{{HasSeq|}}} }}<!--
 
-->{{#set:HasSequence={{{HasSeq|}}} }}<!--
 
-->{{#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 15:15, 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.