Template:Field: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
({{#default_form:Field}})
 
(32 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{Field
{{Field
|Name=
|Name=
|Modern Address=
|City=
|City=
|Borough=
|State=
|State=
|Country=
|Country=
|Modern Address=
|Coordinates=
|Coordinates=
|Field Tags=
|Description=
|Description=
|Sources=
|Sources=
|Comment=
|Query=
|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}}
</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="wikitable"
{| class=stats
! Name
! Location
| [[Name::{{{Name|}}}]]
| {{#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 }}
! City
| {{#if: {{{City|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{City}}}, {{{State}}}|{{{City}}}]]| {{#if: {{{State}}}| [[{{{City}}}, {{{State}}}, {{{Country}}}|{{{City}}}]] | [[{{{City}}}, {{{Country}}}|{{{City}}}]]}} }}  {{#set:City={{{City}}}}}
|-
! 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|}}}]] {{#set:Coordinates={{{Coordinates|}}}}}
| [[Modern Address::{{{Modern Address|}}}]] {{#set:Coordinates={{{Coordinates|}}}}}
|-
|- {{#if: {{{Field Tags|}}} || class=hidden }}
! Tags
| {{#arraymap:{{{Field Tags|}}}|,|x|[[Field Tags::x]]}}
|- {{#if: {{{Description|}}} || class=hidden }}
! Description
! Description
| [[Description::{{{Description|}}}]]
| [[Description::{{{Description|}}}]]
|-
|- {{#if: {{{Sources|}}} || class=hidden }}
! Sources
! Sources
| [[Sources::{{{Sources|}}}]]
| [[Sources::{{{Sources|}}}]]
|-
|-
! Reviewed
! Comment
| [[Reviewed::{{{Reviewed|}}}]]
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
|-
|-
! Submitted by
! Query
| [[Submitted by::{{{Submitted by|}}}]]
| [[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__


== Clubs ==
== Clubs ==


todo
{{#ask: [[Category:Club-fields]][[Field::{{PAGENAME}}]] | ? Club | ? Field | ? Years | link=none | format=template | introtemplate = Display Field Club Header | template=Display Field Club Row | outrotemplate = Display Table Footer | userparam=Field[City]={{{City|}}}&Field[State]={{{State|}}}&Field[Country]={{{Country|}}} | limit=1000 | default=Currently, no clubs are noted to have used this field }}
<span class="noprint new">{{#formlink:form=Club-field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;Club|Club-field[Field]={{PAGENAME}}|popup}}</span>


== Games ==
== Games ==


{{#ask: [[Category:Games]][[Field::{{PAGENAME}}]] | format=list }}
{{Ballgame Query|[[Field::{{PAGENAME}}]]}}
<span class="noprint new">{{#formlink:form=Ballgame|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;Ballgame|Ballgame[Modern Address]={{{Modern Address|}}}|Ballgame[City]={{{City|}}}|Ballgame[State]={{{State|}}}|Ballgame[Country]={{{Country|}}}|Ballgame[Field]={{PAGENAME}}}}</span>
 
{{Related Essays}}
{{Discussion}}


[[Category:Fields]]
[[Category:Fields]]
</includeonly>
</includeonly>

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.