Template:Franchise-page
From SABR Encyclopedia
(Difference between revisions)
(16 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
- | This is the ' | + | This is the 'Franchise-page' template. |
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
- | {{ | + | {{Franchise-page |
- | + | |Retro=Retrosheet three letter franchise ID | |
- | + | ||
- | + | ||
- | |Retro= | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
}} | }} | ||
</pre> | </pre> | ||
Line 21: | Line 13: | ||
! colspan="2" |<big>{{PAGENAME}}</big> | ! colspan="2" |<big>{{PAGENAME}}</big> | ||
|- | |- | ||
- | + | |} | |
- | | {{{ | + | {{{Pagetext|}}} |
+ | == Past {{PAGENAME}} teams == | ||
+ | {{#get_db_data: | ||
+ | |server=minorsdev | ||
+ | |from=teams,leagues | ||
+ | |where=teams.key_retro_franch='{{{Retro}}}' AND teams.leagueID = leagues.leagueID ORDER BY year DESC | ||
+ | |data=club=nameClub,teamID=teamID,year=year,league=nameLeague | ||
+ | }} | ||
+ | {| class="wikitable" | ||
+ | ! Club | ||
+ | ! League | ||
+ | {{#for_external_table:<nowiki/> | ||
+ | {{!}}- | ||
+ | {{!}} [[{{{year}}} {{{club}}}]] | ||
+ | {{!}} [[{{{year}}} {{{league}}}]] }} | ||
|} | |} | ||
[[Category:Franchises]] | [[Category:Franchises]] | ||
- | |||
</includeonly> | </includeonly> |
Latest revision as of 19:10, 17 February 2010
This is the 'Franchise-page' template. It should be called in the following format:
{{Franchise-page |Retro=Retrosheet three letter franchise ID }}
Edit the page to see the template text.