Template:ModelDocumentationTemplate: Difference between revisions
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=-}} }}<!-- | ||
-->{{# | -->{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|;|xx<!-- | ||
--> | -->|{{#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.