Template:Field: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
! 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}}}]]
|-
|- {{#if: {{{Modern Address|}}} || class=hidden }}
! {{#if: {{{Modern Address|}}} | Modern Address}}
! Modern Address
| [[Modern Address::{{{Modern Address|}}}]] {{#set:Coordinates={{{Coordinates|}}}}}
| [[Modern Address::{{{Modern Address|}}}]] {{#set:Coordinates={{{Coordinates|}}}}}
|-
|- {{#if: {{{Field Tags|}}} || class=hidden }}
! {{#if: {{{Field Tags|}}} | Tags }}
! Tags
| {{#arraymap:{{{Field Tags|}}}|,|x|[[Field Tags::x]]}}
| {{#arraymap:{{{Field Tags|}}}|,|x|[[Field Tags::x]]}}
|-
|- {{#if: {{{Description|}}} || class=hidden }}
! {{#if: {{{Description|}}} | Description }}
! Description
| [[Description::{{{Description|}}}]]
| [[Description::{{{Description|}}}]]
|-  
|- {{#if: {{{Sources|}}} || }}
! {{#if: {{{Sources|}}} | Sources }}
! Sources
| [[Sources::{{{Sources|}}}]]
| [[Sources::{{{Sources|}}}]]
|-
|- {{#if: {{{Submitted by|}}} || class=hidden }}
! {{#if: {{{Submitted by|}}} | Submitted by }}
! Submitted by
| [[Submitted by::{{{Submitted by|}}}]]
| [[Submitted by::{{{Submitted by|}}}]]
|} __NOEDITSECTION__
|} __NOEDITSECTION__

Revision as of 10:42, 30 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.