Template:Club: Difference between revisions
Jump to navigation
Jump to search
(Borough, Firsts) |
(just white-space to trigger reprocessed) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Club" template. | This is the "Club" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{Club | {{Club | ||
Line 25: | Line 25: | ||
|Description= | |Description= | ||
|Sources= | |Sources= | ||
|Source Image= | |Source Image= | ||
|Has Source On Hand= | |Has Source On Hand= | ||
|Comment= | |||
|Query= | |||
|Reviewed= | |Reviewed= | ||
|Submitted by= | |Submitted by= | ||
Line 39: | Line 40: | ||
|Society= | |Society= | ||
|Duplicate= | |Duplicate= | ||
|Has Supplemental Text= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{Ballgame Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Type=Club|Country={{{Country|}}}|State={{{State|}}}|City={{{City|}}}|Name={{{Name|}}}|Coordinates={{{Coordinates|}}}|Reviewed={{{Reviewed|}}}|Duplicate={{{Duplicate|}}}}} {{Reviewed|{{{Reviewed|}}}|Club}} __NOEDITSECTION__ | </noinclude><includeonly>{{#default_form:Club}}{{Ballgame Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Type=Club|Country={{{Country|}}}|State={{{State|}}}|Borough={{{Borough|}}}|City={{{City|}}}|Name={{{Name|}}}|Coordinates={{{Coordinates|}}}|Reviewed={{{Reviewed|}}}|Has Supplemental Text={{{Has Supplemental Text|}}}|Duplicate={{{Duplicate|}}}}} {{Reviewed|{{{Reviewed|}}}|Club}} __NOEDITSECTION__ | ||
{| class="stats" | {| class="stats" | ||
|- | |- | ||
Line 74: | Line 76: | ||
! Sources | ! Sources | ||
| [[Sources::{{{Sources|}}}]] | | [[Sources::{{{Sources|}}}]] | ||
|- {{#if: {{{Source Image|}}} || class=hidden }} | |- {{#if: {{{Source Image|}}} || class=hidden }} | ||
! Source Image | ! Source Image | ||
Line 83: | Line 82: | ||
! Has Source On Hand | ! Has Source On Hand | ||
| [[Has Source On Hand::{{{Has Source On Hand|}}}]] | | [[Has Source On Hand::{{{Has Source On Hand|}}}]] | ||
|- | |||
! Comment | |||
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}} | |||
|- | |||
! Query | |||
| [[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}} | |||
|- {{#if: {{{Submitted by|}}} || class="hidden" }} | |- {{#if: {{{Submitted by|}}} || class="hidden" }} | ||
! Found by | ! Found by | ||
Line 107: | Line 112: | ||
! Local-Origin Study Groups | ! Local-Origin Study Groups | ||
| {{#arraymap:{{{Society|}}}|,|x|[[Society::x]]}} | | {{#arraymap:{{{Society|}}}|,|x|[[Society::x]]}} | ||
|- {{#ifeq: {{{Has Supplemental Text|}}}|Yes|| class=hidden }} | |||
! Has Supplemental Text | |||
| {{#ifeq: {{{Has Supplemental Text|}}}|Yes|Yes [[{{PAGENAME}}#Supplemental Text|<i class="icon-hand-down"></i>]]}} | |||
|} __NOTOC__ | |} __NOTOC__ | ||
{{#ifexist: Template:{{PAGENAME}} Win Loss Record |== Win/Loss Records As Far As We Now Know == | {{#ifexist: Template:{{PAGENAME}} Win Loss Record |== Win/Loss Records As Far As We Now Know == | ||
Line 116: | Line 124: | ||
== Players == | == Players == | ||
{{#ask: [[Category:Player-clubs]][[Club::{{PAGENAME}}]] | ? Player | ? Years | ? Role with Club | link=none | format=template | introtemplate = Display Club Player Header | template=Display Club Player Row | outrotemplate = Display Table Footer | limit=1000 | default = No players have been associated with this Club yet.}} | {{#ask: [[Category:Player-clubs]][[Club::{{PAGENAME}}]] | ? Player | ? Years | ? Role with Club | link=none | format=template | introtemplate = Display Club Player Header | template=Display Club Player Row | outrotemplate = Display Table Footer | limit=1000 | default = No players have been associated with this Club yet.}} | ||
<span class="noprint | <span class="noprint">{{#formlink:form=Player-club|target=|link text=<i class="icon-plus-sign"></i> Add a Player|Player-club[Club]={{PAGENAME}}|popup}}</span> | ||
== Playing Fields == | == Playing Fields == | ||
{{#ask: [[Category:Club-fields]][[Club::{{PAGENAME}}]] | ? Field | ? Club | ? Years | link=none | format=template | introtemplate = Display Club Field Header | template=Display Club Field Row | outrotemplate = Display Table Footer | userparam=Field[City]={{{City|}}}&Field[State]={{{State|}}}&Field[Country]={{{Country|}}} | limit=1000}} | {{#ask: [[Category:Club-fields]][[Club::{{PAGENAME}}]] | ? Field | ? Club | ? Years | link=none | format=template | introtemplate = Display Club Field Header | template=Display Club Field Row | outrotemplate = Display Table Footer | userparam=Field[City]={{{City|}}}&Field[State]={{{State|}}}&Field[Country]={{{Country|}}} | limit=1000}} | ||
Line 127: | Line 135: | ||
{{#if:{{{First in Location|}}}| | {{#if:{{{First in Location|}}}| | ||
{{#ifeq:{{#ask:[[Category:Countries]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category: First in a Country]]}} | {{#ifeq:{{#ask:[[Category:Countries]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category: First in a Country]]}} | ||
{{#ifeq:{{#ask:[[Category:States]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a | {{#ifeq:{{#ask:[[Category:States]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a {{{Country}}} State]]}} | ||
{{#ifeq:{{#ask:[[Category:Boroughs]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a Borough]]}} | {{#ifeq:{{#ask:[[Category:Boroughs]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a Borough]]}} | ||
{{#ifeq:{{#ask:[[Category:Cities]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a {{#if:{{{State|}}}|{{{State}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{Country}}}}} City]]}} | {{#ifeq:{{#ask:[[Category:Cities]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a {{#if:{{{State|}}}|{{{State}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{Country}}}}} City]]{{#if:{{{Borough|}}}|[[Category:First in a {{{Borough}}} City]]}}}} | ||
}} | }} | ||
{{#ifeq: {{{Has Supplemental Text|}}}|Yes|===<span class="sup_text">Supplemental Text</span>===}} | |||
</includeonly> | </includeonly> |
Latest revision as of 04:37, 17 July 2024
This is the "Club" template. It should be called in the following format:
{{Club |Name= |Club Name= |Date= |Type of Date= |Is Foundation Date= |Date Note= |Date of Dissolution= |Date of Dissolution Type= |Date of Dissolution Note= |Modern Address= |City= |Borough= |State= |Country= |Coordinates= |NABBP Status= |NABBP Note= |Nine Class= |Club Tags= |Description= |Sources= |Source Image= |Has Source On Hand= |Comment= |Query= |Reviewed= |Submitted by= |Submission Note= |Entered by= |First in Location= |First in Location Note= |Entry Origin= |Entry Origin Url= |Type= |Society= |Duplicate= |Has Supplemental Text= }}
Edit the page to see the template text.