Difference between revisions of "Template:Image array/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>KylieTastic
 
(16 intermediate revisions by 5 users not shown)
Line 2: Line 2:
  
 
== Basic test ==
 
== Basic test ==
{{testcase table|_style=border-collapse:collapse" border="1
+
{{testcase table|_style=border-collapse:collapse; font-size:88%" border="1
 
  |perrow=4|width=55|height=70
 
  |perrow=4|width=55|height=70
 
  | image1 = Frederick Douglass (2).jpg | caption1 = [[Frederick Douglass]]|alt1=Frederick Douglass
 
  | image1 = Frederick Douglass (2).jpg | caption1 = [[Frederick Douglass]]|alt1=Frederick Douglass
Line 8: Line 8:
 
  | image3 = Rosaparks.jpg | caption3 = [[Rosa Parks]]
 
  | image3 = Rosaparks.jpg | caption3 = [[Rosa Parks]]
 
  | image4 = Condoleezza Rice cropped.jpg | caption4 = [[Condoleezza Rice]]
 
  | image4 = Condoleezza Rice cropped.jpg | caption4 = [[Condoleezza Rice]]
  | image5 = Martin Luther King Jr NYWTS.jpg | caption5 = [[Martin Luther King, Jr.]]
+
  | image5 = Martin Luther King Jr NYWTS.jpg | caption5 = [[Martin Luther King Jr.]]
 
  | image6 = Malcolm X NYWTS 2a.jpg | caption6 = [[Malcolm X]]
 
  | image6 = Malcolm X NYWTS 2a.jpg | caption6 = [[Malcolm X]]
 
  | image7 = Oprah closeup.jpg | caption7 = [[Oprah Winfrey]]
 
  | image7 = Oprah closeup.jpg | caption7 = [[Oprah Winfrey]]
 
  | image8 = Booker T Washington retouched flattened-crop.jpg | caption8 = [[Booker T. Washington]]
 
  | image8 = Booker T Washington retouched flattened-crop.jpg | caption8 = [[Booker T. Washington]]
 
  | image9 = Harriet Tubman cropped.jpg | caption9 = [[Harriet Tubman]]
 
  | image9 = Harriet Tubman cropped.jpg | caption9 = [[Harriet Tubman]]
  | image10 = Dorothy-height000.jpg | caption10 = [[Dorothy Height]]
+
  | image10 =DrDorothyHeight.jpg | caption10 = [[Dorothy Height]]
 
  | image11 = Ali.jpg | caption11 = [[Muhammad Ali]]
 
  | image11 = Ali.jpg | caption11 = [[Muhammad Ali]]
 
  | image12 = Jordan by Lipofsky 16577.jpg | caption12 = [[Michael Jordan]]
 
  | image12 = Jordan by Lipofsky 16577.jpg | caption12 = [[Michael Jordan]]
 +
}}
 +
== Default width/height and perrow=4 ==
 +
{{testcase table|_style=border-collapse:collapse; font-size:88%" border="1
 +
|perrow    = 4
 +
| image1 = Al-kindi.jpeg|caption1 = [[Al-Kindi]]
 +
| image2 = |caption2= [[Ibn Khaldun]]
 +
| image3 = BlackSheba-Text.jpg|caption3 = [[Queen of Sheba|Sheba "Bilqis"]]
 +
| image4 = Bust of emperor Philippus Arabus - Hermitage Museum.jpg|caption4 = [[Philip the Arab]]
 +
| image5 = Sherif-Hussein.jpg|caption5 = [[Hussein bin Ali, Sharif of Mecca|Sharif Hussein]]
 +
| image6 = |caption6= [[Asmahan|Asmahan al-Atrash]]
 +
| image7 = Omar Mukhtar 13.jpg|caption7= [[Omar Mukhtar]]
 +
| image8 = Allal El Fassi 1949.png|caption8 = [[Allal al-Fassi]]
 +
| image9 = Arafat keffiyeh.JPG|caption9 = [[Yasser Arafat]]
 +
| image10 = Nasser making a speech in 1960.jpg|caption10 = [[Gamal Abdel Nasser]]
 +
| image11 = Président Ahmed Ben Bella.jpg|caption11 = [[Ahmed Ben Bella]]
 +
| image12 = Arar.jpg|caption12 = [[Mustafa Wahbi al-Tal]]
 +
| image13 = QaboosBinSaidAlSaid.jpg|caption13= [[Qaboos bin Said al Said|Qaboos al-Said]]
 +
| image14 = Raghida Dergham 2012 Halifax International Security Forum.jpg|caption14 = [[Raghida Dergham]]
 +
| image15 = Manal al-Shraif.jpg|caption15 = [[Manal al-Sharif]]
 +
| image16 = Zainab Alkhawaja in Nabeel Rajab's house crop.jpg|caption16 = [[Zainab al-Khawaja]]
 +
}}
 +
 +
== Non-rectangular ==
 +
{{testcase table|_style=border-collapse:collapse; font-size:88%" border="1
 +
|perrow    = 5
 +
| image1 = Al-kindi.jpeg|caption1 = [[Al-Kindi]]
 +
| image2 = |caption2= [[Ibn Khaldun]]
 +
| image3 = BlackSheba-Text.jpg|caption3 = [[Queen of Sheba|Sheba "Bilqis"]]
 +
| image4 = Bust of emperor Philippus Arabus - Hermitage Museum.jpg|caption4 = [[Philip the Arab]]
 +
| image5 = Sherif-Hussein.jpg|caption5 = [[Hussein bin Ali, Sharif of Mecca|Sharif Hussein]]
 +
| image6 = |caption6= [[Asmahan|Asmahan al-Atrash]]
 
}}
 
}}
  
 
== Missing image ==
 
== Missing image ==
{{testcase table|_style=border-collapse:collapse" border="1
+
{{testcase table|_style=border-collapse:collapse; font-size:88%" border="1
 
  |perrow=4|width=55|height=70
 
  |perrow=4|width=55|height=70
 
  | image1 = Frederick Douglass (2).jpg | caption1 = [[Frederick Douglass]]
 
  | image1 = Frederick Douglass (2).jpg | caption1 = [[Frederick Douglass]]
Line 25: Line 56:
 
  | image3 = Rosaparks.jpg | caption3 = [[Rosa Parks]]
 
  | image3 = Rosaparks.jpg | caption3 = [[Rosa Parks]]
 
  | image4 = Condoleezza Rice cropped.jpg | caption4 = [[Condoleezza Rice]]
 
  | image4 = Condoleezza Rice cropped.jpg | caption4 = [[Condoleezza Rice]]
  | image5 = Martin Luther King Jr NYWTS.jpg | caption5 = [[Martin Luther King, Jr.]]
+
  | image5 = Martin Luther King Jr NYWTS.jpg | caption5 = [[Martin Luther King Jr.]]
 
  | image6 = Malcolm X NYWTS 2a.jpg | caption6 = [[Malcolm X]]
 
  | image6 = Malcolm X NYWTS 2a.jpg | caption6 = [[Malcolm X]]
 
  | image7 =  | caption7 = [[Oprah Winfrey]]
 
  | image7 =  | caption7 = [[Oprah Winfrey]]
 
  | image8 = Booker T Washington retouched flattened-crop.jpg | caption8 = [[Booker T. Washington]]
 
  | image8 = Booker T Washington retouched flattened-crop.jpg | caption8 = [[Booker T. Washington]]
 
  | image9 = Harriet Tubman cropped.jpg | caption9 = [[Harriet Tubman]]
 
  | image9 = Harriet Tubman cropped.jpg | caption9 = [[Harriet Tubman]]
  | image10 = Dorothy-height000.jpg | caption10 = [[Dorothy Height]]
+
  | image10 = DrDorothyHeight.jpg | caption10 = [[Dorothy Height]]
 
  | image11 = Ali.jpg | caption11 = [[Muhammad Ali]]
 
  | image11 = Ali.jpg | caption11 = [[Muhammad Ali]]
 
  | image12 = Jordan by Lipofsky 16577.jpg | caption12 = [[Michael Jordan]]
 
  | image12 = Jordan by Lipofsky 16577.jpg | caption12 = [[Michael Jordan]]
 
}}
 
}}
 +
 
== Border and hover text ==
 
== Border and hover text ==
{{testcase table|_style=border-collapse:collapse" border="1
+
{{testcase table|_style=border-collapse:collapse; font-size:88%" border="1
 
  |perrow=4|width=55|height=70
 
  |perrow=4|width=55|height=70
 
  |text=y |border-width=1
 
  |text=y |border-width=1
Line 42: Line 74:
 
  | image3 = Rosaparks.jpg | caption3 = [[Rosa Parks]]
 
  | image3 = Rosaparks.jpg | caption3 = [[Rosa Parks]]
 
  | image4 = Condoleezza Rice cropped.jpg | caption4 = [[Condoleezza Rice]]
 
  | image4 = Condoleezza Rice cropped.jpg | caption4 = [[Condoleezza Rice]]
  | image5 = Martin Luther King Jr NYWTS.jpg | caption5 = [[Martin Luther King, Jr.]]
+
  | image5 = Martin Luther King Jr NYWTS.jpg | caption5 = [[Martin Luther King Jr.]]
 
  | image6 = Malcolm X NYWTS 2a.jpg | caption6 = [[Malcolm X]]
 
  | image6 = Malcolm X NYWTS 2a.jpg | caption6 = [[Malcolm X]]
 
  | image7 = Oprah closeup.jpg | caption7 = [[Oprah Winfrey]]
 
  | image7 = Oprah closeup.jpg | caption7 = [[Oprah Winfrey]]
 
  | image8 = Booker T Washington retouched flattened-crop.jpg | caption8 = [[Booker T. Washington]]
 
  | image8 = Booker T Washington retouched flattened-crop.jpg | caption8 = [[Booker T. Washington]]
 
  | image9 = Harriet Tubman cropped.jpg | caption9 = [[Harriet Tubman]]
 
  | image9 = Harriet Tubman cropped.jpg | caption9 = [[Harriet Tubman]]
  | image10 = Dorothy-height000.jpg | caption10 = [[Dorothy Height]]
+
  | image10 = DrDorothyHeight.jpg | caption10 = [[Dorothy Height]]
 
  | image11 = Ali.jpg | caption11 = [[Muhammad Ali]]
 
  | image11 = Ali.jpg | caption11 = [[Muhammad Ali]]
 
  | image12 = Jordan by Lipofsky 16577.jpg | caption12 = [[Michael Jordan]]
 
  | image12 = Jordan by Lipofsky 16577.jpg | caption12 = [[Michael Jordan]]
 +
}}
 +
 +
== Border and non-rectangular ==
 +
{{testcase table|_style=border-collapse:collapse; font-size:88%" border="1
 +
|perrow=4|width=55|height=70
 +
| border-width=1
 +
| image1 = Frederick Douglass (2).jpg | caption1 = [[Frederick Douglass]]
 +
| image2 = President Barack Obama.jpg | caption2 = [[Barack Obama]]
 +
| image3 = Rosaparks.jpg | caption3 = [[Rosa Parks]]
 +
| image4 = Condoleezza Rice cropped.jpg | caption4 = [[Condoleezza Rice]]
 +
| image5 = Martin Luther King Jr NYWTS.jpg | caption5 = [[Martin Luther King Jr.]]
 +
| image6 = Malcolm X NYWTS 2a.jpg | caption6 = [[Malcolm X]]
 
}}
 
}}

Latest revision as of 23:12, 12 December 2020

Basic test

Template:Testcase table

Default width/height and perrow=4

Template:Testcase table

Non-rectangular

Template:Testcase table

Missing image

Template:Testcase table

Border and hover text

Template:Testcase table

Border and non-rectangular

Template:Testcase table