Template:ModelDocumentationTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 55: Line 55:
-->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!--
-->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!--
-->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0<!--
-->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0<!--
     -->||{{#set:HasParent={{#ask:[[:Category:Emissions]]|?Subcategory of=|link=none|mainlabel=-}} - {{{IsDocumentationOf|}}}<!--
     -->||{{#set:HasParent={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|link=none|mainlabel=-}} - {{{IsDocumentationOf|}}}<!--
     -->}}<!--
     -->}}<!--
-->{{#ifeq:{{{HasParent|}}}|||{{#set:HasParent={{{HasParent|}}} }} }}<!--
-->{{#ifeq:{{{HasParent|}}}|||{{#set:HasParent={{{HasParent|}}} }} }}<!--

Revision as of 19:55, 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.