Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{GamesTab2SubNav|text=[[{{{Country}}}]]{{#if: {{{State|}}}|<nowiki> > </nowiki>[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]]}}{{#if: {{{City|}}}|<nowiki> > </nowiki>[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]]}} > Ballgame }}
</noinclude><includeonly>{{GamesTab2SubNav|text=[[{{{Country}}}]]{{#if: {{{State|}}}|<nowiki> > </nowiki>[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]]}}{{#if: {{{City|}}}|<nowiki> > </nowiki>[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]]}} > Ballgame }}  {{#set:Country={{{Country|}}}|State={{{State}}}}|City={{{City|}}}|Name={{{Name|}}}}}
{| class="wikitable"
{| class="wikitable"
! Name
! Name
Line 42: Line 42:
|-
|-
! Date of Game  {{#set:Date of Game={{{Date of Game|}}}|Type of Date={{{Type of Date|}}}}}
! Date of Game  {{#set:Date of Game={{{Date of Game|}}}|Type of Date={{{Type of Date|}}}}}
| {{Typed Date|{{{Date of Game|}}}|{{{Type of Date|}}}}}
| {{Typed Date|{{{Date of Game|}}}|{{{Type of Date|}}}}} {{{Date Note|}}}
|-
! Date Note
| [[Date Note::{{{Date Note|}}}]]
|-
|-
! Field
! Field
Line 53: Line 50:
! Modern Address
! Modern Address
{{!}} [[Modern Address::{{{Modern Address|}}}]] }}
{{!}} [[Modern Address::{{{Modern Address|}}}]] }}
|-
! City
| {{#if: {{{City|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{City}}}, {{{State}}}|{{{City}}}]]| {{#if: {{{State}}}| [[{{{City}}}, {{{State}}}, {{{Country}}}|{{{City}}}]] | [[{{{City}}}, {{{Country}}}|{{{City}}}]]}} }}  {{#set:City={{{City}}}}}
|-
! State
| {{#if: {{{State|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{State}}}]]|[[{{{State}}}, {{{Country}}}|{{{State}}}]]}} }}  {{#set:State={{{State}}}}}
|-
! Country
| [[{{{Country}}}]] {{#set:Country={{{Country}}}}}
|-
|-
! Home Team
! Home Team
Line 79: Line 67:
{{!}}-  
{{!}}-  
! Innings
! Innings
{{!}} [[Innings::{{{Innings|}}}]] }}
{{!}} [[Innings::{{{Innings|}}}]] [[Innings Note::{{{Innings Note|}}}]] }}  
{{#if: {{{Innings Note|}}} |
{{!}}-
! Innings Note
{{!}} [[Innings Note::{{{Innings Note|}}}]] }}  
{{#if: {{{Number of Players|}}} |
{{#if: {{{Number of Players|}}} |
{{!}}-  
{{!}}-  
Line 133: Line 117:
! Entry Origin Url
! Entry Origin Url
{{!}} [[Entry Origin::{{{Entry Origin Url|}}}]] }}
{{!}} [[Entry Origin::{{{Entry Origin Url|}}}]] }}
|}  {{#set:Coordinates={{{Coordinates}}}}}
|}  


{{Related Essays}}
{{Related Essays}}

Revision as of 12:47, 8 October 2012

This is the "Ballgame" template. It should be called in the following format:

{{Ballgame
|Name=
|Date of Game=
|Type of Date=Day, Month, Year, Circa, Decade
|Date Note=
|Field=
|Modern Address=
|City=
|State=
|Country=
|Coordinates=
|Home Team=
|Away Team=
|Home Score=
|Away Score=
|Innings=
|Innings Note=
|Number of Players=
|Game=
|NY Rules=
|Ballgame Tags=
|Description=
|Sources=
|Reviewed=
|Submitted by=
|First in Location=
|First in Location Note=
|Players Locality=
|Entry Origin=
|Entry Origin Url=
}}

Edit the page to see the template text.