Help:Templates

From Cvillepedia
Jump to: navigation, search

cvillepedia has a few templates that are useful for formatting text and building infoboxes in this wiki. Other templates are used behind the scenes to organize the wiki and many are borrowed from Wikipedia. In this article, you will see code and examples for some of the popular templates.

Some templates have documentation.

Special text formatting

  • {{highlight|text}} template does what you would expect
  • {{tlp|template name}} lets you name and link a template with causing a mess
  • {{fact}} indicates a citation is needed and displays [citation needed]

General message boxes

Infoboxes

Infoboxes are vertical boxes appearing at the top right side of the article listing facts about the subject in table form. Often includes an image.

Company Infobox

Charlottesville Tomorrow
Ct-logo.png
Type 501(c)(3) Non Profit
Founded June 16, 2005
Founder Brian Wheeler
Headquarters Charlottesville, VA
No. of locations 1
Key people Brian Wheeler
(Executive Director)
Industry Information Services
Employees 2 full-time
Website cvilletomorrow.org
Example: Charlottesville Tomorrow

Copy and paste the following code into the top of a COMPANY article and fill in the parameters with known values to generate an infobox.

{{Infobox Company
| company_name =
| logo = [[Image:]]
| type =
| foundation =
| founder =
| location_city =
| locations =
| area_served =
| industry =
| key_people =
| industry =
| num_employees =
| homepage =
}}

Neighborhood Infobox

Langford Farms

Albemarle County
County Area Rural Area
District Samuel Miller
Size 107 acres
No. Lots About 45
Avg Lot Size 2.37 acres[1]
Housing SFD

Schools*
Elementary Murray
Middle Henley
High School Western

Other Attributes
Water Community Well
Sewer Septic
Bus Route No
Gated No

Neighborhood Features
Located near the Ivy Exit for I-64

HOA Langford Farms Homeowners Association
Contact Dan Frakes, (434) 971-7571

*Confirm attendance boundaries for individual homes with school divisions
Example: Langford Farms

Copy and paste the following code into the top of a NEIGHBORHOOD article and fill in the parameters with known values to generate an infobox.

{{Infobox Neighborhood
| name =
| map-image =
| caption =
| location =
| county_area =
| political_district =
| acres =
| lots =
| avg_lot =
| housing_type =
| year_start =
| year_end =
| elementary =
| middle =
| high =
| water =
| sewer =
| bus =
| gated =
| feature1 =
| feature2 =
| feature3 =
| recreation1 =
| recreation2 =
| recreation3 =
| nature1 =
| nature2 =
| nature3 =
| HOA =
| HOA_Contact =
| website =
}}

Development Infobox

Rivanna Village

Albemarle County
County Area Village of Rivanna
Location Glenmore Way
& Route 250 East
Type NMD - Mixed Use
Size 94.47 acres
Residential units Up to 521
Non-Residential Up to 125,000 sq.ft.
Development Firm KG Associates
Developer Contact Don Franco
Year Rezoned June 13, 2007
Application # ZMA200100008
Example: Rivanna Village

Copy and paste the following code into the top of a DEVELOPMENT article and fill in the parameters with known values to generate an infobox.

{{Infobox Development
| name =
| map-image =
| caption =
| location =
| county_area =
| location_road =
| development_type =
| acres =
| non_residential =
| units_residential =
| developer_company =
| developer_principal1 =
| year_rezoned =
| application =
| website =
}}

Infobox Officeholder

Use this for people who are in or have held a public office. Sally Thomas' page is an example of an article using this template.

See: {{infobox Officeholder}} for details.

Candidate Infobox

Example:

{{stub}}{{Infobox Candidate
| name =
| photo =
| caption =
| office1=
| district1 =
| party1 =
| election1 =
| term_start1 =
| term_end1 =
| preceded1 =
| succeeded1 =
| office2=
| district2 =
| term_start2 =
| term_end2 =
| preceded2 =
| succeeded2 =
| office3 =
| district3 =
| term_start3 =
| term_end3 =
| preceded3 =
| succeeded3 =
| birth_date =
| date_of_death =
| birth_place =
| place_of_death =
| spouse =
| children =
| residence =
| alma_mater =
| profession =
| religion =
| website =
| vpap =
| vpap_donations =
}}

See also

Templates on wikipedia

References

  1. GIS-Web. 4 May 2009 <http://gisweb.albemarle.org/>.