Template:Origins-location

From SABR Encyclopedia

(Difference between revisions)
Jump to: navigation, search
(add indexterm for "pagename", to allow lowercase searches)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
-
<noinclude>
+
__NOEDITSECTION__<noinclude>
This is the 'Origins-location' template.
This is the 'Origins-location' template.
It should be called in the following format:
It should be called in the following format:
Line 10: Line 10:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
-
</noinclude><includeonly>
+
</noinclude><includeonly>{{Origins-firstlevel-box|{{{Location|}}} }}
 +
 
 +
{{#if: {{{Pagetext|}}}|
{{{Pagetext|}}}
{{{Pagetext|}}}
 +
|}}
Items on the following lists with greyed out text have not yet been approved, and are not yet included in official data.
Items on the following lists with greyed out text have not yet been approved, and are not yet included in official data.
== Early games ==
== Early games ==
Line 26: Line 29:
! Team 1
! Team 1
! Team 2
! Team 2
-
{{#ask: [[Origins-game-locale::{{{Location|}}}]]
+
{{#ask: [[Origins-locale::{{{Location|}}}]] [[Origins-type::Game]]
-
| ?Origins-game-city=City
+
| ?Origins-city=City
-
| ?Origins-game-year=Year
+
| ?Origins-year=Year
-
| ?Origins-game-month=Month
+
| ?Origins-month=Month
-
| ?Origins-game-date=Day
+
| ?Origins-day=Day
| ?Origins-game-site_name=Site
| ?Origins-game-site_name=Site
| ?Origins-game-ny_baseball=NY Rules?
| ?Origins-game-ny_baseball=NY Rules?
| ?Origins-game-team1=Team 1
| ?Origins-game-team1=Team 1
| ?Origins-game-team2=Team 2
| ?Origins-game-team2=Team 2
-
| ?Origins-game-approved=approved
+
| ?Origins-reviewed=Reviewed
 +
| link=none
| format= template
| format= template
| template = Origins-game-table-row
| template = Origins-game-table-row
| mainlabel = Page (click to view)
| mainlabel = Page (click to view)
 +
| limit = 2000
}}
}}
|}
|}
Line 51: Line 56:
! Day
! Day
! Nickname
! Nickname
-
{{#ask: [[Origins-club-locale::{{{Location|}}}]]
+
{{#ask: [[Origins-locale::{{{Location|}}}]] [[Origins-type::Club]]
-
| ?Origins-club-city=City
+
| ?Origins-city=City
-
| ?Origins-club-year=Year
+
| ?Origins-year=Year
-
| ?Origins-club-month=Month
+
| ?Origins-month=Month
-
| ?Origins-club-date=Day
+
| ?Origins-day=Day
| ?Origins-club-nickname=Nickname
| ?Origins-club-nickname=Nickname
-
| ?Origins-club-approved=approved
+
| ?Origins-reviewed=Reviewed
 +
| link=none
| format= template
| format= template
| template = Origins-team-table-row
| template = Origins-team-table-row
| mainlabel = Page (click to view)
| mainlabel = Page (click to view)
 +
| limit = 2000
}}
}}
|}
|}
Line 75: Line 82:
! Name of game
! Name of game
! Game notes
! Game notes
-
{{#ask: [[Origins-pregame-locale::{{{Location|}}}]]
+
{{#ask: [[Origins-locale::{{{Location|}}}]] [[Origins-type::Predecessor game]]
-
| ?Origins-pregame-city=City
+
| ?Origins-city=City
-
| ?Origins-pregame-year=Year
+
| ?Origins-year=Year
-
| ?Origins-pregame-month=Month
+
| ?Origins-month=Month
-
| ?Origins-pregame-date=Day
+
| ?Origins-day=Day
| ?Origins-pregame-game name=Name of Game
| ?Origins-pregame-game name=Name of Game
-
| ?Origins-pregame-game name=Summary
+
| ?Origins-pregame-summary=Summary
-
| ?Origins-pregame-approved=approved
+
| ?Origins-reviewed=approved
 +
| link=none
| format= template
| format= template
| template = Origins-pregame-table-row
| template = Origins-pregame-table-row
| mainlabel = Page (click to view)
| mainlabel = Page (click to view)
 +
| limit = 2000
}}
}}
|}
|}
{{#formlink:Origins-pregame|Add predecessor game||Origins-pregame[Location]={{{Location|}}}}}
{{#formlink:Origins-pregame|Add predecessor game||Origins-pregame[Location]={{{Location|}}}}}
-
[[Category:Early baseball in {{{Region|}}}]]{{#set:Origins-location-name={{{Location|}}}|Origins-location-region={{{Region|}}}}}
+
[[Category:Early baseball in {{{Region|}}}]]{{#set:Origins-location-name={{{Location|}}}|Origins-location-region={{{Region|}}}}}{{page-indexterm|{{{PAGENAME}}}}}
</includeonly>
</includeonly>

Latest revision as of 16:46, 12 April 2010

This is the 'Origins-location' template. It should be called in the following format:

{{Origins-location
|Pagetext=
|Location=
|Region=
}}

Edit the page to see the template text.

Personal tools