Template:Field: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
({{#default_form:Field}})
 
(10 intermediate revisions by the same user not shown)
Line 7: Line 7:
|Modern Address=
|Modern Address=
|City=
|City=
|Borough=
|State=
|State=
|Country=
|Country=
Line 13: Line 14:
|Description=
|Description=
|Sources=
|Sources=
|Comment=
|Query=
|Reviewed=
|Reviewed=
|Submitted by=
|Submission Note=
|Entered by=
}}
}}
</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}}{{#set:Name={{{Name|}}}|Reviewed={{{Reviewed|}}}}}
</noinclude><includeonly>{{#default_form:Field}}{{Ballgame Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{Reviewed|{{{Reviewed|}}}|Field}}{{#set:City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}|Name={{{Name|}}}|Reviewed={{{Reviewed|}}}}}
{| class=stats
{| class=stats
! 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: {{{Borough|}}}|[[{{{Borough|}}}]],}} {{#if: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]]
|- {{#if: {{{Modern Address|}}} || class=hidden }}
|- {{#if: {{{Modern Address|}}} || class=hidden }}
! Modern Address
! Modern Address
Line 33: Line 39:
! Sources
! Sources
| [[Sources::{{{Sources|}}}]]
| [[Sources::{{{Sources|}}}]]
|- {{#if: {{{Submitted by|}}} || class=hidden }}
|-
! Submitted by
! Comment
| {{#set:Submitted by={{{Submitted by|}}}}}{{#if:{{{Submitted by|}}}|{{#ifexist:{{{Submitted by|}}}|[[{{{Submitted by|}}}]]|{{{Submitted by|}}}}}
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
|-
! Query
| [[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
|- {{#if: {{{Submitted by|}}} || class="hidden" }}
! Found by
| {{#arraymap:{{{Submitted by|}}}|,|x|[[Submitted by::x]]}}
|- {{#if: {{{Submission Note|}}} || class=hidden }}
! Submission Note
| [[Submission Note::{{{Submission Note|}}}]]
|- {{#if: {{{Entered by|}}} || class="hidden" }}
! Entered by
| {{#set:Entered by={{{Entered by|}}}}}{{#if:{{{Entered by|}}}|{{#ifexist:{{{Entered by|}}}|[[{{{Entered by|}}}]]|{{{Entered by|}}}}}}}
|} __NOEDITSECTION__
|} __NOEDITSECTION__



Latest revision as of 19:06, 5 June 2020

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

{{Field
|Name=
|Modern Address=
|City=
|Borough=
|State=
|Country=
|Coordinates=
|Field Tags=
|Description=
|Sources=
|Comment=
|Query=
|Reviewed=
|Submitted by=
|Submission Note=
|Entered by=
}}

Edit the page to see the template text.