Difference between revisions of "Template:Infobox organization/testcases"
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= | {{Testcase table |_caption= | ||
| Line 11: | Line 92: | ||
| fgcolor = | | fgcolor = | ||
| − | + | | native_name = {{hilite|native_name}} <!--or--> | native name = | |
| − | | native_name = {{hilite| | ||
| − | | image = | + | | image = Simple shapes example.png <!--or--> |
| size = 40px <!--or--> | image_size = | | size = 40px <!--or--> | image_size = | ||
| alt = | | alt = | ||
| caption = ''caption'' | | caption = ''caption'' | ||
| − | | map = | + | | 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 = | + | | 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
| 42px | This is the template test cases page for the sandbox of Template:Infobox organization. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Parameter names
Default / primary names
Alternate names
image_border handling (sandbox version)
| 180px {{longitem |Test.png (image_border) at 180px (image_size) with image_border=1px}} | |
| Motto | {{longitem |Testing whether/how image_border is handled}} |
|---|---|
| Established | Script 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". |