Template:Semantic templates see also

From OpenStreetMap Wiki
Jump to navigation Jump to search
  • {{Strong}} – for semantically indicating strong emphasis instead of simple typographical boldfacing.
  • {{Strongbad}} – same as {{Strong}} but red like this: Never use {{Strongbad}} in articles.
  • {{Stronggood}} – same as {{Strongbad}} but green like this: Only use {{Stronggood}} on non-article pages.
  • {{Em}} – similar template for semantically indicating mild emphasis instead of simple typographical italicization.
  • {{Var}} – same as {{Varserif}} use for all variables (e.g. StrIllustratePrefix), except for 'I' (upper-case i) and 'l' (lower-case L) for which use {{Varserif}} allows visible distinctions.
  • {{Varserif}} – same as {{Var}} but uses serif font (e.g. StrIllustratePrefix), especially for distinguishing between 'I' (upper-case i) and 'l' (lower-case L) as variables.
  • {{Wikivar}} – for displaying wikicode variables and magicwords as they would appear in source code, e.g. {{PAGENAME}}, {{DEFAULTSORT:Lastname, Firstname}}.
  • {{Para}} – for displaying wiki template parameters (e.g. |title =) or parameters and values (e.g. |year = 2008)
  • {{Tlx}} and related – for displaying entire templates (with or without parameters and values) as code
  • {{HtmlTag}} – for using HTML elements ("tags") in prose (e.g. "When coding HTML <img> tags, always include ...")
  • {{Code}} – for computer source code (e.g. "... always include the alt parameter.").
    Note: to nest code that looks like other templates like {{Var|name}} inside, or that contains any equal sign (=),
    • use: {{Code|code= code with {{Var|name}} nested }} which gives code with {{Var|name}} nested
    • or: {{Code|1= code with {{Var|name}} nested }} which gives code with {{Var|name}} nested
  • {{Syntaxhighlight}} or {{Sxhl}} – wrapper for <syntaxhighlight />, but will wrap overflowing text
  • {{Deprecated code}} or {{Dc}} – for deprecated source code in template documentation, articles on HTML specs, etc.
  • {{Pre}} – for larger blocks of source code and other pre-formatted text
  • {{Bq}} – for indented blocks of content, such as block quotations, examples, poems, etc.
  • {{Kbd}} – for indicating user input
  • {{Key press}} – for indicating the input of specific keystrokes, e.g. Ctrl+X
  • {{Samp}} – for example output
[Edit] [Purge] Template-info.svg Template documentation
https://wiki.openstreetmap.org/wiki/Template:Semantic_templates_see_also
wiki.openstreetmap.org
crawl=CC-MAIN-2021-21
41308
application/http; msgtype=response
sha1:HPREGUOBRY7AMYWOEI3SSEHW7BDAOP43
<urn:uuid:2b41dc94-511f-48f1-a96e-d045865c4abd>
2021-05-11T14:38:01Z
130.117.76.14
text/html
sha1:AQVG4WWEJNFIQ7XW2KVWQVXW3MVJH46O
<urn:uuid:58da3998-0a9e-46a9-b319-b46c5074e081>
https://wiki.openstreetmap.org/wiki/Template:Semantic_templates_see_also
response
<urn:uuid:efdb71d3-5955-4eb8-842f-d4fd653abffe>
isPartOf: CC-MAIN-2021-21
publisher: Common Crawl
description: Wide crawl of the web for May 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-101.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/