Template:Strikethrough

Innen: Valve Developer Community
Ugrás a navigációhoz Ugrás a kereséshez

{{{1}}}

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [olvasás] [szerkesztés] [létrehozás Magyar (hu)]
Icon-translate.png Available doc translations
Info.png
The Template:Strikethrough/doc/hu documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

Template:Template shortcuts

{{Strikethrough}} draws a line through the text provided in the first unnamed parameter. The template embeds the parameter in an HTML <s>...</s> element, producing output such as: this, i.e. text with a line drawn through its middle. Outside articles, it can be used to mark something as no longer accurate or relevant without removing it from view.

Do not use this template, however, to indicate document edits; to mark a span of text as having been removed from a document, use <del>...</del>, which is aesthetically similar. This template should be used within one block (paragraph); it should not wrap around multiple paragraphs or even multiple bullet points. See How to wrap a block of text below for a different template that can wrap multiple lines.

Example

Template:Markup

How to wrap a block of text

To wrap text that contains line breaks, use {{Strikethroughdiv}} instead.

Template:Markup

See also

  • Help:Wiki markup#Strikethrough
  • {{Strikethrough color}} — differently color the strikethrough-line and the text
  • {{Strikethroughdiv}} – apply strikethrough formatting to text containing line breaks