Khác biệt giữa các bản “Bản mẫu:Semantic markup templates”
| Dòng 21: | Dòng 21: | ||
| {{Template link with bold|var}} | {{var|strPrefix}} | To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{braces|var serif}} should be used to ensure a noticeable distinction | | {{Template link with bold|var}} | {{var|strPrefix}} | To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{braces|var serif}} should be used to ensure a noticeable distinction | ||
| {{Template link with bold|var serif}} | {{var serif|strIllustratePrefix}} | (see {{braces|var}} above) | | {{Template link with bold|var serif}} | {{var serif|strIllustratePrefix}} | (see {{braces|var}} above) | ||
| − | | {{Template link with bold| | + | | {{Template link with bold|tlc}} | {{tlc|DEFAULTSORT:Y, X}} | To display wikicode variables and [[Help:Magic words|magic words]] as they would appear in code |
| {{Template link with bold|para}} | {{para|year|2008}} | To display template parameters with or without values | | {{Template link with bold|para}} | {{para|year|2008}} | To display template parameters with or without values | ||
| {{Template link with bold|param}} | {{param|title|alt}} | To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{braces|para}} above | | {{Template link with bold|param}} | {{param|title|alt}} | To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{braces|para}} above | ||
Bản hiện tại lúc 11:26, ngày 6 tháng 10 năm 2020
Tập tin:Test Template Info-Icon - Version (2).svg Tài liệu bản mẫu[tạo]
| Các thành viên có thể thử nghiệm thử (tạo | sao) và kiểm thử (tạo) của bản mẫu này. Xin hãy thêm thể loại cho trang tài liệu /doc. Trang con của bản mẫu. |