Difference between revisions of "Template:Collegesailingteam"

From blackwiki
Jump to navigation Jump to search
imported>Banderas
(Going back to basics before trying again)
imported>Davidwr
(testing - this will ONLY work for Yale University ([[File:Burgee of {{{1}}}.svg|24px]] {{{1}}}), default (24px Inter-Collegiate Sailing Association), and for no parameter (no output), other schools will just give the filename, will revert immediately)
Line 1: Line 1:
[[File:{{#switch: {{{1|}}}
+
{{#switch: {{{1|}}}
 
| American University = Burgee of American University.SVG
 
| American University = Burgee of American University.SVG
 
| Amherst College = Burgee of Amherst College.SVG
 
| Amherst College = Burgee of Amherst College.SVG
Line 92: Line 92:
 
| Webb Institute = Burgee of Webb Institute.SVG
 
| Webb Institute = Burgee of Webb Institute.SVG
 
| Williams College = Burgee of Williams College.SVG
 
| Williams College = Burgee of Williams College.SVG
| Yale University = Burgee of Yale University.svg
+
| Yale University = [[File:Burgee of {{{1}}}.svg|24px]] [[Yale Bulldogs sailing|{{{1}}}]]
| #default = Flag placeholder.svg
+
| default = [[File:Flag placeholder.svg|24px]] [[Inter-Collegiate Sailing Association]]
| alias =
+
}}<noinclude>{{documentation}}</noinclude>
| flag alias =
 
| size = {{{size|}}}
 
| name = {{{name|}}}
 
}}|24px|alt=|link=]]&nbsp;[[{{{1|Inter-Collegiate Sailing Association}}}]]<noinclude>{{documentation}}</noinclude>
 

Revision as of 15:19, 22 November 2020

Template documentation[view] [edit] [history] [purge]

Renders an icon of the sailing team's burgee before the link to the college.

Examples

Typical case, links to Wikipedia page of school
  • {{Collegesailingteam|American University}} → Burgee of American University.SVG
Special case, Links to Wikipedia page for school sailing team
  • {{Collegesailingteam|Harvard University}} → Burgee of Harvard University.SVG
  • {{Collegesailingteam|Yale University}}24px Yale University