Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
|-
|-
! Field
! Field
| class=nowrap | [[Field::{{{Field|}}}]] {{#if: {{{Field|}}} | <span class="a_bit_right">{{#ifexist: {{{Field|}}} | | {{#formlink:form=Field|target=|link text=<span class="entypo">Z</span>&nbsp;Add&nbsp;Field&nbsp;Page|Field[Name]={{{Field|}}}|Field[City]={{{City|}}}|Field[Region]={{{Region|}}}|Field[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} }} </span> }}
| class=nowrap | {{#if: {{{Field|}}} | <span class="a_bit_right float_right">{{#ifexist: {{{Field|}}} | | {{#formlink:form=Field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Field&nbsp;Page|Field[Name]={{{Field|}}}|Field[City]={{{City|}}}|Field[Region]={{{Region|}}}|Field[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} }} </span> }} [[Field::{{{Field|}}}]]
|-
|-
! City
! City
Line 52: Line 52:
|-
|-
! Home Team
! Home Team
| class=nowrap | [[Home Team::{{{Home Team|}}}]] {{#if: {{{Home Team|}}} |  <span class="a_bit_right">{{#ifexist: {{{Home Team|}}} | | {{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Club&nbsp;Page|Club[Name]={{{Home Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} }} </span> }}
| class=nowrap | {{#if: {{{Home Team|}}} |  <span class="a_bit_right float_right">{{#ifexist: {{{Home Team|}}} | | {{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Club&nbsp;Page|Club[Name]={{{Home Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} }} </span> }} [[Home Team::{{{Home Team|}}}]]
|-
|-
! Away Team
! Away Team
| class=nowrap | [[Away Team::{{{Away Team|}}}]] {{#if: {{{Away Team|}}} | <span class="a_bit_right">{{#ifexist: {{{Away Team|}}} | | {{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Club&nbsp;Page|Club[Name]={{{Away Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} }} </span> }}
| class=nowrap | {{#if: {{{Away Team|}}} | <span class="a_bit_right float_right">{{#ifexist: {{{Away Team|}}} | | {{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Club&nbsp;Page|Club[Name]={{{Away Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} }} </span> }} [[Away Team::{{{Away Team|}}}]]
|-
|-
! Home Team Score
! Home Team Score

Revision as of 08:06, 18 August 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=
|City=
|State=
|Country=
|Home Team=
|Away Team=
|Home Score=
|Away Score=
|Innings=
|Innings Note=
|Number of Players=
|Game=
|NY Rules=
|Description=
|Sources=
|Reviewed=
|Submitted by=
}}

Edit the page to see the template text.