Template:Field: Difference between revisions
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>{{ | </noinclude><includeonly>{{Ballgame Box}}{{Reviewed|{{{Reviewed|}}}|Field}} | ||
{| | {| | ||
! Name | ! Name | ||
| [[Name::{{{Name|}}}]] | | [[Name::{{{Name|}}}]] | ||
|- | |- | ||
! | ! Location | ||
| {{#if: {{{City|}}} | {{#ifeq: {{{Country|}}}|United States| | | {{#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|}}} | 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|}}}]] | ||
|- | |- | ||
! | ! {{#if: {{{Submitted by|}}} | 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.