Difference between revisions of "Template:MedalTableTop/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Sillyfolkboy
(update test cases to reflect actual usage)
imported>Zyxw
(update test cases)
Line 1: Line 1:
 
{{testcases}}
 
{{testcases}}
  
;Main template
+
== Image with unnamed parameters ==
  
<code><nowiki>{{MedalTableTop|Weissmuller.jpg|200px|alt=A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.|Johnny Weismuller at a swim meet circa 1925|medals={{Medal|Sport|Men's [[Swimming (sport)|swimming]]}}
+
<pre style="overflow:auto">
}}</nowiki></code>
+
{{MedalTableTop
 
+
| name = Johnny Weissmuller
{{MedalTableTop|Weissmuller.jpg|200px|alt=A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.|Johnny Weismuller at a swim meet circa 1925|medals={{Medal|Sport|Men's [[Swimming (sport)|swimming]]}}
+
| Weissmuller.jpg
 +
| 200px
 +
| alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.
 +
| Weissmuller at a swim meet circa 1925
 +
| sport = Men's [[swimming (sport)|swimming]]
 +
| country_code = USA
 +
| medals =
 +
{{MedalCompetition | [[Olympic Games]] }}
 +
{{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }}
 
}}
 
}}
 
+
</pre>
 
{{clear}}
 
{{clear}}
  
; Sandbox
+
{{Testcase table
 +
| name = Johnny Weissmuller
 +
| Weissmuller.jpg
 +
| 200px
 +
| alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.
 +
| Weissmuller at a swim meet circa 1925
 +
| sport = Men's [[swimming (sport)|swimming]]
 +
| country_code = USA
 +
| medals =
 +
{{MedalCompetition | [[Olympic Games]] }}
 +
{{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }}
 +
}}
  
<code><nowiki>{{MedalTableTop/sandbox|Weissmuller.jpg|200px|alt=A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.|Johnny Weismuller at a swim meet circa 1925|medals={{Medal|Sport|Men's [[Swimming (sport)|swimming]]}}
+
== Image with unnamed parameters, no name displayed  ==
}}</nowiki></code>
 
  
{{MedalTableTop/sandbox|Weissmuller.jpg|200px|alt=A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.|Johnny Weismuller at a swim meet circa 1925|medals={{Medal|Sport|Men's [[Swimming (sport)|swimming]]}}
+
<pre style="overflow:auto">
 +
{{MedalTableTop
 +
| name = no
 +
| image = Weissmuller.jpg
 +
| imagesize = 200px
 +
| alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.
 +
| caption = Weissmuller at a swim meet circa 1925
 +
| sport = Men's [[swimming (sport)|swimming]]
 +
| country_code = USA
 +
| medals =
 +
{{MedalCompetition | [[Olympic Games]] }}
 +
{{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }}
 
}}
 
}}
 +
</pre>
 +
{{clear}}
  
{{clear}}
+
{{Testcase table
 +
| name = no
 +
| image = Weissmuller.jpg
 +
| imagesize = 200px
 +
| alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.
 +
| caption = Weissmuller at a swim meet circa 1925
 +
| sport = Men's [[swimming (sport)|swimming]]
 +
| country_code = USA
 +
| medals =
 +
{{MedalCompetition | [[Olympic Games]] }}
 +
{{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }}
 +
}}

Revision as of 04:18, 24 June 2015

Image with unnamed parameters

{{MedalTableTop
| name = Johnny Weissmuller
| Weissmuller.jpg
| 200px
| alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.
| Weissmuller at a swim meet circa 1925
| sport = Men's [[swimming (sport)|swimming]]
| country_code = USA
| medals =
{{MedalCompetition | [[Olympic Games]] }}
{{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }}
}}

Template:Testcase table

Image with unnamed parameters, no name displayed

{{MedalTableTop
| name = no
| image = Weissmuller.jpg
| imagesize = 200px
| alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top.
| caption = Weissmuller at a swim meet circa 1925
| sport = Men's [[swimming (sport)|swimming]]
| country_code = USA
| medals =
{{MedalCompetition | [[Olympic Games]] }}
{{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }}
}}

Template:Testcase table