Template:Field: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
|-
|-
! City
! City
| [[City::{{{City|}}}]]
| {{#if: {{{City|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{City}}}, {{{State}}}|{{{City}}}]]| {{#if: {{{State}}}| [[{{{City}}}, {{{State}}}, {{{Country}}}|{{{City}}}]] | [[{{{City}}}, {{{Country}}}|{{{City}}}]]}} }}  {{#set:City={{{City}}}}}
|-
|-
! State
! State
| [[State::{{{State|}}}]]
| {{#if: {{{State|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{State}}}]]|[[{{{State}}}, {{{Country}}}|{{{State}}}]]}} }}  {{#set:State={{{State}}}}}
|-
! Country
| [[{{{Country}}}]] {{#set:Country={{{Country}}}}}
|-
|-
! Modern Address
! Modern Address
| [[Modern Address::{{{Modern Address|}}}]]
| [[Modern Address::{{{Modern Address|}}}]] {{#set:Coordinates={{{Coordinates|}}}}}
|-
! Coordinates
| [[Coordinates::{{{Coordinates|}}}]]
|-
|-
! Description
! Description

Revision as of 12:10, 6 October 2012

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

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

Edit the page to see the template text.