Template:Warning

From /f/lockdraw wiki
Revision as of 16:58, 21 August 2012 by Admin (talk | contribs) (1 revision: Uploading public domain help from MediaWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Usage

This template has two possible usages:

  1. Will have the text flow below when the warning test is too long
  2. 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: |

}} Don't do that!

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.

}}

{{#if:{{#switch:Warning |=Languages: |Languages=Languages: |MediaWiki=Languages: |af=Taal: |aln=Gjuha: |am=ቋምቋ፦ |an=Idioma: |ang=Sprǣc: |ar=:اللغة |arc=ܠܫܢܐ: |arn=Dungun: |arz=:اللغة |as=ভাষা: |ast=Llingua: |avk=Ava: |ay=Aru: |az=Dil: |bat-smg=Kalba: |bcc=:زبان |bcl=Tataramon: |be=Мова: |be-tarask=Мова: |bg=Език: |bn=ভাষা: |br=Yezh : |bs=Jezik: |ca=Llengua: |cdo=Ngṳ̄-ngiòng: |ce=Мотт: |ceb=Pinulongan: |ch=Lengguahe: |ckb-arab=:زمان |co=Lingua: |crh-cyrl=Тиль: |crh-latn=Til: |cs=Jazyk: |cu=ѩꙁꙑ́къ : |cv=Чĕлхе: |cy=Iaith: |da=Sprog: |de=Sprache: |diq=Zıwan: |dsb=Rěc: |ee=Gbe: |el=Γλώσσα: |en=Language: |eo=Lingvo: |es=Idioma: |et=Keel: |eu=Hizkuntza: |ext=Palra: |fa=:زبان |fi=Kieli: |fo=Mál: |fr=Langue : |frc=Langue : |frp=Lengoua : |fur=Lenghe : |fy=Taal: |ga=Teanga: |gag=Dil: |gan-hans=语言: |gan-hant=語言: |gl=Lingua: |gn=Ñe'ẽ: |got=Razda: |grc=Γλῶσσα: |gsw=Sproch: |gu=ભાષા: |gv=Çhengey: |hak=Ngî-ngièn: |haw=Kou 'ōlelo: |he=שפה: |hi=भाषा: |hif-latn=Bhasa: |hr=Jezik: |hsb=Rěč: |ht=Lang: |hu=Nyelv: |hy=Լեզու. |ia=Lingua: |id=Bahasa: |ie=Lingue: |ilo=Lengguahe: |io=Linguo: |is=Tungumál: |it=Lingua: |ja=言語: |jv=Basa: |ka=ენა: |kaa=Til: |kab=Tutlayt: |kg=Ndinga: |kiu=Zon: |kk-arab=:ٴتىل |kk-cyrl=Тіл: |kk-latn=Til: |km=ភាសា៖ |kn=ಭಾಷೆ: |ko=언어: |ksh=Sproch: |ku-latn=Ziman: |kv=Кыв: |kw=Yeth: |ky=Тил: |la=Lingua: |lb=Sprooch: |lfn=Lingua: |li=Taol: |lij=Lengoa: |loz=Zwa Siselect: |lt=Kalba: |lv=Valoda: |lzh=語: |mdf=Кяль: |mg=fiteny: |mhr=Йылме: |mk=Јазик: |ml=ഭാഷ: |mn=Хэл: |mr=भाषा: |ms=Bahasa: |mt=Lingwa: |mwl=Lhéngua: |my=ဘာသာ: |myv=Кель: |nah=Tlahtōlli: |nap=Lengua: |nds=Spraak: |nds-nl=Taal: |ne=भाषा: |new=भाषा: |nl=Taal: |nn=Språk: |no=Språk: |nso=Polelo: |oc=Lenga: |os=Æвзаг: |pa=ਭਾਸ਼ਾ: |pam=Amanu: |pdc=Schprooch: |pdt=Sproak: |pl=Język: |pms=Lenga: |pnb=بولی: |pnt=Γλώσσαν: |prg=Bilā: |ps=ژبه: |pt|pt-br=Língua: |qu=Rimay: |rm=Lingua: |ro=Limba: |roa-tara=Lénga: |ru=Язык: |sa=भाषा: |sah=Омугун тыла: |sc=Limba: |scn=Lingua: |sco=Leid: |sdc=Linga: |se=Giella: |sei=Itom: |sh=Jezik: |shi=tutlayt: |si=භාෂාව: |sk=Jazyk: |sl=Jezik: |sli=Sproache: |so=Luqada: |sq=Gjuha: |sr-ec=Језик: |sr-el=Jezik: |srn=Tongo: |ss=Lúlwîmi: |stq=Sproake: |su=Basa: |sv=Språk: |sw=Lugha: |szl=Godka: |ta=மொழி: |te=భాష: |tet=Lian: |tg-cyrl=Забон: |th=ภาษา: |ti=ቋንቋ: |tk=Dil: |tl=Wika: |to=Lea: |tr=Dil: |tt-cyrl=Тел: |tyv=Дыл: |ug-arab=:تىل |ug-latn=Til: |uk=Мова: |vec=Lengua: |vep=Kel’: |vi=Ngôn ngữ: |vo=Pük: |vro=Kiil: |wa=Lingaedje: |war=Yinaknan: |wo=Làkk: |wuu=语言: |xal=Келн: |xh=Ulwimi: |xmf=ნინა: |yi=שפראך: |yo=Èdè: |yue=語言: |zea=Taele: |zh-hans=语言: |zh-hant=語言: |zu=Ulimi: |#default=Language: }} | |

}}

{{#switch:Warning |=Languages: |Languages=Languages: |MediaWiki=Languages: |af=Taal: |aln=Gjuha: |am=ቋምቋ፦ |an=Idioma: |ang=Sprǣc: |ar=:اللغة |arc=ܠܫܢܐ: |arn=Dungun: |arz=:اللغة |as=ভাষা: |ast=Llingua: |avk=Ava: |ay=Aru: |az=Dil: |bat-smg=Kalba: |bcc=:زبان |bcl=Tataramon: |be=Мова: |be-tarask=Мова: |bg=Език: |bn=ভাষা: |br=Yezh : |bs=Jezik: |ca=Llengua: |cdo=Ngṳ̄-ngiòng: |ce=Мотт: |ceb=Pinulongan: |ch=Lengguahe: |ckb-arab=:زمان |co=Lingua: |crh-cyrl=Тиль: |crh-latn=Til: |cs=Jazyk: |cu=ѩꙁꙑ́къ : |cv=Чĕлхе: |cy=Iaith: |da=Sprog: |de=Sprache: |diq=Zıwan: |dsb=Rěc: |ee=Gbe: |el=Γλώσσα: |en=Language: |eo=Lingvo: |es=Idioma: |et=Keel: |eu=Hizkuntza: |ext=Palra: |fa=:زبان |fi=Kieli: |fo=Mál: |fr=Langue : |frc=Langue : |frp=Lengoua : |fur=Lenghe : |fy=Taal: |ga=Teanga: |gag=Dil: |gan-hans=语言: |gan-hant=語言: |gl=Lingua: |gn=Ñe'ẽ: |got=Razda: |grc=Γλῶσσα: |gsw=Sproch: |gu=ભાષા: |gv=Çhengey: |hak=Ngî-ngièn: |haw=Kou 'ōlelo: |he=שפה: |hi=भाषा: |hif-latn=Bhasa: |hr=Jezik: |hsb=Rěč: |ht=Lang: |hu=Nyelv: |hy=Լեզու. |ia=Lingua: |id=Bahasa: |ie=Lingue: |ilo=Lengguahe: |io=Linguo: |is=Tungumál: |it=Lingua: |ja=言語: |jv=Basa: |ka=ენა: |kaa=Til: |kab=Tutlayt: |kg=Ndinga: |kiu=Zon: |kk-arab=:ٴتىل |kk-cyrl=Тіл: |kk-latn=Til: |km=ភាសា៖ |kn=ಭಾಷೆ: |ko=언어: |ksh=Sproch: |ku-latn=Ziman: |kv=Кыв: |kw=Yeth: |ky=Тил: |la=Lingua: |lb=Sprooch: |lfn=Lingua: |li=Taol: |lij=Lengoa: |loz=Zwa Siselect: |lt=Kalba: |lv=Valoda: |lzh=語: |mdf=Кяль: |mg=fiteny: |mhr=Йылме: |mk=Јазик: |ml=ഭാഷ: |mn=Хэл: |mr=भाषा: |ms=Bahasa: |mt=Lingwa: |mwl=Lhéngua: |my=ဘာသာ: |myv=Кель: |nah=Tlahtōlli: |nap=Lengua: |nds=Spraak: |nds-nl=Taal: |ne=भाषा: |new=भाषा: |nl=Taal: |nn=Språk: |no=Språk: |nso=Polelo: |oc=Lenga: |os=Æвзаг: |pa=ਭਾਸ਼ਾ: |pam=Amanu: |pdc=Schprooch: |pdt=Sproak: |pl=Język: |pms=Lenga: |pnb=بولی: |pnt=Γλώσσαν: |prg=Bilā: |ps=ژبه: |pt|pt-br=Língua: |qu=Rimay: |rm=Lingua: |ro=Limba: |roa-tara=Lénga: |ru=Язык: |sa=भाषा: |sah=Омугун тыла: |sc=Limba: |scn=Lingua: |sco=Leid: |sdc=Linga: |se=Giella: |sei=Itom: |sh=Jezik: |shi=tutlayt: |si=භාෂාව: |sk=Jazyk: |sl=Jezik: |sli=Sproache: |so=Luqada: |sq=Gjuha: |sr-ec=Језик: |sr-el=Jezik: |srn=Tongo: |ss=Lúlwîmi: |stq=Sproake: |su=Basa: |sv=Språk: |sw=Lugha: |szl=Godka: |ta=மொழி: |te=భాష: |tet=Lian: |tg-cyrl=Забон: |th=ภาษา: |ti=ቋንቋ: |tk=Dil: |tl=Wika: |to=Lea: |tr=Dil: |tt-cyrl=Тел: |tyv=Дыл: |ug-arab=:تىل |ug-latn=Til: |uk=Мова: |vec=Lengua: |vep=Kel’: |vi=Ngôn ngữ: |vo=Pük: |vro=Kiil: |wa=Lingaedje: |war=Yinaknan: |wo=Làkk: |wuu=语言: |xal=Келн: |xh=Ulwimi: |xmf=ნინა: |yi=שפראך: |yo=Èdè: |yue=語言: |zea=Taele: |zh-hans=语言: |zh-hant=語言: |zu=Ulimi: |#default=Language: }} English {{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/af |  • {{#if: Template:Warning|Afrikaans| Afrikaans}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ar |  • {{#if: Template:Warning|العربية| العربية}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ast |  • {{#if: Template:Warning|asturianu| asturianu}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/az |  • {{#if: Template:Warning|azərbaycanca| azərbaycanca}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/bcc |  • {{#if: Template:Warning|جهلسری بلوچی| جهلسری بلوچی}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/bg |  • {{#if: Template:Warning|български| български}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/br |  • {{#if: Template:Warning|brezhoneg| brezhoneg}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ca |  • {{#if: Template:Warning|català| català}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/cs |  • {{#if: Template:Warning|čeština| čeština}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/da |  • {{#if: Template:Warning|dansk| dansk}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/de |  • {{#if: Template:Warning|Deutsch| Deutsch}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/diq |  • {{#if: Template:Warning|Zazaki| Zazaki}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/el |  • {{#if: Template:Warning|Ελληνικά| Ελληνικά}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/eo |  • {{#if: Template:Warning|Esperanto| Esperanto}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/es |  • {{#if: Template:Warning|español| español}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/fa |  • {{#if: Template:Warning|فارسی| فارسی}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/fi |  • {{#if: Template:Warning|suomi| suomi}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/fr |  • {{#if: Template:Warning|français| français}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/gl |  • {{#if: Template:Warning|galego| galego}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/gu |  • {{#if: Template:Warning|ગુજરાતી| ગુજરાતી}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/he |  • {{#if: Template:Warning|עברית| עברית}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/hu |  • {{#if: Template:Warning|magyar| magyar}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/id |  • {{#if: Template:Warning|Bahasa Indonesia| Bahasa Indonesia}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/it |  • {{#if: Template:Warning|italiano| italiano}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ja |  • {{#if: Template:Warning|日本語| 日本語}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ka |  • {{#if: Template:Warning|ქართული| ქართული}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/km |  • {{#if: Template:Warning|ភាសាខ្មែរ| ភាសាខ្មែរ}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ko |  • {{#if: Template:Warning|한국어| 한국어}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ksh |  • {{#if: Template:Warning|Ripoarisch| Ripoarisch}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/kw |  • {{#if: Template:Warning|kernowek| kernowek}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/mk |  • {{#if: Template:Warning|македонски| македонски}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ml |  • {{#if: Template:Warning|മലയാളം| മലയാളം}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/mr |  • {{#if: Template:Warning|मराठी| मराठी}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ms |  • {{#if: Template:Warning|Bahasa Melayu| Bahasa Melayu}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/nl |  • {{#if: Template:Warning|Nederlands| Nederlands}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/no |  • {{#if: Template:Warning|norsk| norsk}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/oc |  • {{#if: Template:Warning|occitan| occitan}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/pl |  • {{#if: Template:Warning|polski| polski}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/pt |  • {{#if: Template:Warning|português| português}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/pt-br |  • {{#if: Template:Warning|português do Brasil| português do Brasil}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ro |  • {{#if: Template:Warning|română| română}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ru |  • {{#if: Template:Warning|русский| русский}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/si |  • {{#if: Template:Warning|සිංහල| සිංහල}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/sk |  • {{#if: Template:Warning|slovenčina| slovenčina}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/sl |  • {{#if: Template:Warning|slovenščina| slovenščina}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/sq |  • {{#if: Template:Warning|shqip| shqip}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/sr |  • {{#if: Template:Warning|српски / srpski| српски / srpski}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/sv |  • {{#if: Template:Warning|svenska| svenska}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/ta |  • {{#if: Template:Warning|தமிழ்| தமிழ்}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/th |  • {{#if: Template:Warning|ไทย| ไทย}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/tr |  • {{#if: Template:Warning|Türkçe| Türkçe}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/uk |  • {{#if: Template:Warning|українська| українська}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/vi |  • {{#if: Template:Warning|Tiếng Việt| Tiếng Việt}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/yue |  • {{#if: Template:Warning|粵語| 粵語}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/zh |  • {{#if: Template:Warning|中文| 中文}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/zh-hans |  • {{#if: Template:Warning|中文(简体)‎| 中文(简体)‎}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/zh-hant |  • {{#if: Template:Warning|中文(繁體)‎| 中文(繁體)‎}}|}}{{#ifexist: {{#if: Template:Warning | Template:Warning | {{#if: Template | Template:}}Warning}}/zh-tw |  • {{#if: Template:Warning|中文(台灣)‎| 中文(台灣)‎}}|}}