Difference between revisions of "Template:ModelDocumentationTemplate"
m (1 revision imported) |
|||
(28 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|HasSeq | |HasSeq | ||
|HasParent | |HasParent | ||
+ | |isEmpty | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly | + | </noinclude><includeonly>{{#ifeq:{{#show:{{PAGENAME}}|? IsInPrintMode}}|true|| |
− | + | {{ProcessStateTemplate|model={{#show:{{PAGENAME}}|? IsDocumentationOf|link=none}} }} | |
− | + | {{ModelInfoBoxesTemplate}} | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:{{{DocumentationCategory|}}}]]<!-- | [[Category:{{{DocumentationCategory|}}}]]<!-- | ||
-->{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}<!-- | -->{{#set:IsDocumentationOf={{{IsDocumentationOf|}}} }}<!-- | ||
− | -->{{#set:HasLevel={{{ | + | -->{{#set:IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}} }}<!-- |
− | -->{{#set:HasSequence={{{ | + | -->{{#set:HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} }}<!-- |
− | -->{{#ifeq: | + | -->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!-- |
− | </includeonly> | + | -->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0|<!-- |
+ | -->|{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|valuesep=;}}|;|xx<!-- | ||
+ | -->|{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }}<!-- | ||
+ | -->|}} }}<!-- | ||
+ | -->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }} }}</includeonly> |
Revision as of 16:17, 30 March 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.