Template:Origins-location
From SABR Encyclopedia
(Difference between revisions)
(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 | + | {{#ask: [[Origins-locale::{{{Location|}}}]] [[Origins-type::Game]] |
- | | ?Origins | + | | ?Origins-city=City |
- | | ?Origins | + | | ?Origins-year=Year |
- | | ?Origins | + | | ?Origins-month=Month |
- | | ?Origins- | + | | ?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- | + | | ?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 | + | {{#ask: [[Origins-locale::{{{Location|}}}]] [[Origins-type::Club]] |
- | | ?Origins | + | | ?Origins-city=City |
- | | ?Origins | + | | ?Origins-year=Year |
- | | ?Origins | + | | ?Origins-month=Month |
- | | ?Origins- | + | | ?Origins-day=Day |
| ?Origins-club-nickname=Nickname | | ?Origins-club-nickname=Nickname | ||
- | | ?Origins- | + | | ?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 | + | {{#ask: [[Origins-locale::{{{Location|}}}]] [[Origins-type::Predecessor game]] |
- | | ?Origins | + | | ?Origins-city=City |
- | | ?Origins | + | | ?Origins-year=Year |
- | | ?Origins | + | | ?Origins-month=Month |
- | | ?Origins- | + | | ?Origins-day=Day |
| ?Origins-pregame-game name=Name of Game | | ?Origins-pregame-game name=Name of Game | ||
- | | ?Origins-pregame- | + | | ?Origins-pregame-summary=Summary |
- | | ?Origins- | + | | ?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.