mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-30 18:44:15 +00:00
5e50116d6d
InterfaceText now defaults to null instead of {en:""} which was awkward to deal with in the frontend. As specified: - label is InterfaceText - type is a string and must be a one of the recognized types Updated example for the hypothetical variant of Template:Unsigned and removed other no longer needed example. HTML output has been revised per conversation with Trevor, James and Timo: - Not sortable. - Add label to html output. - Aliases in the main parameter column (one per line), but muted in styling. - Add type to html output. The css module styles content from the server, not content generated by javascript. Moved module to position => top to fix flash of unstyled content. Change-Id: I16d3f9e460c5513935b9b55fe4cec0092b38e6c2
21 lines
336 B
CSS
21 lines
336 B
CSS
.mw-templatedata-doc-params tbody > tr > th {
|
|
text-align: left;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.mw-templatedata-doc-param-alias {
|
|
color: #777;
|
|
display: block;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.mw-templatedata-doc-muted {
|
|
font-style: italic;
|
|
color: #777;
|
|
}
|
|
|
|
.mw-templatedata-doc-param-name,
|
|
.mw-templatedata-doc-param-type {
|
|
white-space: nowrap;
|
|
}
|