Difference between revisions of "Template:Infobox spy/sandbox"
Jump to navigation
Jump to search
Template:Wikidata image
Template:Wikidata image
imported>Jay D. Easy (Undid revision 897599996 by Jay D. Easy (talk)) |
imported>Capankajsmilyo (Update from main) |
||
| Line 1: | Line 1: | ||
| − | + | {{Infobox person | |
| − | + | | child = {{lc:{{{child|{{{embed}}}}}}}} | |
| − | + | | honorific_prefix = {{{honorific_prefix|{{{prefix|}}}}}} | |
| − | + | | name = {{{name|}}} | |
| − | + | | honorific_suffix = {{{honorific_suffix|{{{suffix|}}}}}} | |
| − | + | | nickname = {{{nickname|}}} | |
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder=yes|sizedefault=frameless | |
| − | + | |image = {{{image|}}} | |
| − | + | |size = {{{image_size|{{{imagesize|}}}}}} | |
| − | + | |upright = {{{image_upright|1}}} | |
| − | + | |alt = {{{alt|}}}}} | |
| − | + | | caption = {{{caption|}}} | |
| − | + | | awards = {{{awards|}}} | |
| − | + | | birth_name = {{{birth_name|}}} | |
| − | + | | birth_date = {{{birth_date|}}} | |
| − | + | | birth_place = {{{birth_place|}}} | |
| − | + | | death_date = {{{death_date|}}} | |
| − | + | | death_place = {{{death_place|}}} | |
| − | + | | death_cause = {{{death_cause|}}} | |
| − | + | | burial_place = {{#if: {{{burial_place|}}} | {{{burial_place|}}} | {{{buried|}}}}} | |
| − | + | | height = {{{height|}}} | |
| − | + | | nationality = {{{nationality|}}} | |
| − | + | | residence = {{{residence|}}} | |
| − | + | | parents = {{{parents|}}} | |
| − | + | | spouse = {{{spouse|}}} | |
| − | + | | children = {{{children|}}} | |
| − | + | | occupation = {{{occupation|}}} | |
| − | + | | alma_mater = {{{alma_mater|}}} | |
| − | + | | signature = {{{signature|}}} | |
| − | + | | module = {{#if:{{{active}}}{{{allegiance}}}{{{service}}}{{{serviceyears}}}{{{rank}}}{{{operation}}}{{{codename1}}}{{{codename2}}}{{{codename3}}}{{{codename4}}}{{{codename5}}}{{{codename6}}}{{{codename7}}}{{{codename8}}}{{{codename8_label}}}{{{codename9}}}{{{codename9_label}}}{{{other}}} | |
| − | + | ||
| − | + | |{{Infobox | |
| − | + | | child = yes | |
| − | + | | title = <includeonly>'''Spying career'''</includeonly> | |
| − | + | | decat = yes <!-- remove from template:infobox tracking categories --> | |
| − | + | ||
| − | + | | label2 = Allegiance | |
| − | + | | data2 = {{{allegiance|}}} | |
| − | + | | class2 = category | |
| − | + | ||
| − | + | | label3 = Service | |
| − | + | | data3 = {{{service|}}} | |
| − | + | ||
| − | + | | label4 = Active | |
| − | + | | data4 = {{{serviceyears|{{{active|}}}}}} | |
| − | + | ||
| − | + | | label5 = Rank | |
| − | + | | data5 = {{{rank|}}} | |
| − | + | | class5 = category | |
| − | + | ||
| − | + | | label6 = Operation(s) | |
| − | + | | data6 = {{{operation|}}} | |
| − | + | ||
| − | + | | label10 = Codename(s) | |
| − | + | | data10 = {{{codename1|}}} | |
| − | + | | class10 = nickname | |
| − | + | ||
| − | + | | label11 = | |
| − | + | | data11 = {{{codename2|}}} | |
| − | + | | class11 = nickname | |
| − | + | ||
| − | + | | label12 = | |
| − | + | | data12 = {{{codename3|}}} | |
| − | }} | + | | class12 = nickname |
| − | + | ||
| − | + | | label13 = | |
| − | }} | + | | data13 = {{{codename4|}}} |
| − | |active | + | | class13 = nickname |
| − | }}<noinclude>{{documentation}}</noinclude> | + | |
| + | | label14 = | ||
| + | | data14 = {{{codename5|}}} | ||
| + | | class14 = nickname | ||
| + | |||
| + | | label15 = | ||
| + | | data15 = {{{codename6|}}} | ||
| + | | class15 = nickname | ||
| + | |||
| + | | label16 = | ||
| + | | data16 = {{{codename7|}}} | ||
| + | | class16 = nickname | ||
| + | |||
| + | | label17 = {{{codename8_label| }}} | ||
| + | | data17 = {{{codename8|}}} | ||
| + | | class17 = nickname | ||
| + | |||
| + | | label18 = {{{codename9_label| }}} | ||
| + | | data18 = {{{codename9|}}} | ||
| + | | class18 = nickname | ||
| + | |||
| + | | label19 = Other work | ||
| + | | data19 = {{{other|}}} | ||
| + | |||
| + | }} }} | ||
| + | |||
| + | | module2 = {{{module|}}} | ||
| + | |||
| + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox spy with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox spy]] with unknown parameter "_VALUE_"|ignoreblank=y| active | allegiance | alma_mater | alt | awards | birth_date | birth_name | birth_place | buried | burial_place | caption | children | codename1 | codename2 | codename3 | codename4 | codename5 | codename6 | codename7 | codename8 | codename8_label | codename9 | codename9_label | death_cause | death_date | death_place | height | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | image | imagesize | image_size | image_upright | imagesize | module | name | nationality | nickname | occupation | operation | other | parents | prefix | rank | residence | service | serviceyears | signature | spouse | suffix }}{{compare|local={{{image|}}}}}<noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 04:26, 18 May 2019
| 50px | This is the template sandbox page for Template:Infobox spy (diff). |
Template:Person infobox header Template:Uses infobox person
| 30px | This template uses Lua: |
Contents
Usage
Note: Do not use <br /> to create fake lists. Separate multiple vertical entries using {{unbulleted list}} or {{plainlist}}. See: MOS:VLIST.
Template:Parameter names example
{{Infobox spy
|prefix =
|name =
|suffix =
|image =
|upright =
|alt =
|caption =
|birth_name =
|birth_date =
|birth_place =
|death_date =
|death_place =
|death_cause =
|buried =
|nationality =
|citizenship =
|other_names =
|education =
|alma_mater =
|occupation =
|known_for =
|criminal_charge =
|criminal_penalty =
|criminal_status =
|spouse =
|children =
|parents =
|awards =
|country =
|allegiance =
|branch =
|agency =
|corporation =
|serviceyears =
|rank =
|codename =
|codename2_label =
|codename2 =
|codename3_label =
|codename3 =
|codename4_label =
|codename4 =
|codename5_label =
|codename5 =
|operation_label =
|operation =
|other =
|module =
|signature =
}}
Parameters
Note: All custom parameters shown below are optional. See {{infobox person}} for remaining parameter descriptions. Use |codename= and |codename2= for codenames, |other_names= from {{infobox person}} should be used as described there.
| Parameter | Description |
|---|---|
allegiance
|
The country or other power the person served. Multiple countries may be indicated together with the corresponding dates.
|
agency
|
The service branch (KGB, MI5, etc.) the person was a part of; this should be left blank for people who were not part of a formal armed service, or who predate the establishment of formal service branches. |
serviceyears
|
Years during which the person was active in aforementioned service.
|
rank
|
The highest rank achieved by the person—unless a reduction in rank occurred whether by punishment, voluntary, or as part of joining another military unit or military service. The rank being awarded posthumously, may be noted.
|
operation
|
Any notable operations in which the person participated.
|
codename
|
The codename by which the person was known to their handlers. |
codename2 / codename3 / codename4 / codename5
|
The codename by which the person was known to their handlers. |
codename2_label / codename3_label / codename4_label / codename5_label /
|
This parameter can be used to create a custom codename label if necessary, e.g. when the person is a double agent. Use sparingly. |
other
|
Profession or positions held by the person other than their spy or military service. |
Example
Dieter Gerhardt
Dieter Gerhardt | |
|---|---|
| Born | Dieter Felix Gerhardt 1 November 1935 Berlin, Germany |
| Nationality | South African |
| Education | South African Naval College |
| Occupation | Commodore, SA Navy (ret.) |
| Spouse(s) | Template:Ubl |
| Espionage activity | |
| Allegiance | 23x15px Soviet Union |
| Service branch | Script error: No such module "If empty". |
| Agency | Main Intelligence Directorate |
| Service years | Script error: No such module "If empty". |
| Codename | Felix (Феликс) |
{{Infobox spy
|name = Dieter Gerhardt
|birth_name = Dieter Felix Gerhardt
|birth_date = {{birth date and age|1935|11|01|df=y}}
|birth_place = [[Berlin]], Germany
|nationality = South African
|education = [[South African Naval College]]
|occupation = [[Commodore (rank)|]], [[South African Navy|SA Navy]] (ret.)
|spouse = {{ubl|Janet Coggin (m. 1958)|Ruth Johr (m. 1973)}}
|allegiance = {{flagcountry|USSR}}
|agency = [[Main Intelligence Directorate (Soviet Union)|]]
|serviceyears = 1962–1983
|codename = Felix ({{lang|ru|Феликс}})
}}
Juan Pujol García
Juan Pujol García | |
|---|---|
| Born | Joan Pujol i García 14 February 1912 Barcelona, Spain |
| Died | Template:Nowr Caracas, Venezuela |
| Nationality | Spanish |
| Spouse(s) | Template:Ubl |
| Awards | Template:Ubl |
| Espionage activity | |
| Country | |
| Service branch | Script error: No such module "If empty". |
| Agency | Security Service (MI5) |
| Service years | Script error: No such module "If empty". |
| Codename | Garbo, Alaric (German) |
| Script error: No such module "If empty". | Fortitude |
{{Infobox spy
|name = Juan Pujol García
|birth_name = Joan Pujol i García
|birth_date = {{date of birth|1912|02|14|df=y}}
|birth_place = [[Barcelona]], Spain
|death_date = {{nowr|{{death date and age|1988|10|10|1912|02|14|df=y}}}}
|death_place = [[Caracas]], Venezuela
|nationality = Spanish
|spouse = {{ubl|Araceli González Carballo|Carmen Cilia Alvarez}}
|awards = {{ubl|[[Iron Cross]]|[[Order of the British Empire]]}}
|country = {{flagcountry|UK}}
|agency = [[MI5|Security Service (MI5)]]
|serviceyears = 1942–1944
|codename = Garbo, Alaric (German)
|operation = [[Operation Fortitude|''Fortitude'']]
}}
Microformat
Tracking categories
- Category:Pages using infobox spy with unknown parameters (0)
- Category:Pages using deprecated image syntax (1) – Used by Module:InfoboxImage to track articles where an infobox uses image syntax in the format |image=[[File:Example.jpg]]. To exclude articles from this category, change it to |image=Example.jpg.
- Category:No local image but image on Wikidata (15) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yesto the infobox.
| The above documentation is transcluded from Template:Infobox spy/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |