Template:Ballgame: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
! Location | ! Location | ||
| {{#if: {{{City|}}}|[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]],}} {{#if: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]] | | {{#if: {{{City|}}}|[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]],}} {{#if: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]] | ||
|- | |- {{#if: {{{Modern Address|}}}||class=hidden}} | ||
! Modern Address | |||
| [[Modern Address::{{{Modern Address|}}}]] | | [[Modern Address::{{{Modern Address|}}}]] | ||
|- | |- {{#if: {{{Field|}}}||class=hidden}} | ||
! Field | |||
| class=nowrap | {{#ifexist: {{{Field|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Field|target=|link text=<i class="icon-plus-sign"></i> Add Field Page|Field[Name]={{{Field|}}}|Field[Modern Address]={{{Modern Address|}}}|Field[City]={{{City|}}}|Field[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} </span> }} [[Field::{{{Field|}}}]] | | class=nowrap | {{#ifexist: {{{Field|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Field|target=|link text=<i class="icon-plus-sign"></i> Add Field Page|Field[Name]={{{Field|}}}|Field[Modern Address]={{{Modern Address|}}}|Field[City]={{{City|}}}|Field[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} </span> }} [[Field::{{{Field|}}}]] | ||
|- | |- {{#if: {{{Home Team|}}}||class=hidden}} | ||
! Home Team | |||
| class=nowrap | {{#ifexist: {{{Home Team|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i> Add Club Page|Club[Name]={{{Home Team|}}}|Club[Modern Address]={{{Modern Address|}}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Club[Country]={{{Country|}}}|popup}} </span> }} [[Home Team::{{{Home Team|}}}]] | | class=nowrap | {{#ifexist: {{{Home Team|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i> Add Club Page|Club[Name]={{{Home Team|}}}|Club[Modern Address]={{{Modern Address|}}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Club[Country]={{{Country|}}}|popup}} </span> }} [[Home Team::{{{Home Team|}}}]] | ||
|- | |- {{#if: {{{Away Team|}}}||class=hidden}} | ||
! Away Team | |||
{{!}} class=nowrap {{!}} {{#ifexist: {{{Away Team|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i> Add Club Page|Club[Name]={{{Away Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Club[Country]={{{Country|}}}|popup}} </span>}} [[Away Team::{{{Away Team|}}}]] | {{!}} class=nowrap {{!}} {{#ifexist: {{{Away Team|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i> Add Club Page|Club[Name]={{{Away Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Club[Country]={{{Country|}}}|popup}} </span>}} [[Away Team::{{{Away Team|}}}]] | ||
|- | |- {{#if: {{{Home Team Score|}}}||class=hidden}} | ||
! 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}} | ||
! Innings | |||
| [[Innings::{{{Innings|}}}]] [[Innings Note::{{{Innings Note|}}}]] | | [[Innings::{{{Innings|}}}]] [[Innings Note::{{{Innings Note|}}}]] | ||
|- | |- {{#if: {{{Number of Players|}}}||class=hidden}} | ||
! Number of Players | |||
| [[Number of Players::{{{Number of Players|}}}]] | | [[Number of Players::{{{Number of Players|}}}]] | ||
|- | |- {{#if: {{{Game|}}}||class=hidden}} | ||
! Game | |||
| [[Game::{{{Game|}}}]] | | [[Game::{{{Game|}}}]] | ||
|- | |- {{#if: {{{NY Rules|}}}||class=hidden}} | ||
! NY Rules | |||
| [[NY Rules::{{{NY Rules|}}}]] | | [[NY Rules::{{{NY Rules|}}}]] | ||
|- | |- {{#if: {{{Baseball Tags|}}}||class=hidden}} | ||
! Tags | |||
| {{#arraymap:{{{Baseball Tags|}}}|,|x|[[Baseball Tags::x]]}} | | {{#arraymap:{{{Baseball Tags|}}}|,|x|[[Baseball Tags::x]]}} | ||
|- | |- {{#if: {{{Description|}}}||class=hidden}} | ||
! Description | |||
| [[Description::{{{Description|}}}]] | | [[Description::{{{Description|}}}]] | ||
|- | |- {{#if: {{{Sources|}}}||class=hidden}} | ||
! Sources | |||
| [[Sources::{{{Sources|}}}]] | | [[Sources::{{{Sources|}}}]] | ||
|- | |- {{#if: {{{Submitted by|}}}||class=hidden}} | ||
! Submitted by | |||
| [[Submitted by::{{{Submitted by|}}}]] | | [[Submitted by::{{{Submitted by|}}}]] | ||
|- | |- {{#if: {{{First in Location|}}}||class=hidden}} | ||
! First in Location | |||
| [[First in Location::{{{First in Location|}}}]] | | [[First in Location::{{{First in Location|}}}]] [[First in Location Note::{{{First in Location Note|}}}]] | ||
|- {{#if: {{{Players Locality|}}}||class=hidden}} | |||
! Players Locality | |||
|- | |||
| [[Players Locality::{{{Players Locality|}}}]] | | [[Players Locality::{{{Players Locality|}}}]] | ||
|- | |- {{#if: {{{Entry Origin|}}}||class=hidden}} | ||
! Entry Origin | |||
| [[Entry Origin::{{{Entry Origin|}}}]] | | [[Entry Origin::{{{Entry Origin|}}}]] | ||
|- | |- {{#if: {{{Entry Origin Url|}}}||class=hidden}} | ||
! Entry Origin Url | |||
| [[Entry Origin::{{{Entry Origin Url|}}}]] | | [[Entry Origin::{{{Entry Origin Url|}}}]] | ||
|} | |} |
Revision as of 07:52, 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.