Mal:Strikethroughdiv
{{{1}}}
{{Strikethroughdiv}} is a sibling template to {{Strikethrough}}, intended for use with block-level elements. This template draws a line through a block of text that is its parameter. This is done by embedding the parameter in an HTML <div></div> element, producing output such as:
- This, i.e. bulleted text with a line drawn through its middle.
- And a second line, also contained within the Strikethroughdiv template
Outside articles, it can be used to mark something as no longer accurate or relevant without removing it from view. Do not use it, however, to indicate document edits; to mark a span of text as having been removed from a document, use <del></del>. This template can be used to wrap around multiple paragraphs or even multiple bullet points. To wrap a simple string of text, {{Strikethrough}} is recommended.
Usage recommendation
Because blocks of text are likely to contain an = character, it is recommended that the content of {{Strikethroughdiv}} be preceded by |1=, as shown in the example below.
Example
Markup |
Output
|
|---|---|
{{strikethroughdiv|1=
* This
* That
* And another thing}} |
|
See also
- Help:Wiki markup#Strikethrough
- {{Strikethrough}} – for a string of text without line breaks
- {{Strikethrough color}} — differently color the strikethrough-line and the text
- {{Smalldiv}} – block-level template for reducing text size
- {{Resizediv}} – block-level template for changing text size
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.