Template:LocalWiki/doc
| This is a documentation subpage for Template:LocalWiki. It contains usage information, categories and other content that is not part of the original template page. |
The template name is "{{LocalWiki}}". It is used to link articles to a particular LocalWiki article, by the article's URL and title.
Usage
Use this template to link Wikipedia articles to their LocalWiki counterparts, especially if the LocalWiki articles contain more information (including information of local interest more appropriate to LocalWiki than Wikipedia).
This template is designed to support links to all of LocalWiki's communities, which are listed below with their IDs in italics:
Abingdon, Virginia (abingdon)
Adelaide Hills, South Australia (adelaide-hills)
Akron, Ohio (akron)
Alamance County, North Carolina (alamance)
Alameda, California (alameda)
Ann Arbor, Michigan (ann-arbor)
Arlington Heights, Illinois (arlington-heights)
Arlington, Massachusetts (arlingtonma)
Arlington, Virginia (arlva)
Aroostook County, Maine (aroostook)
Athens, Georgia (athens)
Atlanta (atl)
Auckland (akl)
Austin, Texas (atx)
Bald Peak, Oregon and its environs (baldpeak)
Ballarat, Victoria (ballarat)
Barcelona (bcn)
Baton Rouge, Louisiana (baton-rouge)- File:Flag of Belize.svg Belize (belize)
Berkeley, California (berkeley)
Bloomington–Normal, Illinois (bloomington-normal)
Boise, Idaho (boise)
Boston (boston)
Branson, Missouri (branson)
Briarcliff Manor, New York (briarcliff)- File:Flag of Argentina.svg Buenos Aires (buenosaires)
Buffalo, New York (buffalo)
Burns, Oregon (burns)
Caguas, Puerto Rico (caguas)
Camarillo, California (camarillo)
Cañon City, Colorado (canoncity)
Canton, Michigan (canton)
Cape Town (capetown)
Cary, North Carolina (cary)
Champaign–Urbana, Illinois (cu)
Chappaqua, New York (chappaqua)
Charlotte, North Carolina (charlotte)
Chattanooga, Tennessee (cha)- File:Flag of India.svg Chennai (chennai)
- File:Flag of the United States.svg Chicago (chicago)
- File:Flag of the United States.svg Chico, California (chico)
- File:Flag of the United States.svg Clarksville, Tennessee (clarksville)
Clearview Township, Ontario (clearview)
Cleveland (cleveland)
Columbia, South Carolina (columbia)
Concord, California (concord)
Conway, Arkansas (conway)
Copenhagen (cph)
Corvallis, Oregon (corvallis)
Country Club (cc)
Dayton, Ohio (dayton)
Denton, Texas (denton)
Denver (denver)
Des Moines, Iowa (dsm)
Detroit (detroit)
Dixon, California (dixon)
Downtown Phoenix, Arizona (dtphx)
Duisburg (du)
Dún Laoghaire (dl)
Durham, North Carolina (durham)
Elk Grove, California (elk-grove)
Eugene, Oregon (eugene)
Eureka, California (eureka)
Fayetteville, Arkansas (fayetteville)
Finger Lakes, New York (fingerlakes)
Florianópolis (fpolis)- File:Flag of the United States.svg Fort Lauderdale, Florida (ftl)
- File:Flag of the United States.svg Fredericksburg, Virginia (fredericksburg)
- File:Flag of the United States.svg Fremont, California (fremont)
- File:Flag of the United States.svg Gainesville, Florida (gainesville)
- File:Flag of the United States.svg Grand Rapids, Michigan (gr)
- File:Flag of the United States.svg Greater New Bedford, Massachusetts (grnb)
- File:Flag of the United States.svg Greenpoint, New York (greenpoint)
- File:Flag of Canada (Pantone).svg Guelph, Ontario (guelph)
Haiti (haiti)
Hampton Roads, Virginia (hrva)- File:Flag of the United States.svg Hartford, Connecticut (hartford)
- File:Flag of the United States.svg Hawaiʻi Island (hawaii)
- File:Flag of the United States.svg Hayward, California (hayward)
- File:Flag of the United States.svg Hines, Oregon (hines)
Historic Rock Island, Quebec (rock-island)
Historic Saranac Lake, New York (hsl)
Holt Park (holtpark)- File:Flag of the United States.svg Honolulu (honolulu)
- File:Flag of the United States.svg Houston (houston)
- File:Flag of the United States.svg Hudson Valley, New York (hudsonvalley)
- File:Flag of the United States.svg Humboldt County, California (humboldt)
- File:Flag of India.svg Hyderabad (hyd)
Imperial Beach, California (ib)
Institut Henri Poincaré in Paris (ihp)- File:Flag of the United States.svg Iowa City, Iowa (ic)
- File:Flag of the United States.svg Irvine, California (irvine)
- File:Flag of the United States.svg Ithaca, New York (ithaca)
- File:Flag of Indonesia.svg Jakarta (jkt)
Junta Piola (juntapiola)
Kaʻū, Hawaiʻi (kau)
King's Lynn (kings-lynn)- 23x15px Kirovohrad (kirov)
Kitchener, Ontario (kitchener)
Lille (lille)
Lima (lima)
Lincoln, Nebraska (lincoln)
Liverpool (liverpool)- File:Flag of the United States.svg Lompoc, California (lompoc)
- File:Flag of the United States.svg Los Angeles Metro (la)
- File:Flag of the United States.svg Madison, Wisconsin (madisonwi)
Madrid (madrid)- File:Flag of the United States.svg Marquette County, Michigan (marquettemi)
- 23x15px matt jia (xiuchundao)
- File:Flag of the United States.svg Merced, California (merced)
- File:Flag of Venezuela.svg Mérida (merida)
Miami (miami)- File:Flag of Canada (Pantone).svg Mississauga, Ontario (mississauga)
Monmouth (monmouth)
Montréal (mtl)
Nevada County, California (nevada-county)
New Ulm, Minnesota (newulm)
New York City (nyc)
Norwalk, Connecticut (norwalk)
Ōita (oita)- 23x15px Ojai, California (ojai)
- 23x15px Olympia, Washington (oly)
- 23x15px Orland, California (or)
- 23x15px Ormond Beach, Florida (ormond-beach)
- 23x15px Orting, Washington (orting)
Palangkaraya (pky)- File:Flag of France.svg Paris and Île-de-France (paris)
- 23x15px Pawtucket, Rhode Island (pawtucket)
Pázmánd (pazmand)
Peterborough, Ontario (ptbo)- 23x15px Philomath, Oregon (philomath)
- 23x15px Pittsburgh (pgh)
- 23x15px Portland, Oregon (pdx)
Prince Edward Island (pei)- 23x15px Providence, Rhode Island (providence)
- 23x15px Provo, Utah (provo)
- 23x15px Raleigh, North Carolina (raleigh)
- 23x15px Ras al-Khaimah (rak)
- 23x15px Redding, California (redding)
- 23x15px Redlands, California (redlands)
- 23x15px Reno–Sparks, Nevada (reno-sparks)
- 23x15px Rhode Island (ri)
- 23x15px Richmond, California (richmond-ca)
- 23x15px Richmond, Virginia (richmond-va)
Rugby, Warwickshire (rugby)- 23x15px Sacramento, California (sac)
- 23x15px St. Louis (st-louis)
- 23x15px San Antonio (sanantonio)
- 23x15px San Francisco (sf)
- 23x15px San Jose, California (san-jose)
- 23x15px Santa Clara, California (santa-clara)
- 23x15px Santa Cruz, California (santacruz)
- File:Flag of Japan.svg Sapporo (sp)
- 23x15px Sarasota, Florida (sarasota)
- 23x15px Seattle (seattle)
- File:Flag of Japan.svg Sendagaya (sendagaya)
- 23x15px Sonoma Valley, California (sonoma-valley)
- File:Flag of the United Kingdom (3-5).svg Southampton (southampton)
South Shore, Nova Scotia (southshore)- 23x15px Spokane, Washington (spokane)
- 23x15px Stockholm (stockholm)
- 23x15px Summit County, Ohio (summit-county)
- File:Flag of Australia (converted).svg Sydney (sydney)
- 23x15px Syracuse, New York (syracuse)
- File:Flag of Venezuela.svg Táchira (tachira)
- 23x15px Tacoma, Washington (tacoma)
- File:Flag of the Republic of China.svg Taichung (taichung)
- File:Flag of the Republic of China.svg Taichung Literary Landscape (taichung-literary-landscape)
- File:Flag of the Republic of China.svg Taiwan (taiwan)
- 23x15px Tallahassee, Florida (tallahassee)
Tanabe (tb)
Tasmania (tasmania)- 23x15px Temecula, California (temecula)
- File:Flag of the United Kingdom (3-5).svg Tewkesbury (ty)
- 23x15px Tiburon Peninsula, Belvedere and Angel Island, California (tiburon)
- 23x15px Toledo, Ohio (toledo)
Toronto (toronto)- File:Flag of France.svg Toulouse (toulouse) (in French)
- File:Flag of France.svg Toulouse (toulouseen) (in English)
- 23x15px Tucson, Arizona (tucson)
- 23x15px Tulsa, Oklahoma (tulsa)
- 23x15px Tustin, California (tustin)
- 23x15px Utkälen (utkalen)
- 23x15px Vacaville, California (vacaville)
- 23x15px Vallejo, California (vallejo)
- File:Flag of Canada (Pantone).svg Vancouver (vancouver)
- 23x15px Walnut Creek, California (walnut-creek)
- File:Flag of New Zealand.svg Wellington (wgtn)
- 23x15px West Branch, Michigan (westbranch)
- 23x15px West Sacramento, California (westsac)
- File:Flag of Canada (Pantone).svg Weyburn, Saskatchewan (weyburn)
- 23x15px Willard Neighborhood, Berkeley, California (willard)
- File:Flag of Canada (Pantone).svg Windsor, Ontario (windsor)
- 23x15px Winters, California (winters)
- 23x15px Woodland, California (woodland)
- File:Flag of the Republic of China.svg Wushe (wushe)
- 23x15px Yuba–Sutter, California (yuba-sutter)
- File:Flag of the Netherlands.svg Zuidplas (zplnl)
Two parameters
At minimum, two parameters must be used in the template, the first indicating the name of desired community on LocalWiki (for instance, "ann-arbor") and the second the name of the article itself (for instance, "Labadie Collection"). Together, these parameters will form the page's URL, while the text of the link will be the same as the name of the Wikipedia page used on. Note that underscores must be used in place of spaces for the template to work. Example:
{{LocalWiki|ann-arbor|Labadie_Collection}} produces
The template links to https://localwiki.org/ann-arbor/Labadie_Collection, while the link itself displays the current page name.
Three parameters
If three parameters are used in the template, the first two parameters will form the page's URL (as previously described), while the third will be the title of the link. This is useful for rendering link text that differs from the name of the Wikipedia article. Example:
{{LocalWiki|adelaide-hills|Peramangk_Aboriginal_People|Peramangk Aboriginal People}} produces
The template links to https://localwiki.org/adelaide-hills/Peramangk_Aboriginal_People, while the link itself displays "Peramangk Aboriginal People" (without underscores).
See also
- {{Ballotpedia}}
- {{Meatball}}
- {{WikiHow}}
- {{Wikispace}}