Template:Test2: Difference between revisions

From Electronen Mikroskopie Museum Nürnberg
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:


<noinclude>
<templatedata>
<templatedata>
{
{
    "description": "Label unsigned comments in a conversation.",
"description": "Label unsigned comments in a conversation.",
    "params": {
"params": {
        "user": {
"user": {
            "label": "User's name",
"label": "User's name",
            "type": "wiki-user-name",
"type": "wiki-user-name",
            "required": true,
"required": true,
            "description": "User name of person who forgot to sign their comment.",
"description": "User name of person who forgot to sign their comment.",
            "aliases": ["1"]
"aliases": [
        },
"1"
        "date": {
]
            "label": "Date",
},
            "suggested": true,
"date": {
            "description": {
"label": "Date",
                "en": "Timestamp of when the comment was posted, in YYYY-MM-DD format."
"suggested": true,
            },
"description": {
            "aliases": ["2"],
"en": "Timestamp of when the comment was posted, in YYYY-MM-DD format."
            "autovalue": "{{subst:#time:Y-m-d}}"
},
        },
"aliases": [
        "year": {
"2"
            "label": "Year",
],
            "type": "number"
"autovalue": "{{subst:#time:Y-m-d}}"
        },
},
        "month": {
"year": {
            "label": "Month",
"label": "Year",
            "inherits": "year"
"type": "number"
        },
},
        "day": {
"month": {
            "label": "Day",
"label": "Month",
            "inherits": "year"
"inherits": "year"
        },
},
        "comment": {
"day": {
            "required": false
"label": "Day",
        }
"inherits": "year"
    },
},
    "sets": [
"comment": {
        {
"required": false
            "label": "Date",
}
            "params": ["year", "month", "day"]
},
        }
"sets": [
    ],
{
    "maps": {
"label": "Date",
        "ExampleConsumer": {
"params": [
            "foo": "user",
"year",
            "bar": ["year", "month", "day"],
"month",
            "quux": [
"day"
                "date",
]
                ["day", "month"],
}
                ["month", "year"],
],
                "year"
"maps": {
            ]
"ExampleConsumer": {
        }
"foo": "user",
    }
"bar": [
"year",
"month",
"day"
],
"quux": [
"date",
[
"day",
"month"
],
[
"month",
"year"
],
"year"
]
}
},
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>

Latest revision as of 14:28, 1 February 2021


Label unsigned comments in a conversation.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
User's nameuser 1

User name of person who forgot to sign their comment.

Userrequired
Datedate 2

Timestamp of when the comment was posted, in YYYY-MM-DD format.

Auto value
{{subst:#time:Y-m-d}}
Unknownsuggested
Yearyear

no description

Numberoptional
Monthmonth

no description

Numberoptional
Dayday

no description

Numberoptional
commentcomment

no description

Unknownoptional