ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Template talk:Placebox-begin - Wikipedia, the free encyclopedia

Template talk:Placebox-begin

From Wikipedia, the free encyclopedia

The Placebox is an Infobox, a set of templates. It is intended to display common information about a (populated) place, especially (but not limited to) municipalities (cities, towns and villages). These composite templates were inspired by the Taxobox employed in the Tree of Life WikiProject.

Some of the templates of the Placebox must be placed in a given order; the others are optional and movable. If you want to create more (customized) templates, please discuss them with the other users first.

Don't create meta-templates. That is, don't create templates that reference or build on another templates. Calling a template from inside the definition of another template is resource-intensive and slows down the Wikimedia servers.

  1. Start the box with {{placebox-begin}}.
  2. You can (and probably will) include a header here. The header can be anything that fits into an HTML table cell, including a whole sub-table. In the example below, the header is itself a template, {{city-header-ar}} (it is intended for cities in Argentina, and its parameter is the name of the city). There is a generic, simple header template, {{placebox-header}}, for you to get the idea.
  3. After the header comes the data. Start this section with {{placebox-begin-data}}.
  4. The Placebox has some standard templates that you can include inside the data section. You can also make your own. The data section creates a table with two columns, and the following templates respect that format.
  5. Last in the data section should be a map. {{placebox-map}} is called with one parameter, the name of the image. You must not use the [[Image:...]] wikisyntax. The template inserts everything for you, including alignment and a proper size.
  6. End the data section with {{placebox-end-data}}.
  7. You can create a new section after this, if you want to.
  8. Wrap up the Placebox with {{placebox-end}}.

And you're done.

[edit] Example

The example comes from the page of the city of Rosario, Argentina:

 {{placebox-begin}}
 {{city-header-ar|Rosario}}
 {{placebox-begin-data}}
 {{city-poli-ar|[[Santa Fe Province|Santa Fe]]|[[Rosario Department|Rosario]]}}
 {{placebox-area|178}}
 {{placebox-coor|32|57|S|60|40|W|}}
 {{placebox-elevation|22.5–24.6}}
 {{placebox-people|910,000|rosarino}}
 {{placebox-density|5,112}}
 {{placebox-phone-ar|341}}
 {{placebox-postal-code-ar|S|2000}}
 {{city-authority|[[Miguel Lifschitz]]|[[Socialist Party (Argentina)|Socialist Party]]}}
 {{placebox-map|Rosario, Argentina - Situation map.png}}
 {{placebox-end-data}}
 {{placebox-end}}
 

You can see how it appears, on the right:

Cities and towns
in Argentina
Rosario
Province Santa Fe
Department Rosario
Area 178 km²
Location 32°57′ S 60°40′ W
Elevation 22.5–24.6 m AMSL
Population 910,000
Demonym rosarino
Density 5,112 inhab/km²
Phone code +54 341
CPA base S2000
Mayor Miguel Lifschitz
Party Socialist Party
{{{3}}}

[edit] List of subtemplates


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -