Шаблон:Strongbad/документація

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку

Використання[ред. код]

This template is used to insert a quick and easy warning or negative notice with high visibility (because it is red) on project and discussion pages (like the following sentence). This template cannot be used in articles. In situations where color is not relevant (color blindness, screen readers, etc.), it renders exactly the same as {{strong}} (to which it is a CSS-styled call). This template is only for use in template documentation, guidelines and other Wikipedia-internal purposes. It is the opposite of the {{stronggood}} template.

{{strongbad|text to be emphasized}}

or, if the text to be emphasized contains an equals sign:

{{strongbad|1=text to be emphasized}}

These both render as:

text to be emphasized

It is safest to always use the |1= syntax.

This template puts intentional and explicit <strong>...</strong> (strong emphasis) [X]HTML markup around the text provided as the first parameter.

Because some people are color blind, and some use screen readers, this template should not be used in a manner in which only the color indicates the difference between the content being marked up and other content; it's simply a visual aid for those who can use it.

Parameters[ред. код]

See Template:Strong#Optional parameters.

Див. також[ред. код]

  • {{xt}} рядний позитивний приклад тексту, зелений, із рваним шрифтом
  • {{bxt}} такий же як {{xt}} але використовує жирний замість рваного шрифту
  • {{mxt}} такий же як {{xt}} але використовує шрифт із рівними проміжками (особливо корисний у вихідному коді)
  • {{xt2}} такий же як {{xt}} але для блоків тексту
  • {{!xt}} рядний негативний приклад тексту, червоний, із рваним шрифтом
  • {{!bxt}} такий же як {{!xt}} але використовує напівжирний шрифт
  • {{!mxt}} такий же як {{!xt}} але використовує шрифт із рівними проміжками
  • {{!xt2}} такий же як {{!xt}} але для блоків тексту
  • {{xtd}} рядний застарілий (або невизначений, недоступний, lorem, і т.д.) приклад тексту, сірий
  • {{bxtd}} такий же як {{xtd}} але використовує напівжирний
  • {{mxtd}} такий же як {{xtd}} але використовує шрифт із рівними проміжками
  • {{xtn}} рядний neutral example text, без зміни кольору, коли жоден з зазначених непідходить
  • {{bxtn}} такий же як {{xtn}} але використовує напівжирний; він все одно застосовує клас CSS, отже це не тільки піджирнення тексту
  • {{dc}} рядний застарілий або видалений код чи текст; {{dc2}} варіант є перекресленим (обидва випадки використовують елемент <del>)