Difference between revisions of "Template:Infobox organization/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Wugapodes
(→‎Default / primary names: add test case for full name parameter)
imported>Elliot321
(→‎Default / primary names: add funding param)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Testcases notice |toc=on}}
 
{{Testcases notice |toc=on}}
 
{{clear}}
 
{{clear}}
 +
  
 
== Parameter names ==
 
== Parameter names ==
  
 
===Default / primary names===
 
===Default / primary names===
 +
{{col-start}}
 +
{{col-2}}
 +
{{Testcase table |_caption= 
 +
 +
| name = ''name''
 +
| bgcolor =
 +
| fgcolor =
 +
 +
| full_name          = {{hilite|full_name}} <!--or--> | full name =
 +
| full_name_lang      = fra
 +
| native_name        = {{hilite|native_name}}  <!--or-->  | native name =
 +
| native_name_lang    = fra
 +
 +
| image              = Simple shapes example.png  <!--or--> 
 +
| size                = 40px      <!--or-->  | image_size =
 +
| alt                =
 +
| caption            = ''caption''
 +
 +
| map                = Simple shapes example.png
 +
| map_size            = 40px  <!--or-->  | msize =
 +
| map_alt            =      <!--or-->  | malt =
 +
| map_caption        = ''map_caption''  <!--or-->  | mcaption =
 +
 +
| map2                = Simple shapes example.png
 +
| map2_size          = 40px
 +
| map2_alt            =
 +
| map2_caption        = ''map2_caption''
 +
 +
<!---Fields:--->
 +
| abbreviation        = ''abbreviation''
 +
| motto              = ''motto''
 +
| predecessor        = ''predecessor''
 +
| merged              = ''merged''
 +
| successor          = ''successor''
 +
| established        = {{hilite|''established''}}    <!--or-->  | formation =
 +
| founded            = ''founded''
 +
| founder            = {{hilite|''founder''}}        <!--or-->  | founders =
 +
| dissolved          = {{hilite|''dissolved''}}      <!--or-->  | extinction =
 +
| type                = ''type''
 +
| status              = ''status''
 +
| purpose            = ''purpose''                    <!--or-->  | focus =
 +
| professional_title  = {{longitem|This ''professional_title'' is deliberately long in order to test linewrapping}}
 +
| headquarters        = ''headquarters''
 +
| location            = ''location''
 +
| coords              = ''coords''
 +
| region              = {{hilite|''region''}}          <!--or-->  | region_served =
 +
| services            = ''services''
 +
| membership          = ''membership''
 +
| num_members_year    = ''_year''
 +
| language            = {{hilite|''language''}}        <!--or-->  | languages =
 +
| general            = {{hilite|''general''}}        <!--or-->  | sec_gen =
 +
| leader_title        = <!--defaults to "Leader"-->
 +
| leader_name        = ''leader_name''
 +
| leader_title2      = ''leader_title2''
 +
| leader_name2        = ''leader_name2''
 +
| leader_title3      = ''leader_title3''
 +
| leader_name3        = ''leader_name3''
 +
| leader_title4      = ''leader_title4''
 +
| leader_name4        = ''leader_name4''
 +
| board_of_directors  = ''board_of_directors''
 +
| key_people          = ''key_people''
 +
| main_organ          = {{hilite|''main_organ''}}      <!--or-->  | publication =
 +
| parent_organization = {{hilite|''parent_organization''}}  <!--or-->  | parent_organisation =
 +
| subsidiaries        = ''subsidiaries''
 +
| affiliations        = ''affiliations''
 +
| secessions          = ''secessions''
 +
| budget              = ''budget''
 +
| budget_year        = ''_year''
 +
| num_staff          = {{hilite|''num_staff''}}      <!--or-->  | staff =
 +
| num_staff_year      = ''_year''
 +
| num_volunteers      = {{hilite|''num_volunteers''}}  <!--or-->  | volunteers =
 +
| num_volunteers_year = ''_year''
 +
| slogan              = ''slogan''
 +
| website            = ''website''
 +
| remarks            = ''remarks''
 +
| former name        =  <!--or-->  | former_name = {{hilite|''former_name''}}  <!--or-->  | formerly =
 +
| footnotes          = ''footnotes''
 +
| funding            = ''funding''
 +
}}
 +
{{col-2}}
 
{{Testcase table |_caption=&nbsp;
 
{{Testcase table |_caption=&nbsp;
  
Line 11: Line 92:
 
| fgcolor =  
 
| fgcolor =  
  
| full_name          = {{hilite|''full_name''}} <!--or--> | full name =
+
| native_name        = {{hilite|native_name}}  <!--or-->  | native name =  
| native_name        = {{hilite|''native_name''}}  <!--or-->  | native name =  
 
  
| image              = Test.png  <!--or-->   
+
| image              = Simple shapes example.png  <!--or-->   
 
| size                = 40px      <!--or-->  | image_size =  
 
| size                = 40px      <!--or-->  | image_size =  
 
| alt                =  
 
| alt                =  
 
| caption            = ''caption''
 
| caption            = ''caption''
  
| map                = Test.png
+
| map                = Simple shapes example.png
 
| map_size            = 40px  <!--or-->  | msize =  
 
| map_size            = 40px  <!--or-->  | msize =  
 
| map_alt            =      <!--or-->  | malt =  
 
| map_alt            =      <!--or-->  | malt =  
 
| map_caption        = ''map_caption''  <!--or-->  | mcaption =  
 
| map_caption        = ''map_caption''  <!--or-->  | mcaption =  
  
| map2                = Test.png
+
| map2                = Simple shapes example.png
 
| map2_size          = 40px
 
| map2_size          = 40px
 
| map2_alt            =  
 
| map2_alt            =  
Line 78: Line 158:
 
| former name        =  <!--or-->  | former_name = {{hilite|''former_name''}}  <!--or-->  | formerly =  
 
| former name        =  <!--or-->  | former_name = {{hilite|''former_name''}}  <!--or-->  | formerly =  
 
| footnotes          = ''footnotes''
 
| footnotes          = ''footnotes''
 +
| funding            = ''funding''
 
}}
 
}}
 +
{{col-end}}
  
 
===Alternate names===
 
===Alternate names===
Line 173: Line 255:
 
| caption      =  
 
| caption      =  
 
| formation    = 1947
 
| formation    = 1947
 +
| defunct = 1948
 
| type        =  
 
| type        =  
 
| headquarters = [[New York, NY]]
 
| headquarters = [[New York, NY]]

Latest revision as of 06:58, 21 January 2021


Parameter names

Default / primary names

Alternate names

Template:Testcase table

image_border handling (sandbox version)

image_border handling
180px
{{longitem |Test.png (image_border) at 180px (image_size) with image_border=1px}}
Motto
{{longitem |Testing whether/how image_border is handled}}
EstablishedScript error: No such module "If empty".
Region
Script error: No such module "If empty".
Employees
Script error: No such module "If empty".
Formerly called
Script error: No such module "If empty".

Association for Computing Machinery

Template:Testcase table

"United Wikipedia Editors"

Template:Testcase table

"Asian & Asian Legal Consultants"

Template:Testcase table

Non-profit

Template:Testcase table

Template:Testcase table

Multiple parameters

Template:Testcase table