Template:ModelDocumentationTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (1 revision imported) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
</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:IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}} ]]|?IsOptionalCategory | -->{{#set:IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}} }}<!-- | ||
-->{{#set:HasLevel={{{ | -->{{#set:HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} }}<!-- | ||
-->{{#set:HasSequence={{{ | -->{{#set:HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} }}<!-- | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}}|0|<!-- | ||
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }} | -->|{{#arraymap:{{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?Subcategory of=|mainlabel=-|link=none|valuesep=;}}|;|xx<!-- | ||
-->|{{#set:HasParent=xx - {{{IsDocumentationOf|}}} }}<!-- | |||
</includeonly> | -->|}} }}<!-- | ||
-->{{#ifeq:{{{IsEmpty|}}}||{{#set:IsEmpty=No}}|{{#set:IsEmpty={{{IsEmpty|}}} }} }} }}</includeonly> |
Revision as of 17: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.