Template:Field: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
({{#default_form:Field}}) |
||
(13 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= | ||
|Coordinates= | |Coordinates= | ||
|Field Tags= | |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|City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{Reviewed|{{{Reviewed|}}}|Field}}{{#set:Name={{{Name|}}}}} | </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 32: | Line 39: | ||
! Sources | ! Sources | ||
| [[Sources::{{{Sources|}}}]] | | [[Sources::{{{Sources|}}}]] | ||
|- {{#if: {{{Submitted by|}}} || class=hidden }} | |- | ||
! Submitted by | ! Comment | ||
| [[ | | [[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__ | ||
== Clubs == | == Clubs == | ||
{{#ask: [[Category:Club-fields]][[Field::{{PAGENAME}} | {{#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> Add a Club|Club-field[Field]={{PAGENAME}}|popup}}</span> | <span class="noprint new">{{#formlink:form=Club-field|target=|link text=<i class="icon-plus-sign"></i> Add a Club|Club-field[Field]={{PAGENAME}}|popup}}</span> | ||
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.