Jump to content

Template talk:Public art

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Merger proposals

[edit]

Please 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)[reply]

Templates were merged. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:59, 19 July 2016 (UTC)[reply]

Wikidata items

[edit]

There 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)[reply]

Adding "|show_designation=no" and "|show_type=no" to the template

[edit]

Hi

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)[reply]

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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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
{{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)[reply]

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)[reply]
@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)[reply]
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)[reply]
Just one example — Martin (MSGJ · talk) 16:01, 9 October 2024 (UTC)[reply]
@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)[reply]
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)[reply]
@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)[reply]
Okay I'll check — Martin (MSGJ · talk) 12:15, 31 October 2024 (UTC)[reply]
Think I've got it working — Martin (MSGJ · talk) 22:52, 31 October 2024 (UTC)[reply]
@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)[reply]
@MSGJ:Hi. Sorry about that again. The template works fine on most tables. However, there are some problems in some tables. I provided and example on {{Public art/row/testcases#Category and shift}} from William Bloye article. Other examples
Shkuru Afshar (talk) 21:44, 2 November 2024 (UTC)[reply]
I fixed (in the sandbox) the issue of where it was showing the class in some columns. For the other issues, I think there is a misunderstanding of how the parameters should be used. If a column (e.g. type) is being used, then that parameter must be defined in every row (whether blank or not). If a column is not being used, then that parameter should not be used in any row. — Martin (MSGJ · talk) 09:18, 3 November 2024 (UTC)[reply]
@MSGJ: The whole template is working fine. However, there is an issue that I don't understand why it is happening. If you check Template:Public art/row/testcases#dunno and n/a templates usage, you see there is a problem while "dunno" and "n/a" templates are used. Shkuru Afshar (talk) 03:20, 9 November 2024 (UTC)[reply]
@MSGJ:Hi. I am still waiting for you. Thanks. Shkuru Afshar (talk) 09:29, 13 November 2024 (UTC)[reply]
I've managed to fix dunno and n/a, but with some horrible code that I don't really like using. Please check again — Martin (MSGJ · talk) 11:43, 13 November 2024 (UTC)[reply]