Template:Club: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
({{#default_form:Club}})
 
(97 intermediate revisions by 2 users not shown)
Line 5: Line 5:
{{Club
{{Club
|Name=
|Name=
|Date of Foundation=
|Club Name=
|Date of Foundation Type=
|Date=
|Date of Foundation Note=
|Type of Date=
|Is Foundation Date=
|Date Note=
|Date of Dissolution=
|Date of Dissolution=
|Date of Dissolution Type=
|Date of Dissolution Type=
Line 13: Line 15:
|Modern Address=
|Modern Address=
|City=
|City=
|Borough=
|State=
|State=
|Country=
|Country=
|Coordinates=
|Coordinates=
|NABBP Status=
|NABBP Note=
|Nine Class=
|Club Tags=
|Club Tags=
|Description=
|Description=
|Source=
|Sources=
|Source Image=
|Has Source On Hand=
|Comment=
|Query=
|Reviewed=
|Reviewed=
|Submitted by=
|Submitted by=
|Submission Note=
|Entered by=
|First in Location=
|First in Location=
|First in Location Note=
|First in Location Note=
|Entry Origin=
|Entry Origin=
|Entry Origin Url=
|Entry Origin Url=
|Type=
|Society=
|Duplicate=
|Has Supplemental Text=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{GamesTab2SubNav|text=[[{{{Country}}}]]{{#if: {{{State|}}}|<nowiki> > </nowiki>[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]]}}{{#if: {{{City|}}}|<nowiki> > </nowiki>[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]]}} > Club }} {{#set:Country={{{Country|}}}|State={{{State|}}}|City={{{City|}}}|Name={{{Name|}}}|Coordinates={{{Coordinates|}}}|Reviewed={{{Reviewed|}}}}} {{Reviewed|{{{Reviewed|}}}|Club}}
</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"
{{#if: {{{Date of Foundation|}}} |  
|-
{{!}}-
! Nick Name
! Date of Foundation {{#set:Date of Foundation={{{Date of Foundation|}}}}} {{#set:Date of Foundation Type={{{Date of Foundation Type|}}}}}
| class=nowrap | [[Club Name::{{{Club Name|}}}]]
{{!}} {{Typed Date|{{{Date of Foundation|}}}|{{{Date of Foundation Type|}}}}} [[Date of Foundation Note::{{{Date of Foundation Note|}}}]] }}
|- {{#if: {{{Date|}}} || class="hidden" }}
{{#if: {{{Date of Dissolution|}}} |  
! Earliest Known Date  {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}|Is Foundation Date={{{Is Foundation Date|}}}}}
{{!}}-
| class=nowrap | {{Typed Date|{{{Date|}}}|{{{Type of Date|}}}}} {{#ifeq:{{{Is Foundation Date|}}}|Yes|(Foundation Date)}}{{#if:{{{Date Note|}}}|--}} [[Date Note::{{{Date Note|}}}]]
! Date of Dissolution  {{#set:Date of Dissolution={{{Date of Dissolution|}}}}} {{#set:Date of Dissolution Type={{{Date of Dissolution Type|}}}}}
|- {{#if: {{{Date of Dissolution|}}} || class="hidden" }}
{{!}} {{Typed Date|{{{Date of Dissolution|}}}|{{{Date of Dissolution Type|}}}}} [[Date of Dissolution Note::{{{Date of Dissolution Note|}}}]] }}
! Last Known Game {{#set:Date of Dissolution={{{Date of Dissolution|}}}|Date of Dissolution Type={{{Date of Dissolution Type|}}}}}
{{#if: {{{Modern Address|}}} |  
| class=nowrap | {{Typed Date|{{{Date of Dissolution|}}}|{{{Date of Dissolution Type|}}}}} [[Date of Dissolution Note::{{{Date of Dissolution Note|}}}]]
{{!}}-
|-
! Location
| {{#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" }}
! Modern Address
! Modern Address
{{!}} [[Modern Address::{{{Modern Address|}}}]] }}
| [[Modern Address::{{{Modern Address|}}}]]
{{#if: {{{Tags|}}} |  
|- {{#if: {{{NABBP Status|}}} || class="hidden" }}
{{!}}-
! NABBP Status
| [[NABBP Status::{{{NABBP Status|}}}]] [[NABBP Note::{{{NABBP Note|}}}]]
|- {{#if: {{{Nine Class|}}} || class="hidden" }}
! Nine Class
| {{#arraymap:{{{Nine Class|}}}|,|x|[[Nine Class::x]]}}
|- {{#if: {{{Tags|}}} || class="hidden" }}
! Tags
! Tags
{{!}} {{#arraymap:{{{Club Tags|}}}|,|x|[[Club Tags::x]]}} }}
| {{#arraymap:{{{Club Tags|}}}|,|x|[[Club Tags::x]]}}
{{#if: {{{Description|}}} |  
|-  {{#if: {{{Description|}}} || class="hidden" }}
{{!}}-
! Description
! Description
{{!}}[[Description::{{{Description|}}}]]}} {{#if: {{{Sources|}}} |
| [[Description::{{{Description|}}}]]
{{!}}-
|- {{#if: {{{Sources|}}} || class="hidden" }}
! Sources
! Sources
{{!}} [[Sources::{{{Sources|}}}]] }} {{#if: {{{Submitted by|}}} |
| [[Sources::{{{Sources|}}}]]
{{!}}-  
|- {{#if: {{{Source Image|}}} || class=hidden }}
! Submitted by
! Source Image
{{!}} [[Submitted by::{{{Submitted by|}}}]] }} {{#if: {{{First in Location|}}} |
| [[Image:{{{Source Image|}}}|left|thumb]]
{{!}}-
|- {{#ifeq: {{{Has Source On Hand|}}}|Yes||class=hidden}}
! 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" }}
! 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|}}}}}}}
|- {{#if: {{{First in Location|}}} || class="hidden" }}
! First in Location
! First in Location
{{!}} [[First in Location::{{{First in Location|}}}]] }} {{#if: {{{First in Location Note|}}} |
| [[First in Location::{{{First in Location|}}}]]
{{!}}-
|- {{#if: {{{First in Location Note|}}} || class="hidden" }}
! First in Location Note
! First in Location Note
{{!}} [[First in Location Note::{{{First in Location Note|}}}]] }} {{#if: {{{Entry Origin|}}} |
| [[First in Location Note::{{{First in Location Note|}}}]]  
{{!}}-
|- {{#if: {{{Entry Origin|}}} || class="hidden" }}
! Entry Origin
! Entry Origin
{{!}} [[Entry Origin::{{{Entry Origin|}}}]] }} {{#if: {{{Entry Origin Url|}}} |
| [[Entry Origin::{{{Entry Origin|}}}]]
{{!}}-
|- {{#if: {{{Entry Origin Url|}}} || class="hidden" }}
! Entry Origin Url
! Entry Origin Url
{{!}} [[Entry Origin::{{{Entry Origin Url|}}}]] }}
| [[Entry Origin::{{{Entry Origin Url|}}}]]
|}
|- {{#if: {{{Society|}}}||class=hidden}}
__NOTOC__
! Local-Origin Study Groups
| {{#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__
{{#ifexist: Template:{{PAGENAME}} Win Loss Record |== Win/Loss Records As Far As We Now Know ==
'''Warning''': Users should not rely on a team's won-loss record as a reflection of its "standing" among all base ball clubs.  Team schedules were not balanced, and a good record against mostly weak opponents does not signify a leading club.
{{{{PAGENAME}} Win Loss Record}}}}
== Ballgames ==
{{Ballgame Query|[[Category:Ballgames]]<q>[[Home Team::{{PAGENAME}}]] OR [[Away Team::{{PAGENAME}}]]</q>|default=No games have been posted for this Club yet.}}
<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[Field]={{{Field|}}}|Ballgame[City]={{{City|}}}|Ballgame[State]={{{State|}}}|Ballgame[Country]={{{Country|}}}|Ballgame[Home Team]={{PAGENAME}}}}</span>
== 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.}}
<span class="noprint">{{#formlink:form=Player-club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;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 | template=Club Field Link | userparam=Field[City]={{{City|}}}&Field[State]={{{State|}}}&Field[Country]={{{Country|}}} | limit=1000| sep=<br />}}
<span class="noprint new">{{#formlink:form=Club-field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;Field|Club-field[Club]={{PAGENAME}}|popup}}</span>
 
{{#formlink:form=Club-field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Field|Club-field[Club]={{PAGENAME}}|popup}}
 
== Players ==
 
{{#ask: [[Category:Player-clubs]][[Club::{{PAGENAME}}]] | ? Player | ? Years | ? Was Founder | ? Was Initial Officer | ? Was Later Officer | ? Was Key Player | link=none | format=template | template=Club Player Link | limit=1000| sep=<br />}}
 
{{#formlink:form=Player-club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Player|Player-club[Club]={{PAGENAME}}|popup}}
 
== Win/Loss Records ==
 
{{#ask: [[Category:Club-years]][[Club::{{PAGENAME}}]] | ? Club | ? Year# | ? Wins | ? Losses | link=none | format=template | template=Club Year Link | limit=1000| sep=<br />}}
 
{{#formlink:form=Club-year|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Record|Club-year[Club]={{PAGENAME}}|popup}}
 
== Ballgames ==
 
{{#ask: [[Category:Ballgames]]<q>[[Home Team::{{PAGENAME}}]] OR [[Away Team::{{PAGENAME}}]]</q> | Sort=Date of Game | limit=1000 | sep=<br /> }}
 
{{#formlink:form=Ballgame|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;Ballgame|Ballgame[Modern Address]={{{Modern Address|}}}}|Ballgame[Field]={{{Field|}}}}|Ballgame[City]={{{City|}}}|Ballgame[State]={{{State|}}}|Ballgame[Country]={{{Country|}}}|Ballgame[Home Team]={{PAGENAME}}|popup}}


{{Related Essays}}
{{Related Essays}}
{{Discussion}}
{{Discussion}}


[[Category:Clubs]]
[[Category:Clubs]][[Category:Pre-pro]]
{{#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: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: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 18:57, 5 June 2020

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.