Template:Franchise-page

From SABR Encyclopedia

(Difference between revisions)
Jump to: navigation, search
 
(16 intermediate revisions not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
-
This is the 'Origins-game' template.
+
This is the 'Franchise-page' template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
-
{{Origins-game
+
{{Franchise-page
-
|City=
+
|Retro=Retrosheet three letter franchise ID
-
|State=
+
-
|Country=
+
-
|Retro=
+
-
|Location=
+
-
|Nickname=
+
-
|Suffix=
+
-
|Summary=
+
-
|Pagetext=
+
}}
}}
</pre>
</pre>
Line 21: Line 13:
! colspan="2" |<big>{{PAGENAME}}</big>
! colspan="2" |<big>{{PAGENAME}}</big>
|-
|-
-
! Past names:
+
|}
-
| {{{Past names|}}}
+
{{{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]]
-
{{page-indexterm|{{{Past names|}}}}}
 
</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.

Personal tools