Template:Navbar/doc: Difference between revisions
Template page
More actions
Use {{^(}} and {{)^}} to escape TemplateData descriptions and add comments explaining why |
|||
| Line 27: | Line 27: | ||
|4label = inline version | |4label = inline version | ||
|4d-en = Use <bdi> instead of <div> so that the template won’t have its own line in the text | |4d-en = Use <bdi> instead of <div> so that the template won’t have its own line in the text | ||
<!-- Using {{^(}} and {{)^}} is necessary, because TemplateData shows | |||
-- “<div>” as “<div>” rather than as “<div>” --> | |||
|4d-td-en = Use {{^(}}bdi{{)^}} instead of {{^(}}div{{)^}} so that the template won’t have its own line in the text | |||
|4aliases = | |4aliases = | ||
|4type = | |4type = | ||
| Line 85: | Line 88: | ||
|11label = font color | |11label = font color | ||
|11d-en = Set the font color. Deprecated, use <nowiki>|fontstyle = color:<color></nowiki> instead. | |11d-en = Set the font color. Deprecated, use <nowiki>|fontstyle = color:<color></nowiki> instead. | ||
<!-- Using {{^(}} and {{)^}} is necessary, because TemplateData shows | |||
-- “<nowiki><color></nowiki>” as “<color>” rather than as “<color>” --> | |||
|11d-td-en = Set the font color. Deprecated, use <nowiki>|fontstyle = color:</nowiki>{{^(}}color{{)^}} instead. | |||
|11aliases = | |11aliases = | ||
|11type = string/line | |11type = string/line | ||