Nodyn:lowercase title
Defnydd
[golygu cod]Ni ddylid amnewid y nodyn hwn. |
Gellid defnyddio y tag {{lowercase title}}
ar ddechrau tudalen (ac yn ddewisol, ar ddechrau ei dudalen sgwrs). Does dim paramedrau. Fe fydd y tag hwn yn newid llythyren gyntaf yn unig enw'r dudalen o briflythyren i lythyren bach. Esiamplau:
Enw'r dudalen | Bydd yn dangos |
---|---|
EBay, IPod, ayyb. | eBay, iPod, ayyb. |
Talk:EBay | Talk:eBay |
Issues
[golygu cod]The template does not work together with other title modification templates: you need to use DISPLAYTITLE directly and make sure it's the last DISPLAYTITLE on the page. For example, to make "Example" italic and lowercase, use {{DISPLAYTITLE:''example''}}
.
When using the template on redirect pages, the template must be moved after the redirect, since otherwise it will break the redirection. This, however, limits the template to have an effect only when viewing the redirect page directly. Nevertheless, it is still useful in this scenario in order to document the proper capitalization of a term.
Technical
[golygu cod]This template wraps the magic word DISPLAYTITLE so that it works automatically in any namespace (main, talk, template, etc.) to decapitalise the first letter of the name of a page it is transcluded on.
See also
[golygu cod]Template | Involves | Correct name | Technical name |
---|---|---|---|
{{Italic title}} | Title in italics | Batman (1989 film) | Batman (1989 film) |
{{Lowercase title}} | Lowercase first character | eBay | EBay |
{{Correct title|reason=bracket}} | < > [ ] { } | Benzo[a]pyrene | Benzo(a)pyrene |
{{Correct title|reason=#}} | # | Pilot #5 | Pilot No. 5 |
{{Correct title|reason=:}} | / : | Games of Empire: Global Capitalism and Video Games | Games of Empire Global Capitalism and Video Games |
{{DISPLAYTITLE}} | Various |
Mae'r ddogfennaeth uchod wedi ei thrawsgynnwys o Nodyn:Lowercase title/doc. (golygu | hanes) Gall golygyddion arbrofi yn y tudalennau pwll tywod (creu | drych) a testcases (creu). Os gwelwch yn dda, ychwanegwch gategorïau a rhyngwicis at yr is-dudalen /doc. Is-dudalennau'r nodyn hwn. |