Difference between revisions of "Template:Warning"
(table is too close to text above it) |
m (1 revision: Trying again with text/plain changed to CONTENT_FORMAT_TEXT) |
(No difference)
|
Latest revision as of 00:19, 2 November 2013
Usage
This template has two possible usages:
- Will have the text flow below when the warning test is too long
- Uses a table to indent the text.
Method 1
The following displays the warning icon and the word 'Warning:'. You can follow this with whatever text/images/markup you like.
Wiki Code:
{{warning}} Don't do that!{{#if: |
}}Warning Warning: {{#if: | |
Method 2
The following includes the text passed to the template, and uses a table to stop the text flowing round the icon.
Wiki Code:
{{warning|Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}{{#if: Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.|
}}Warning Warning: {{#if: Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.| | Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight. |
[[Project:Language policy|]] | |English {{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/af
| • {{#if:Template:Warning |Afrikaans |Afrikaans }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ar | • {{#if:Template:Warning |العربية |العربية }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ast | • {{#if:Template:Warning |asturianu |asturianu }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/az | • {{#if:Template:Warning |azərbaycanca |azərbaycanca }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/bcc | • {{#if:Template:Warning |جهلسری بلوچی |جهلسری بلوچی }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/bg | • {{#if:Template:Warning |български |български }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/br | • {{#if:Template:Warning |brezhoneg |brezhoneg }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/bn | • {{#if:Template:Warning |বাংলা |বাংলা }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/bs | • {{#if:Template:Warning |bosanski |bosanski }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ca | • {{#if:Template:Warning |català |català }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/cs | • {{#if:Template:Warning |čeština |čeština }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/da | • {{#if:Template:Warning |dansk |dansk }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/de | • {{#if:Template:Warning |Deutsch |Deutsch }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/diq | • {{#if:Template:Warning |Zazaki |Zazaki }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/el | • {{#if:Template:Warning |Ελληνικά |Ελληνικά }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/eo | • {{#if:Template:Warning |Esperanto |Esperanto }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/es | • {{#if:Template:Warning |español |español }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/fa | • {{#if:Template:Warning |فارسی |فارسی }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/fi | • {{#if:Template:Warning |suomi |suomi }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/fr | • {{#if:Template:Warning |français |français }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/gl | • {{#if:Template:Warning |galego |galego }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/gu | • {{#if:Template:Warning |ગુજરાતી |ગુજરાતી }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/he | • {{#if:Template:Warning |עברית |עברית }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/hi | • {{#if:Template:Warning |हिन्दी |हिन्दी }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/hu | • {{#if:Template:Warning |magyar |magyar }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/hy | • {{#if:Template:Warning |Հայերեն |Հայերեն }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/id | • {{#if:Template:Warning |Bahasa Indonesia |Bahasa Indonesia }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/io | • {{#if:Template:Warning |Ido |Ido }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/it | • {{#if:Template:Warning |italiano |italiano }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ja | • {{#if:Template:Warning |日本語 |日本語 }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ka | • {{#if:Template:Warning |ქართული |ქართული }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/kk | • {{#if:Template:Warning |қазақша |қазақша }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/km | • {{#if:Template:Warning |ភាសាខ្មែរ |ភាសាខ្មែរ }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ko | • {{#if:Template:Warning |한국어 |한국어 }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ksh | • {{#if:Template:Warning |Ripoarisch |Ripoarisch }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/kw | • {{#if:Template:Warning |kernowek |kernowek }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/la | • {{#if:Template:Warning |Latina |Latina }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/min | • {{#if:Template:Warning |Baso Minangkabau |Baso Minangkabau }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/mk | • {{#if:Template:Warning |македонски |македонски }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ml | • {{#if:Template:Warning |മലയാളം |മലയാളം }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/mr | • {{#if:Template:Warning |मराठी |मराठी }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ms | • {{#if:Template:Warning |Bahasa Melayu |Bahasa Melayu }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/nl | • {{#if:Template:Warning |Nederlands |Nederlands }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/no | • {{#if:Template:Warning |norsk bokmål |norsk bokmål }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/oc | • {{#if:Template:Warning |occitan |occitan }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/or | • {{#if:Template:Warning |ଓଡ଼ିଆ |ଓଡ଼ିଆ }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/pl | • {{#if:Template:Warning |polski |polski }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/pt | • {{#if:Template:Warning |português |português }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/pt-br | • {{#if:Template:Warning |português do Brasil |português do Brasil }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ro | • {{#if:Template:Warning |română |română }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ru | • {{#if:Template:Warning |русский |русский }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/si | • {{#if:Template:Warning |සිංහල |සිංහල }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/sk | • {{#if:Template:Warning |slovenčina |slovenčina }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/sl | • {{#if:Template:Warning |slovenščina |slovenščina }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/sq | • {{#if:Template:Warning |shqip |shqip }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/sr | • {{#if:Template:Warning |српски / srpski |српски / srpski }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/sv | • {{#if:Template:Warning |svenska |svenska }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/ta | • {{#if:Template:Warning |தமிழ் |தமிழ் }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/th | • {{#if:Template:Warning |ไทย |ไทย }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/tr | • {{#if:Template:Warning |Türkçe |Türkçe }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/uk | • {{#if:Template:Warning |українська |українська }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/vi | • {{#if:Template:Warning |Tiếng Việt |Tiếng Việt }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/yi | • {{#if:Template:Warning |ייִדיש |ייִדיש }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/yue | • {{#if:Template:Warning |粵語 |粵語 }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/zh | • {{#if:Template:Warning |中文 |中文 }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/zh-hans | • {{#if:Template:Warning |中文(简体) |中文(简体) }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/zh-hant | • {{#if:Template:Warning |中文(繁體) |中文(繁體) }} }}{{#ifexist: {{#if:Template:Warning|Template:Warning|Template:Warning}}/zh-tw | • {{#if:Template:Warning |中文(台灣) |中文(台灣) }}}} |
---|