Khác biệt giữa các bản “Bản mẫu:Semantic markup templates”
Dòng 1: Dòng 1:
Template link with bold
 
 
 
{{Navbox
 
{{Navbox
 
| name = Semantic markup templates
 
| name = Semantic markup templates
Dòng 29: Dòng 27:
 
   | {{Template link with bold|tag}}        | {{resize|95%|"The {{tag|img}} tags ..."}}    | To render [[HTML element]]s ("tags") in prose
 
   | {{Template link with bold|tag}}        | {{resize|95%|"The {{tag|img}} tags ..."}}    | To render [[HTML element]]s ("tags") in prose
 
   | {{Template link with bold|code}}/{{Template link with bold|codett}} | {{nowrap|{{resize|95%|"Ensure the {{code|1=alt=}} parameter ..."}}}}  | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}. {{tl|codett}} differs only in styling: {{code|someMethod}} becomes  {{codett|someMethod}}
 
   | {{Template link with bold|code}}/{{Template link with bold|codett}} | {{nowrap|{{resize|95%|"Ensure the {{code|1=alt=}} parameter ..."}}}}  | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}. {{tl|codett}} differs only in styling: {{code|someMethod}} becomes  {{codett|someMethod}}
   | {{tls|codenowiki}} | <code><nowiki>{{small|small text}}</nowiki></code>  | To wrap example code in {{code|<code><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></code>}}
+
   | {{Template link with subst|codenowiki}} | <code><nowiki>{{small|small text}}</nowiki></code>  | To wrap example code in {{code|<code><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></code>}}
   | {{tls|kbdnowiki}}  | <kbd><nowiki>{{big|big text}}</nowiki></kbd>        | To wrap example code in {{code|<kbd><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></kbd>}}
+
   | {{Template link with subst|kbdnowiki}}  | <kbd><nowiki>{{big|big text}}</nowiki></kbd>        | To wrap example code in {{code|<kbd><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></kbd>}}
  
 
   | {{Template link with bold|syntaxhighlight}}      | &nbsp; &nbsp; <sub>[this is a block template]</sub> | ({{thin space|or {{tlx|sxhl}}}})&nbsp; Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text
 
   | {{Template link with bold|syntaxhighlight}}      | &nbsp; &nbsp; <sub>[this is a block template]</sub> | ({{thin space|or {{tlx|sxhl}}}})&nbsp; Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text

Phiên bản lúc 11:21, ngày 6 tháng 10 năm 2020

Tài liệu bản mẫu[tạo]