Template:Shop-info: Difference between revisions

From Bike Collectives Wiki
No edit summary
No edit summary
 
(48 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     = Founded
| label2 = Email
| data2     = {{{founded|unknown}}}
| data2   = {{#if:{{{email|}}}|[mailto:{{{email}}} {{{email}}}]}}


| label3    = Dissolved
| label21 = Phone
| data3      = {{{dissolved|}}}
| data21 = {{#if:{{{phone|}}}|{{{phone}}}}}


| label4    = Location
| label22  = Other Contact Info
| data4      = [[wikipedia:{{{town|}}}, {{#if:{{{state|{{{province|}}}}}}| {{{state|{{{province|}}}}}},}} {{{country|}}}|{{{town|}}}, {{#if:{{{state|{{{province|}}}}}}| {{{state|{{{province|}}}}}},}} {{{country|}}}]]
| data22  = {{#if:{{{other_contact|}}}|{{{other_contact}}}}}


| label5     = Language
| label3     = Founded
| data5     = {{Unbulleted list|{{#if:{{{language1|}}}|[[wikipedia:{{{language1|}}} language|{{{language1|}}}]]}}|{{#if:{{{language2|}}}|[[wikipedia:{{{language2|}}} language|{{{language2|}}}]]}}|{{#if:{{{language3|}}}|[[wikipedia:{{{language3|}}} language|{{{language3|}}}]]}}}}
| data3     = {{#if:{{{year_founded|}}}|[[:Category:{{{year_founded|}}} Founded Community Bicycle Organizations|{{{year_founded|}}}]]|unknown}}


| label6     = Services Offered
| label4     = Dissolved
| data6     = {{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]]}}}}
| data4     = {{{year_dissolved|}}}


| label7    = Mission Statement
| label5    = Location
| data7     = {{{mission_statement|}}}
| 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>
{{#cargo_store:_table=shop_info}}
{{#if:{{{year_dissolved|}}}|{{Defunct Organization}}}}
{{#if:{{{year_founded|}}}|[[Category:{{{year_founded|}}} Founded 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|{{{country|}}}}} Community Bicycle Organizations]]}}
{{#if:{{{language1|}}}|[[Category:{{{language1|}}} Speaking Community Bicycle Organizations]]}}
{{#if:{{{language2|}}}|[[Category:{{{language2|}}} 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-pay-shop|}}}|yes|[[Category:Pay Repair Service Community Bicycle Organizations]]}}
{{#ifeq:{{{has-mobile-repair|}}}|yes|[[Category:Mobile Repair Service Community Bicycle Organizations]]}}
{{#ifeq:{{{has-bike-sharing|}}}|yes|[[Category:Bike Sharing Service Community Bicycle Organizations]]}}
{{#ifeq:{{{has-earn-a-bike|}}}|yes|[[Category:Earn-A-Bike Service Community Bicycle Organizations]]}}
{{#ifeq:{{{has-bike-valet|}}}|yes|[[Category:Bicycle Valet Service Community Bicycle Organizations]]}}
{{#ifeq:{{{has-workshops|}}}|yes|[[Category:Workshop Community Bicycle Organizations]]}}
{{#ifeq:{{{has-courses|}}}|yes|[[Category:Bicycle Course Community Bicycle Organizations]]}}
{{#ifeq:{{{has-group-rides|}}}|yes|[[Category:Group Ride Community Bicycle Organizations]]}}
{{#ifeq:{{{has-bicycle-advocacy|}}}|yes|[[Category:Bicycle Advocacy Community Bicycle Organizations]]}}
{{#ifeq:{{{has-pedicab|}}}|yes|[[Category:Pedicab Services Community Bicycle Organizations]]}}
{{#ifeq:{{{has-in-school-programs|}}}|yes|[[Category:In-School Programs 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-women-trans-hours|}}}|yes|[[Category:Women and Trans Program Community Bicycle Organizations]]}}


{{#if:{{{dissolved|}}}|{{Defunct Organization}}}}
{{#if:{{{country|}}}|[[Category:{{{country|}}} Community Bicycle Organizations]]}}
{{#if:{{{state|{{{province|}}}}}}|[[Category:{{{state|{{{province|}}}}}} ({{{country|}}}) Community Bicycle Organizations]] [[Category:{{{town}}}, {{{state|{{{province|}}}}}} ({{{country|}}}) Community Bicycle Organizations]]||#if{{{town|}}}|[[Category:{{{town|}}}, {{{country|}}} Community Bicycle Organizations]]}}
{{#if:{{{founded|}}}|{{{founded|}}} Founded Community Bicycle Organizations}}
{{#if:{{{language1|}}}|{{{language1|}}} Speaking Community Bicycle Organizations}}
{{#if:{{{language2|}}}|{{{language2|}}} Speaking Community Bicycle Organizations}}
{{#if:{{{language3|}}}|{{{language3|}}} Speaking Community Bicycle Organizations}}
[[Category:Community Bicycle Organizations]]
[[Category:Community Bicycle Organizations]]
</includeonly>


<noinclude>
<noinclude>
{{documentation}}
This is the "Shop-info" template.
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
{{#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.

[edit] [purge] Template documentation

Fill in information about this community bike shop.

Template parameters

ParameterDescriptionTypeStatus
Namename

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.

Unknownoptional
Logologo

The file name of the logo, eg. TheHub.png. You'll also have the option to upload this after saving the page

Fileoptional
Websitewebsite

Simply a link to a site where more information can be found. Include http://, eg. http://www.thehub.com

Example
http://www.thehub.com
URLoptional
Emailemail

Just a "contact" email address, e.g. info@yourshop.com.

Example
info@yourshop.com
Unknownoptional
Phonephone

Shop Phone Number

Stringoptional
Other Contact Infoother_contact

Website contact form, social media links, etc.

Unknownoptional
Year Foundedyear_founded

Simply the year that the organization first came together.

Unknownoptional
Year Dissolvedyear_dissolved

If the organization is no longer in operation, then the year it was last in operation, otherwise leave this blank.

Unknownoptional
Towntown

The city, town, municipality, community, village, shire or whatever.

Unknownoptional
Statestate

If in a country which is divided into states, then the full state name, otherwise blank.

Example
California
Unknownoptional
Provinceprovince

If in a country which is divided into provinces, the the full province name or abbreviation, otherwise blank.

Unknownoptional
Countrycountry

The full country name.

Unknownoptional
Campuscampus

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.

Unknownoptional
language1language1

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.

Example
English
Unknownoptional
language2language2

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.

Example
Spanish
Unknownoptional
language3language3

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.

Example
French
Unknownoptional
Has DIY shop? (yes/no)has-diy-shop

Does this organization have a shop where people can work on their own bikes?

Example
yes
Unknownoptional
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)

Example
no
Unknownoptional
Has mobile repair? (yes/no)has-mobile-repair

no description

Example
no
Unknownoptional
Has bike sharing? (yes/no)has-bike-sharing

Does this organization run or support a bike sharing program?

Example
no
Unknownoptional
Has earn-a-bike? (yes/no)has-earn-a-bike

Can people "earn" a bike from this organization by volunteering?

Example
no
Unknownoptional
Has bike valet? (yes/no)has-bike-valet

Does this organization provide valet parking for cyclists at events?

Example
no
Unknownoptional
Has workshops? (yes/no)has-workshops

Does this organization host intensive courses, seminars, or other educational workshops?

Example
no
Unknownoptional
Has courses? (yes/no)has-courses

Does this organization host a long or ongoing series of classes?

Example
no
Unknownoptional
Has group rides? (yes/no)has-group-rides

no description

Example
no
Unknownoptional
Has bicycle advocacy? (yes/no)has-bicycle-advocacy

Is this organization invovled in political or public campaigns to defend and promote cycling?

Example
no
Unknownoptional
Has pedicab?has-pedicab

Does this organization run a pedicab service?

Example
no
Unknownoptional
Has in-school programs? (yes/no)has-in-school-programs

no description

Example
no
Unknownoptional
Has youth summer camp? (yes/no)has-youth-summercamp

no description

Example
no
Unknownoptional
Has youth racing? (yes/no)has-youth-racing

Does this organization host or support a youth racing team?

Example
no
Unknownoptional
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?

Example
no
Unknownoptional
Has free repair? (yes/no)has-free-repair

Does this organization offer any repair services at no charge?

Example
no
Unknownoptional
Has bike giveaway? (yes/no)has-bike-giveaway

no description

Example
no
Unknownoptional
Mission Statementmission-statement

no description

Example
Our mission is to....
Unknownoptional