Template:TemplateData: Difference between revisions
Jump to navigation
Jump to search
(Improve support for the `partial` parameter) |
m (Emit MediaWiki TemplateData on `/doc` subpages as well) |
||
Line 10: | Line 10: | ||
! style="width: 10%;" scope="col" {{!}} Status | ! style="width: 10%;" scope="col" {{!}} Status | ||
{{!}}- | {{!}}- | ||
{{#vardefine:templateData-convert| | {{#vardefine:templateData-convert|{{#expr:not{{WsBool|{{{noConvert|}}}}}}}}} | ||
{{{1}}} | {{{1}}} | ||
{{!)}} | {{!)}} | ||
Line 23: | Line 16: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{#var:templateData-convert}}|1<!-- | -->{{#ifeq:{{#var:templateData-convert}}|1<!-- | ||
--> | -->{{#ifeq:{{WsBool|{{{partial|}}}}}|0<!-- | ||
--> | -->{{#if:{{#var:templateData-params}}<!-- | ||
--> | --><nowiki/> | ||
<div class="{{#ifeq:{{WsBool|{{{debug|}}}}}|0|wds-is-hidden|mw-collapsible mw-collapsed" style="display: flow-root;}}"><!-- | <div class="{{#ifeq:{{WsBool|{{{debug|}}}}}|0|wds-is-hidden|mw-collapsible mw-collapsed" style="display: flow-root;}}"><!-- | ||
-->{{#tag:templatedata| | -->{{#tag:templatedata| |
Revision as of 22:57, 9 May 2021
Template for creating a unified parameter format for templates
About
Creates a list that displays Template parameter in a unified format.
Parameter
Do not use named parameter for 1
... x
. The first Parameter will be automatically marked as 1
, the second as 2
and so on.
Parameter | Description | Type | Status |
---|
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
Examples
{{#lsth:Template:TemplateData/entry/doc|Examples}}