Template:Origins-pregame

From SABR Encyclopedia

(Difference between revisions)
Jump to: navigation, search
(Created page with '<noinclude> This is the 'Origins-pregame' template. It should be called in the following format: <pre> {{Origins-pregame |Location= |Year= |Month= |Date= |Date-note= |City= |Stat…')
(add pagetext and sources parameters, references tag)
 
(10 intermediate revisions not shown)
Line 14: Line 14:
|Nickname=
|Nickname=
|Approved=
|Approved=
 +
|Pagetext=
 +
|Sources=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
-
{| class="infobox"
+
{{Spread sidebar}}{{Spread-event-box|Location={{{Location|}}} }}{{#ifeq: {{{Approved|}}} | Yes | | {{Origins-unapproved-box}} }}
-
|- class="infobox-header"
+
{| class="prettytable"
-
! colspan="2" |<big>{{PAGENAME}}</big>
+
|-
|-
! Location
! Location
-
| [[Origins-pregame-locale::{{{Location|}}}]]
+
| [[Origins-locale::{{{Location|}}}]]
|-
|-
{{#if: {{{Year|}}} | ! Year
{{#if: {{{Year|}}} | ! Year
-
{{!}} [[Origins-pregame-year::{{{Year|}}}]]
+
{{!}} [[Origins-year::{{{Year|}}}]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{Month|}}} | ! Month
{{#if: {{{Month|}}} | ! Month
-
{{!}} [[Origins-pregame-month::{{{Month|}}}]]
+
{{!}} [[Origins-month::{{{Month|}}}]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{Date|}}} | ! Date
{{#if: {{{Date|}}} | ! Date
-
{{!}} [[Origins-pregame-date::{{{Date|}}}]]
+
{{!}} [[Origins-day::{{{Date|}}}]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{Date-note|}}} | ! Note on date
{{#if: {{{Date-note|}}} | ! Note on date
-
{{!}} [[Origins-pregame-datenote::{{{Date-note|}}}]]
+
{{!}} [[Origins-datenote::{{{Date-note|}}}]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{City|}}} | ! City
{{#if: {{{City|}}} | ! City
-
{{!}} [[Origins-pregame-city::{{{City|}}}]]
+
{{!}} [[Origins-city::{{{City|}}}]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{State|}}} | ! State
{{#if: {{{State|}}} | ! State
-
{{!}} [[Origins-pregame-state::{{{State|}}}]]
+
{{!}} [[Origins-state::{{{State|}}}]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{|Country}}} | ! Country
{{#if: {{{|Country}}} | ! Country
-
{{!}} [[Origins-pregame-country::{{{Country|}}}]]
+
{{!}} [[Origins-country::{{{Country|}}}]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{|Game name}}} | ! Name of game
{{#if: {{{|Game name}}} | ! Name of game
-
{{!}} [[Origins-pregame-game_name::{{{Game name|}}}]]|
+
{{!}} [[Origins-pregame-game_name::{{{Game name|}}}]]
{{!}}- | }}
{{!}}- | }}
-
{{#if: {{{|Summary}}} | ! Notes on play
+
{{#if: {{{Submitter|}}} | ! Found by
-
{{!}} [[Origins-pregame-summary::{{{Summary|}}}]]| }}
+
{{!}} {{{Submitter|}}}| }}
|}
|}
-
{{#set: Origins-pregame-approved={{{Approved|}}}}}
+
{{{Pagetext|}}}
-
{{#ifeq: {{{Approved|}}} | Yes | | {{Origins-unapproved-box}} }}
+
{{#if: {{{Sources|}}} |
-
[[Category:Baseball predecessor games]]
+
== Sources ==
 +
{{{Sources|}}}  
 +
 
 +
| }}
 +
<references />
 +
{{#set: Origins-reviewed={{{Approved|}}}}}{{#set: Origins-type=Predecessor game}}[[Category:Baseball predecessor games]]
</includeonly>
</includeonly>

Latest revision as of 17:12, 14 April 2010

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

{{Origins-pregame
|Location=
|Year=
|Month=
|Date=
|Date-note=
|City=
|State=
|Country=
|Nickname=
|Approved=
|Pagetext=
|Sources=
}}

Edit the page to see the template text.

Personal tools