Usuari:MuRe/Proves2/doc
Aparença
< Usuari:MuRe | Proves2
Aquesta plantilla fa servir algunes característiques molt complicades i esotèriques comparades amb la sintaxi més simple d'altres plantilles. No proveu de modificar-ne la sintaxi llevat que sapigueu realment què feu i entengueu com funciona. En cas contrari podríeu generar resultats imprevistos o indesitjables en aquelles pàgines que la incloguin. |
An infobox template for use in articles on government agencies.
Syntax
[modifica]{{Infobox Government agency |agency_name = |nativename = |nativename_a = |nativename_r = |logo = |logo_width = |logo_caption = |seal = |seal_width = |seal_caption = |formed = |preceding1 = |preceding2 = (etc.) |dissolved = |superseding = |jurisdiction = |headquarters = |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= |region_code = |employees = |budget = |minister1_name = |minister1_pfo = |minister2_name = |minister2_pfo = (etc.) |chief1_name = |chief1_position = |chief2_name = |chief2_position = (etc.) |parent_agency = |child1_agency = |child2_agency = (etc.) |website = |footnotes = }}
Parameters
[modifica]Field Name | Required | Description | Values |
agency_name | yes | Name of the agency | Text |
logo | no | Logo for the agency | filename |
nativename | no | Agency name in a native language using Western characters (French, German, Spanish, etc.), such as Port Lotniczy im. Fryderyka Chopina. Can also be used for two different names in the same language. | Text |
nativename_a | no | (optional) Agency name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.), such as 北京首都国际机场. | Text |
nativename_r | no | (optional) Use in conjunction with above for Romanized name of the agency, such as Běijīng Shǒudū Guójì Jīcháng. | Text |
logo_width | no | Image width for the agency logo | Numbers |
logo_caption | no | Caption for the agency logo | Text |
seal | no | Seal for the agency | filename |
seal_width | no | Image width for the agency seal | Numbers |
seal_caption | no | Caption for the agency seal | Text |
formed | no | Date of foundation of the agency | Text eg; [[25 July]] [[2005]], or [[1876]] |
preceding1 | no | Name of preceding agency. Can be repeated up to six times (preceding1 to preceding6). Note: Title of box will automatically pluralise upon use of preceding2. |
Text |
dissolved | no | Date of dissolution of the agency | Text eg; [[25 July]] [[2005]], or [[1876]] |
superseding | no | Name of superseding agency | Text |
jurisdiction | no | Name of the jurisdiction in which the agency resides | Text eg; [[Government of Western Australia]] or [[United States Government]] |
headquarters | no | Location of the agency's headquarters. | Text eg; [[Sydney, New South Wales]], [[Australia]] |
latd | no | Headquarters coordinates; latitude in degrees. | Numbers |
latm | no | Headquarters coordinates; latitude in minutes. | Numbers |
lats | no | Headquarters coordinates; latitude in seconds. | Numbers |
latNS | no | Headquarters coordinates; specifies northern (N) or southern (S) latitude. | Text eg; N |
longd | no | Headquarters coordinates; longitude in degrees. | Numbers |
longm | no | Headquarters coordinates; longitude in minutes. | Numbers |
longs | no | Headquarters coordinates; longitude in seconds. | Numbers |
longEW | no | Headquarters coordinates; specifies eastern (E) or western (W) longitude. | Text eg; E |
region_code | no | Headquarters coordinates; sets the preferred map region of coverage, used in selecting appropriate map resources for the area. The region should be supplied as either a two character ISO 3166-1 alpha-2 country code, or an ISO 3166-2 region code. | Text eg; US |
employees | no | Number of employees of the agency | Number |
budget | no | Annual budget of the agency | Text eg; $95 m [[USD]] (2006) |
minister1_name | no | For westminster systems: Name of current minister responsible for the agency. Can be repeated up to four times (minister1_name to minister4_name). Note: Title of box will automatically pluralise upon use of minister2_name. |
Text |
minister1_pfo | no | For westminster systems: Portfolio title of responsible minister. Can be repeated up to four times (minister1_pfo to minister4_pfo). | Text |
chief1_name | no | Name of current agency chief/director/executive director. Can be repeated up to four times (chief1_name to chief4_name). Note: Title of box will automatically pluralise upon use of chief2_name. |
Text |
chief1_position | no | Position title of current agency chief/director/executive director. Can be repeated up to four times (chief1_position to chief4_position). | Text |
parent_agency | no | Parent agency of this agency | Text |
child1_agency | no | List of current child agencies reporting to this agency. Can be repeated up to six times (child1_agency to child6_agency). Note: Title of box will automatically pluralise upon use of child2_agency. |
Text |
website | no | Web address for agency website | Text |
footnotes | no | Footnotes or references for included information | Text |
Examples
[modifica]Plantilla:Infobox Government agency For the United States Department of Agriculture:
{{Infobox Government agency |agency_name = United States Department of Agriculture |logo = USDA logo.svg |logo_width = 140 px |logo_caption = Logo of the USDA |seal = US-DeptOfAgriculture-Seal2.svg |seal_width = 140 px |seal_caption = Seal of the Department of Agriculture |formed = [[February 15]], [[1889]] |preceding1 = |dissolved = |superseding = |jurisdiction = [[Federal government of the United States]] |headquarters = 1301 [[Independence Avenue (Washington D.C.)|Independence Avenue]], S.W., [[Washington, D.C.]] |latd=38 |latm=53 |lats=12 |latNS=N |longd=77 |longm=01 |longs=47 |longEW=W |region_code = US |employees = 105,778 (June 2007) |budget = $94 billion [[USD]] (2006) |minister1_name = |minister1_pfo = |minister2_name = |minister2_pfo = |chief1_name = [[Mike Johanns]] |chief1_position = [[United States Secretary of Agriculture|Secretary of Agriculture]] |chief2_name = [[Charles F. Conner]] |chief2_position = Deputy Secretary of Agriculture |parent_agency = |child1_agency = [[Template:USDA agencies|Click here]] |website = [http://www.usda.gov/ www.usda.gov] |footnotes = }}
Plantilla:Infobox Government agency For the Federal Statistical Office of Germany:
{{Infobox Government Agency |agency_name = Federal Statistical Office of Germany |nativename = Statistisches Bundesamt Deutschland |logo = <!--Non-free image removed: Destatis_logo.gif--> |logo_caption = |seal = |seal_width = |seal_caption = |headquarters = Gustav-Stresemann-Ring 11, D-65189, [[Wiesbaden]] |latd=50 |latm=4 |lats=18.7068 |latNS=N |longd=8 |longm=15 |longs=6.2676 |longEW=E |region_code = DE |formed = [[3 July]] [[1953]] |preceding = |dissolved = |superseding = |jurisdiction = [[Government of Germany]] |employees = 2780 |budget = |minister1_name = [[Wolfgang Schauble]] |minister1_pfo = [[Federal Minister of the Interior (Germany)|German Interior Minister]] |chief1_name = Walter Radermacher |chief1_position = Bureau president |chief2_name = |chief2_position = |parent_agency = [[Federal Ministry of the Interior (Germany)|Federal Ministry of the Interior]] |child1_agency = |child2_agency = |website = [http://www.destatis.de www.destatis.de] |footnotes = }}