Template:LocalWiki
[[LocalWiki:{{{community}}}/{{{id}}}|LocalWiki]] on LocalWiki
The template name is "{{LocalWiki}}". It is used to link articles to a particular LocalWiki article, by the article's URL and title.
Usage
[edit]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)
Belize (belize)
Berkeley, California (berkeley)
Bloomington–Normal, Illinois (bloomington-normal)
Boise, Idaho (boise)
Boston (boston)
Branson, Missouri (branson)
Briarcliff Manor, New York (briarcliff)
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)
Chennai (chennai)
Chicago (chicago)
Chico, California (chico)
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)
Fort Lauderdale, Florida (ftl)
Fredericksburg, Virginia (fredericksburg)
Fremont, California (fremont)
Gainesville, Florida (gainesville)
Grand Rapids, Michigan (gr)
Greater New Bedford, Massachusetts (grnb)
Greenpoint, New York (greenpoint)
Guelph, Ontario (guelph)
Haiti (haiti)
Hampton Roads, Virginia (hrva)
Hartford, Connecticut (hartford)
Hawaiʻi Island (hawaii)
Hayward, California (hayward)
Hines, Oregon (hines)
Historic Rock Island, Quebec (rock-island)
Historic Saranac Lake, New York (hsl)
Holt Park (holtpark)
Honolulu (honolulu)
Houston (houston)
Hudson Valley, New York (hudsonvalley)
Humboldt County, California (humboldt)
Hyderabad (hyd)
Imperial Beach, California (ib)
Institut Henri Poincaré in Paris (ihp)
Iowa City, Iowa (ic)
Irvine, California (irvine)
Ithaca, New York (ithaca)
Jakarta (jkt)
Junta Piola (juntapiola)
Kaʻū, Hawaiʻi (kau)
King's Lynn (kings-lynn)
Kirovohrad (kirov)
Kitchener, Ontario (kitchener)
Lille (lille)
Lima (lima)
Lincoln, Nebraska (lincoln)
Liverpool (liverpool)
Lompoc, California (lompoc)
Los Angeles Metro (la)
Madison, Wisconsin (madisonwi)
Madrid (madrid)
Marquette County, Michigan (marquettemi)
matt jia (xiuchundao)
Merced, California (merced)
Mérida (merida)
Miami (miami)
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)
Ojai, California (ojai)
Olympia, Washington (oly)
Orland, California (or)
Ormond Beach, Florida (ormond-beach)
Orting, Washington (orting)
Palangkaraya (pky)
Paris and Île-de-France (paris)
Pawtucket, Rhode Island (pawtucket)
Pázmánd (pazmand)
Peterborough, Ontario (ptbo)
Philomath, Oregon (philomath)
Pittsburgh (pgh)
Portland, Oregon (pdx)
Prince Edward Island (pei)
Providence, Rhode Island (providence)
Provo, Utah (provo)
Raleigh, North Carolina (raleigh)
Ras al-Khaimah (rak)
Redding, California (redding)
Redlands, California (redlands)
Reno–Sparks, Nevada (reno-sparks)
Rhode Island (ri)
Richmond, California (richmond-ca)
Richmond, Virginia (richmond-va)
Rugby, Warwickshire (rugby)
Sacramento, California (sac)
St. Louis (st-louis)
San Antonio (sanantonio)
San Francisco (sf)
San Jose, California (san-jose)
Santa Clara, California (santa-clara)
Santa Cruz, California (santacruz)
Sapporo (sp)
Sarasota, Florida (sarasota)
Seattle (seattle)
Sendagaya (sendagaya)
Sonoma Valley, California (sonoma-valley)
Southampton (southampton)
South Shore, Nova Scotia (southshore)
Spokane, Washington (spokane)
Stockholm (stockholm)
Summit County, Ohio (summit-county)
Sydney (sydney)
Syracuse, New York (syracuse)
Táchira (tachira)
Tacoma, Washington (tacoma)
Taichung (taichung)
Taichung Literary Landscape (taichung-literary-landscape)
Taiwan (taiwan)
Tallahassee, Florida (tallahassee)
Tanabe (tb)
Tasmania (tasmania)
Temecula, California (temecula)
Tewkesbury (ty)
Tiburon Peninsula, Belvedere and Angel Island, California (tiburon)
Toledo, Ohio (toledo)
Toronto (toronto)
Toulouse (toulouse) (in French)
Toulouse (toulouseen) (in English)
Tucson, Arizona (tucson)
Tulsa, Oklahoma (tulsa)
Tustin, California (tustin)
Utkälen (utkalen)
Vacaville, California (vacaville)
Vallejo, California (vallejo)
Vancouver (vancouver)
Walnut Creek, California (walnut-creek)
Wellington (wgtn)
West Branch, Michigan (westbranch)
West Sacramento, California (westsac)
Weyburn, Saskatchewan (weyburn)
Willard Neighborhood, Berkeley, California (willard)
Windsor, Ontario (windsor)
Winters, California (winters)
Woodland, California (woodland)
Wushe (wushe)
Yuba–Sutter, California (yuba-sutter)
Zuidplas (zplnl)
Two parameters
[edit]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
[edit]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
[edit]- {{Ballotpedia}}
- {{Meatball}}
- {{WikiHow}}