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>{{Ballgame Box|City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{Reviewed|{{{Reviewed|}}}|Field}}
</noinclude><includeonly>{{Ballgame Box|City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{Reviewed|{{{Reviewed|}}}|Field}}{{#set:Name={{{Name|}}}}}
{|
{|
! Name
| [[Name::{{{Name|}}}]]
|-
! 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}}}]]

Revision as of 09:10, 20 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.