Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 59: Line 59:
! Score
! Score
| [[Home Team Score::{{{Home Team Score|}}}]] [[Away Team Score::{{{Away Team Score|}}}]]
| [[Home Team Score::{{{Home Team Score|}}}]] [[Away Team Score::{{{Away Team Score|}}}]]
|- {{#if: {{{Innings|}}}||class=hidden}}
|- {{#if: {{{Innings|}}}|{{#ifeq:{{{Innings|}}}|9|class=hidden}}|class=hidden}}
! Innings
! Innings
| [[Innings::{{{Innings|}}}]] [[Innings Note::{{{Innings Note|}}}]]
| [[Innings::{{{Innings|}}}]] [[Innings Note::{{{Innings Note|}}}]]
Line 65: Line 65:
! Number of Players
! Number of Players
| [[Number of Players::{{{Number of Players|}}}]]
| [[Number of Players::{{{Number of Players|}}}]]
|- {{#if: {{{Game|}}}||class=hidden}}
|- {{#if: {{{Game|}}}|{{#ifeq:{{{Game|}}}|Baseball|class=hidden}}|class=hidden}}
! Game
! Game
| [[Game::{{{Game|}}}]]
| [[Game::{{{Game|}}}]]
Line 71: Line 71:
! NY Rules
! NY Rules
| [[NY Rules::{{{NY Rules|}}}]]
| [[NY Rules::{{{NY Rules|}}}]]
|- {{#if: {{{Baseball Tags|}}}||class=hidden}}
|- {{#if: {{{Baseball Tags|}}}|{{#ifeq:{{{NY Rules|}}}|Yes|class=hidden}}|class=hidden}}
! Tags
! Tags
| {{#arraymap:{{{Baseball Tags|}}}|,|x|[[Baseball Tags::x]]}}
| {{#arraymap:{{{Baseball Tags|}}}|,|x|[[Baseball Tags::x]]}}

Revision as of 09:10, 26 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=
|Crown=
}}

Edit the page to see the template text.