Template:Field: Difference between revisions

From Protoball
Jump to navigation Jump to search
(digger lookups for found by, entered by)
({{#default_form:Field}})
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
|Modern Address=
|Modern Address=
|City=
|City=
|Borough=
|State=
|State=
|Country=
|Country=
Line 14: Line 15:
|Sources=
|Sources=
|Comment=
|Comment=
|Query=
|Reviewed=
|Reviewed=
|Submitted by=
|Submitted by=
Line 21: Line 23:
</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:City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}|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 37: Line 39:
! Sources
! Sources
| [[Sources::{{{Sources|}}}]]
| [[Sources::{{{Sources|}}}]]
|- {{#if: {{{Comment|}}} || class=hidden }}
|-
! Comment
! Comment
| [[Comment::{{{Comment|}}}]]
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
|-
! Query
| [[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
|- {{#if: {{{Submitted by|}}} || class="hidden" }}
|- {{#if: {{{Submitted by|}}} || class="hidden" }}
! Found by
! Found by
| {{#set:Submitted by={{{Submitted by|}}}}}{{#if:{{{Submitted by|}}}|{{#ifexist:{{{Submitted by|}}}|[[{{{Submitted by|}}}]]|{{{Submitted by|}}}}}
| {{#arraymap:{{{Submitted by|}}}|,|x|[[Submitted by::x]]}}
|- {{#if: {{{Submission Note|}}} || class=hidden }}
|- {{#if: {{{Submission Note|}}} || class=hidden }}
! Submission Note
! Submission Note
Line 48: Line 53:
|- {{#if: {{{Entered by|}}} || class="hidden" }}
|- {{#if: {{{Entered by|}}} || class="hidden" }}
! Entered by
! Entered by
| {{#set:Entered by={{{Entered by|}}}}}{{#if:{{{Entered by|}}}|{{#ifexist:{{{Entered by|}}}|[[{{{Entered by|}}}]]|{{{Entered by|}}}}}
| {{#set:Entered by={{{Entered by|}}}}}{{#if:{{{Entered by|}}}|{{#ifexist:{{{Entered by|}}}|[[{{{Entered by|}}}]]|{{{Entered by|}}}}}}}
|} __NOEDITSECTION__
|} __NOEDITSECTION__



Latest revision as of 18: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.