Template:Field: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
</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}}}]]}} > Playing Field }}
</noinclude><includeonly>{{Ballgame Box}}{{Reviewed|{{{Reviewed|}}}|Field}}
{| class="wikitable"
{|
! Name
! Name
| [[Name::{{{Name|}}}]]
| [[Name::{{{Name|}}}]]
|-
|-
! City
! Location
| {{#if: {{{City|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{City}}}, {{{State}}}|{{{City}}}]]| {{#if: {{{State}}}| [[{{{City}}}, {{{State}}}, {{{Country}}}|{{{City}}}]] | [[{{{City}}}, {{{Country}}}|{{{City}}}]]}} }}  {{#set:City={{{City}}}}}
| {{#if: {{{City|}}}|[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]],}} {{#if: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]]
|-
|-
! State
! {{#if: {{{Modern Address|}}} | Modern Address}}
| {{#if: {{{State|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{State}}}]]|[[{{{State}}}, {{{Country}}}|{{{State}}}]]}} }}  {{#set:State={{{State}}}}}
|-
! Country
| [[{{{Country}}}]] {{#set:Country={{{Country}}}}}
|-
! Modern Address
| [[Modern Address::{{{Modern Address|}}}]] {{#set:Coordinates={{{Coordinates|}}}}}
| [[Modern Address::{{{Modern Address|}}}]] {{#set:Coordinates={{{Coordinates|}}}}}
|-
|-
! Tags
! {{#if: {{{Field Tags|}}} | Tags }}
| {{#arraymap:{{{Field Tags|}}}|,|x|[[Field Tags::x]]}}
| {{#arraymap:{{{Field Tags|}}}|,|x|[[Field Tags::x]]}}
|-
|-
! Description
! {{#if: {{{Description|}}} | Description }}
| [[Description::{{{Description|}}}]]
| [[Description::{{{Description|}}}]]
|-
|-  
! Sources
! {{#if: {{{Sources|}}} | Sources }}
| [[Sources::{{{Sources|}}}]]
| [[Sources::{{{Sources|}}}]]
|-
|-
! Reviewed
! {{#if: {{{Submitted by|}}} | Submitted by }}
| [[Reviewed::{{{Reviewed|}}}]]
|-
! Submitted by
| [[Submitted by::{{{Submitted by|}}}]]
| [[Submitted by::{{{Submitted by|}}}]]
|}
|} __NOEDITSECTION__


== Clubs ==
== Clubs ==

Revision as of 19:15, 10 October 2012

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

{{Field
|Name=
|City=
|State=
|Country=
|Modern Address=
|Coordinates=
|Field Tags=
|Description=
|Sources=
}}

Edit the page to see the template text.