Template talk:Public art
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
|
|
This page has archives. Sections older than 28 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
Merger proposals
editPlease comment on proposals to merge {{Public art header with long notes}}
into {{Public art header}} here and {{Public art row with long notes}}
into {{Public art row}} here. Thanks, Ham (talk) 08:31, 13 November 2014 (UTC)
- Templates were merged. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:59, 19 July 2016 (UTC)
Wikidata items
editThere is a discussion regarding this template at Wikipedia:Village pump (policy)#Wikidata Items shown on Wikipedia?. Please leave any comments you have there to keep discussion in one place. Thryduulf (talk) 11:26, 30 April 2024 (UTC)
Adding "|show_designation=no" and "|show_type=no" to the template
editHi
Please add "|show_designation=no" and "|show_type=no" to this template.
Sometime, all or most items don't have a grade? Like List of public art in Melbourne or List of public art in Coventry. Apparently, grade category for column Designation is used for the UK and not in other places in the world. Like List of public art in Aarhus, List of public art in Shanghai, List of public art in Victoria, British Columbia, and List of public art in Brooklyn. In that case, as you can see, the column is useless and its presence looks odd.
And "Type" parameter could be confusing. Some items could be both a sculpture and/or a statue. (Please check "Driver & Wipers Memorial" and "King George V" on List of public art in Melbourne)
Cheers Shkuru Afshar (talk) 07:26, 31 August 2024 (UTC)
- I can see why these columns might not be needed in all circumstances. However we need to be careful when making them optional. In the current version a blank or undefined
|designation=
parameter results in an empty column. In order to make this column optional we would need to make an undefined|designation=
parameter result in no column at all. So this might mean checking all 228 uses of this template to make sure|designation=
is defined, or there might be another way of doing it, e.g.|designation=no
or something like that — Martin (MSGJ · talk) 09:28, 31 August 2024 (UTC) - Another suggestion: create Template:Public art row2 by copying from this template and adapting as needed — Martin (MSGJ · talk) 09:29, 31 August 2024 (UTC)
- Why creating a new template? Why not just adding these new simple features to the current template? It is significantly less confusing if there is just a single template. Shkuru Afshar (talk) 11:10, 31 August 2024 (UTC)
- I can create a sample on the test page and after approval, copy it to the main page. Shkuru Afshar (talk) 11:38, 31 August 2024 (UTC)
- I have tried to explain why I think it will not work, but go ahead with the test case then we can talk more — Martin (MSGJ · talk) 13:45, 31 August 2024 (UTC)
- I am going to check every single 228 uses of this template to make sure columns
|designation=
and|type=
are defined in those tables that are filled with values in these columns. I do it by adding|designation=yes
and|type=yes
to Public art header section. - The following is when I tried
|designation=no
and|type=no
and it didn't work. Shkuru Afshar
- I am going to check every single 228 uses of this template to make sure columns
- I have tried to explain why I think it will not work, but go ahead with the test case then we can talk more — Martin (MSGJ · talk) 13:45, 31 August 2024 (UTC)
{{Public art header|show_architect=no|show_material=yes|show_dimensions=no|show_owner=no|show_wikidata=no|designation=no|type=no}} {{Public art row | image = | commonscat = | subject = ''<nowiki/>'' | location = | coordinates = | date = | artist = | material = | notes = }} {{End}}
Image | Title / subject | Location and coordinates |
Date | Artist / designer | Type | Material | Designation | Notes |
---|---|---|---|---|---|---|---|---|
|
. Shkuru Afshar (talk) 00:09, 1 September 2024 (UTC)
- Good luck checking 228 pages! You should check that the
|designation=
and|type=
parameters are defined in every case, either blank (if empty) or non-blank (if used). You do not need to change any of the header templates because we can default them to "yes". — Martin (MSGJ · talk) 18:46, 1 September 2024 (UTC)- @MSGJ:You mean I should add these 2 parameters to rows of cases in articles like List of public art in Dublin even though they are not used in any cases? Or I should make sure they exist in all cases of articles that are using these 2 parameters and for some cases that are blank or not uses? Shkuru Afshar (talk) 11:17, 9 October 2024 (UTC)
- You will need to check that these parameters are used in every article where you have "Designation" and "Type" in the header row. If it has a value then
|type=Relief sculpture
or whatever. If it has no value then|type=
. This will tell the template to include a column for type even if there is no value. — Martin (MSGJ · talk) 15:59, 9 October 2024 (UTC) - Just one example — Martin (MSGJ · talk) 16:01, 9 October 2024 (UTC)
- @MSGJ:I added "type" and "designation" to all tables that use these parameter on some rows. So, if we turn them off on other tables that don't use these parameters, there should be no problem. (Please correct me, if I am wrong).
- Cheers. Shkuru Afshar (talk) 01:57, 18 October 2024 (UTC)
- Okay we should be okay to move to the next stage: disable these columns unless the parameter is used. I have put some suggested code in Template:Public art row/sandbox but please check it before deploying — Martin (MSGJ · talk) 07:33, 18 October 2024 (UTC)
- @MSGJ:I checked your edits on {{Public art/row/testcases}} but it didn't work (check {{Public art/row/testcases#Sandbox}}. The information is shifted to the left). Then, I added show_designation and show_type needed to {{Public art/header/sandbox}}. It now doesn't show designation show if they are set on NO. But the rows looks disrupted, even if I add blank |designation= and |type= to the rows. Shkuru Afshar (talk) 12:13, 31 October 2024 (UTC)
- Okay I'll check — Martin (MSGJ · talk) 12:15, 31 October 2024 (UTC)
- Think I've got it working — Martin (MSGJ · talk) 22:52, 31 October 2024 (UTC)
- @MSGJ:Yes. It does. Thank you. I am going to copy of row and header sandboxes to the main template at check how it functions. It should be fine. However, if it doesn't work properly, I revert it immediately. Shkuru Afshar (talk) 10:56, 1 November 2024 (UTC)
- @MSGJ:I checked your edits on {{Public art/row/testcases}} but it didn't work (check {{Public art/row/testcases#Sandbox}}. The information is shifted to the left). Then, I added show_designation and show_type needed to {{Public art/header/sandbox}}. It now doesn't show designation show if they are set on NO. But the rows looks disrupted, even if I add blank |designation= and |type= to the rows. Shkuru Afshar (talk) 12:13, 31 October 2024 (UTC)
- Okay we should be okay to move to the next stage: disable these columns unless the parameter is used. I have put some suggested code in Template:Public art row/sandbox but please check it before deploying — Martin (MSGJ · talk) 07:33, 18 October 2024 (UTC)
- You will need to check that these parameters are used in every article where you have "Designation" and "Type" in the header row. If it has a value then
- @MSGJ:You mean I should add these 2 parameters to rows of cases in articles like List of public art in Dublin even though they are not used in any cases? Or I should make sure they exist in all cases of articles that are using these 2 parameters and for some cases that are blank or not uses? Shkuru Afshar (talk) 11:17, 9 October 2024 (UTC)