Difference between revisions of "Template:ModelDocumentationTemplate"
(28 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|IsDocumentationOf= | |IsDocumentationOf= | ||
|DocumentationCategory= | |DocumentationCategory= | ||
− | | | + | |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|}}}]] | |
− | + | {{#set: | |
− | + | IsDocumentationOf={{{IsDocumentationOf|}}} | |
− | + | |IsOptional={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?IsOptionalCategory=|mainlabel=-}} | |
− | + | |HasLevel={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategoryLevel=|mainlabel=-}} | |
− | + | |HasSequence={{#ask:[[:Category:{{{DocumentationCategory|}}}]]|?HasCategorySequence=|mainlabel=-}} | |
− | + | }}{{#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> | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | [[Category:{{{DocumentationCategory|}}}]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> |
Latest revision as of 10:37, 27 May 2020
This is the "ModelDocumentationTemplate" template. It should be called in the following format:
{{ModelDocumentationTemplate |IsDocumentationOf= |DocumentationCategory= |isEmpty }}
Edit the page to see the template text.