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|tld}}        | {{tld|DEFAULTSORT:Y, X}}                            | To display wikicode variables and [[Help:Magic words|magic words]] as they would appear in code
+
   | {{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ài liệu bản mẫu[tạo]