Template:Shop-info: Difference between revisions
No edit summary |
No edit summary |
||
(38 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | | title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | ||
| imageclass = logo | | imageclass = logo | ||
| image = {{#if:{{{logo|}}}|[[File:{{{logo|}}}|220px]]}} | | image = {{#if:{{{logo|}}}|[[File:{{{logo|}}}|220px]]|{{#ifexist:File:{{PAGENAMEE}}-logo.png|[[File:{{PAGENAMEE}}-logo.png|220px]]|{{#ifexist:File:{{PAGENAMEE}}-logo.jpg|[[File:{{PAGENAMEE}}-logo.jpg|220px]]|[[File:nologo.png|link={{fullurl:Special:Upload|wpDestFile={{PAGENAMEE}}-logo.jpg}}]]}}}}}} | ||
| label1 = [[Website]] | | label1 = [[Website]] | ||
| data1 = {{{website|none}}} | | data1 = {{{website|none}}} | ||
| label2 | | label2 = Email | ||
| data2 | | data2 = {{#if:{{{email|}}}|[mailto:{{{email}}} {{{email}}}]}} | ||
| | | label21 = Phone | ||
| | | data21 = {{#if:{{{phone|}}}|{{{phone}}}}} | ||
| | | label22 = Other Contact Info | ||
| | | data22 = {{#if:{{{other_contact|}}}|{{{other_contact}}}}} | ||
| | | label3 = Founded | ||
| | | data3 = {{#if:{{{year_founded|}}}|[[:Category:{{{year_founded|}}} Founded Community Bicycle Organizations|{{{year_founded|}}}]]|unknown}} | ||
| | | label4 = Dissolved | ||
| | | data4 = {{{year_dissolved|}}} | ||
| label7 = Mission Statement | | label5 = Location | ||
| | | data5 = [[wikipedia:{{{town|}}}, {{#if:{{{state|{{{province|}}}}}}| {{state-province-longform|{{{state|{{{province|}}}}}}}}| {{country|{{{country|}}}}}}}|{{{town|}}}, {{#if:{{{state|{{{province|}}}}}}| {{state-province-longform|{{{state|{{{province|}}}}}}}},}} {{{country|}}}]] | ||
| label6 = Campus | |||
| data6 = {{#if:{{{campus|}}}|[[wikipedia:{{{campus|}}}|{{{campus|}}}]]}} | |||
| label7 = Language | |||
| data7 = {{Unbulleted list|{{#if:{{{language1|}}}|[[wikipedia:{{{language1|}}} language|{{{language1|}}}]]}}|{{#if:{{{language2|}}}|[[wikipedia:{{{language2|}}} language|{{{language2|}}}]]}}|{{#if:{{{language3|}}}|[[wikipedia:{{{language3|}}} language|{{{language3|}}}]]}}}} | |||
| label8 = Services Offered | |||
| data8 = {{Unbulleted list|{{#ifeq:{{{has-diy-shop|}}}|yes|[[DIY Repair Services]]}}|{{#ifeq:{{{has-pay-shop|}}}|yes|[[Pay Repair Services]]}}|{{#ifeq:{{{has-mobile-repair|}}}|yes|[[Mobile Repair Services]]}}|{{#ifeq:{{{has-bike-sharing|}}}|yes|[[Bike Sharing Services]]}}|{{#ifeq:{{{has-earn-a-bike|}}}|yes|[[Earn-A-Bike Services]]}}|{{#ifeq:{{{has-bike-valet|}}}|yes|[[Bicycle Valet Services]]}}|{{#ifeq:{{{has-workshops|}}}|yes|[[Workshops]]}}|{{#ifeq:{{{has-courses|}}}|yes|[[Bicycle Courses]]}}|{{#ifeq:{{{has-group-rides|}}}|yes|[[Group Rides]]}}|{{#ifeq:{{{has-bicycle-advocacy|}}}|yes|[[Bicycle Advocacy]]}}|{{#ifeq:{{{has-pedicab|}}}|yes|[[Pedicab Services]]}}|{{#ifeq:{{{has-in-school-programs|}}}|yes|[[In-School Programs]]}}|{{#ifeq:{{{has-youth-summercamp|}}}|yes|[[Youth Summer Camp]]}}|{{#ifeq:{{{has-youth-racing|}}}|yes|[[Youth Racing Team]]}}|{{#ifeq:{{{has-women-trans-hours|}}}|yes|[[Women and Trans Programs]]}}|{{#ifeq:{{{has-free-repair|}}}|yes|[[Free Repair Services]]}}|{{#ifeq:{{{has-bike-giveaway|}}}|yes|[[Bike Giveaway]]}}}} | |||
| label9 = Mission Statement | |||
| data9 = {{{mission-statement|}}} | |||
}} | }} | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=shop_info}} | |||
{{#if:{{{year_dissolved|}}}|{{Defunct Organization}}}} | {{#if:{{{year_dissolved|}}}|{{Defunct Organization}}}} | ||
{{#if:{{{year_founded|}}}|[[Category:{{{year_founded|}}} Founded Community Bicycle Organizations]]}} | {{#if:{{{year_founded|}}}|[[Category:{{{year_founded|}}} Founded Community Bicycle Organizations]]}} | ||
{{#if:{{{country|}}}|[[Category:{{denonym|{{{country|}}}}} Community Bicycle Organizations]]}} | {{#if:{{{country|}}}|[[Category:{{denonym|{{country|{{{country|}}}}}}} Community Bicycle Organizations]]}} | ||
{{#if:{{{state|{{{province|}}}}}}|[[Category:{{state-province-longform|{{{state|{{{province|}}}}}}}} Community Bicycle Organizations]] [[Category:{{{town}}}, {{state-province-shortform|{{{state|{{{province|}}}}}}}} Community Bicycle Organizations]]||#if{{{town|}}}|[[Category:{{{town|}}}, {{{country|}}} Community Bicycle Organizations]]}} | {{#if:{{{state|{{{province|}}}}}}|[[Category:{{state-province-longform|{{{state|{{{province|}}}}}}}} Community Bicycle Organizations]] [[Category:{{{town}}}, {{state-province-shortform|{{{state|{{{province|}}}}}}}} Community Bicycle Organizations]]||#if{{{town|}}}|[[Category:{{{town|}}}, {{country|{{{country|}}}}} Community Bicycle Organizations]]}} | ||
{{#if:{{{language1|}}}|[[Category:{{{language1|}}} Speaking Community Bicycle Organizations]]}} | {{#if:{{{language1|}}}|[[Category:{{{language1|}}} Speaking Community Bicycle Organizations]]}} | ||
{{#if:{{{language2|}}}|[[Category:{{{language2|}}} Speaking Community Bicycle Organizations]]}} | {{#if:{{{language2|}}}|[[Category:{{{language2|}}} Speaking Community Bicycle Organizations]]}} | ||
{{#if:{{{language3|}}}|[[Category:{{{language3|}}} Speaking Community Bicycle Organizations]]}} | {{#if:{{{language3|}}}|[[Category:{{{language3|}}} Speaking Community Bicycle Organizations]]}} | ||
{{#if:{{{campus|}}}|[[Category:Campus based Community Bicycle Organizations]]}} | |||
{{#ifeq:{{{has-diy-shop|}}}|yes|[[Category:DIY Repair Service Community Bicycle Organizations]]}} | {{#ifeq:{{{has-diy-shop|}}}|yes|[[Category:DIY Repair Service Community Bicycle Organizations]]}} | ||
Line 53: | Line 68: | ||
{{#ifeq:{{{has-youth-summercamp|}}}|yes|[[Category:Youth Summer Camp Community Bicycle Organizations]]}} | {{#ifeq:{{{has-youth-summercamp|}}}|yes|[[Category:Youth Summer Camp Community Bicycle Organizations]]}} | ||
{{#ifeq:{{{has-youth-racing|}}}|yes|[[Category:Youth Racing Team Community Bicycle Organizations]]}} | {{#ifeq:{{{has-youth-racing|}}}|yes|[[Category:Youth Racing Team Community Bicycle Organizations]]}} | ||
{{#ifeq:{{{has-women-trans-hours|}}}|yes|[[Category:Women and Trans Program Community Bicycle Organizations]]}} | |||
[[Category:Community Bicycle Organizations]] | [[Category:Community Bicycle Organizations]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
This is the "Shop-info" template. | |||
=== | {{#cargo_declare:_table=shop_info | ||
|name=String | |||
|website=URL | |||
|email=Email | |||
|phone=String | |||
|other_contact=String | |||
|state=String | |||
|province=String | |||
|country=String | |||
|language1=String | |||
|language2=String | |||
|language3=String | |||
|year_dissolved=String}} | |||
{{Documentation}} | |||
</noinclude> | </noinclude> |
Latest revision as of 21:37, 18 May 2021
Website | none |
---|---|
Founded | unknown |
Location | , |
This is the "Shop-info" template.
This template defines the table "shop_info". View table.
Fill in information about this community bike shop.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Simply the full name of the shop. You can leave this blank if you like, and the name of the page will be used instead. | Unknown | optional |
Logo | logo | The file name of the logo, eg. TheHub.png. You'll also have the option to upload this after saving the page | File | optional |
Website | website | Simply a link to a site where more information can be found. Include http://, eg. http://www.thehub.com
| URL | optional |
email | Just a "contact" email address, e.g. info@yourshop.com.
| Unknown | optional | |
Phone | phone | Shop Phone Number | String | optional |
Other Contact Info | other_contact | Website contact form, social media links, etc. | Unknown | optional |
Year Founded | year_founded | Simply the year that the organization first came together. | Unknown | optional |
Year Dissolved | year_dissolved | If the organization is no longer in operation, then the year it was last in operation, otherwise leave this blank. | Unknown | optional |
Town | town | The city, town, municipality, community, village, shire or whatever. | Unknown | optional |
State | state | If in a country which is divided into states, then the full state name, otherwise blank.
| Unknown | optional |
Province | province | If in a country which is divided into provinces, the the full province name or abbreviation, otherwise blank. | Unknown | optional |
Country | country | The full country name. | Unknown | optional |
Campus | campus | If your organization is affiliated with a college or university then put the full name of the institution here, otherwise just leave it blank. This would be another good topic to write about in your article, mentioning what your affiliation is and how different parts of your university or students' union provide you with support. | Unknown | optional |
language1 | language1 | The first language that is fully supported by the organization. Most orgs will simply enter language1 = English or their other primary language. If your organization fully supports and second or third language, please put them in language2 and language3, otherwise leave these blank.
| Unknown | optional |
language2 | language2 | The second language that is fully supported by the organization. Most orgs will simply enter language1 = English or their other primary language. If your organization fully supports and second or third language, please put them in language2 and language3, otherwise leave these blank.
| Unknown | optional |
language3 | language3 | The third language that is fully supported by the organization. Most orgs will simply enter language1 = English or their other primary language. If your organization fully supports and second or third language, please put them in language2 and language3, otherwise leave these blank.
| Unknown | optional |
Has DIY shop? (yes/no) | has-diy-shop | Does this organization have a shop where people can work on their own bikes?
| Unknown | optional |
Has pay shop? (yes/no) | has-pay-shop | Can patrons bring their bikes to be repaired by mechanics for a fee? (like a traditional bike shop)
| Unknown | optional |
Has mobile repair? (yes/no) | has-mobile-repair | no description
| Unknown | optional |
Has bike sharing? (yes/no) | has-bike-sharing | Does this organization run or support a bike sharing program?
| Unknown | optional |
Has earn-a-bike? (yes/no) | has-earn-a-bike | Can people "earn" a bike from this organization by volunteering?
| Unknown | optional |
Has bike valet? (yes/no) | has-bike-valet | Does this organization provide valet parking for cyclists at events?
| Unknown | optional |
Has workshops? (yes/no) | has-workshops | Does this organization host intensive courses, seminars, or other educational workshops?
| Unknown | optional |
Has courses? (yes/no) | has-courses | Does this organization host a long or ongoing series of classes?
| Unknown | optional |
Has group rides? (yes/no) | has-group-rides | no description
| Unknown | optional |
Has bicycle advocacy? (yes/no) | has-bicycle-advocacy | Is this organization invovled in political or public campaigns to defend and promote cycling?
| Unknown | optional |
Has pedicab? | has-pedicab | Does this organization run a pedicab service?
| Unknown | optional |
Has in-school programs? (yes/no) | has-in-school-programs | no description
| Unknown | optional |
Has youth summer camp? (yes/no) | has-youth-summercamp | no description
| Unknown | optional |
Has youth racing? (yes/no) | has-youth-racing | Does this organization host or support a youth racing team?
| Unknown | optional |
Has Women & Trans hours? (yes/no) | has-women-trans-hours | Does this organization have hours primarily or exclusively for trans folks and/or women to use the shop?
| Unknown | optional |
Has free repair? (yes/no) | has-free-repair | Does this organization offer any repair services at no charge?
| Unknown | optional |
Has bike giveaway? (yes/no) | has-bike-giveaway | no description
| Unknown | optional |
Mission Statement | mission-statement | no description
| Unknown | optional |
The above documentation is transcluded from Template:Shop-info/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |