Discussioni utente:Dcljr

    Da Wikipedia

    Your changes to the template "Gherdëina"[muda l codesc]

    Dear @Dcljr,

    Thank you for trying to improve the templates in the Ladin Wikipedia. However, the modification you just made caused many tables in other pages to no longer be displayed properly. For example the table on the page Khanat de Kasan is no longer properly displayed. Therefore, I would reject the changes you made unless you have an explanation for it.

    Regards, Asenoner (talk) 08:16, 22 sët 2022 (CEST)Rispondi[respogn]

    The reason for these changes is so that whitespace can be controlled in the articles themselves and not have to rely on the extra whitespace that just "happens to be" provided by the template. In other words, if a template call is done in the following way:
    {{template call}}[subsequent text]
    
    then one would expect no extra whitespace between the (visible) output of the template and the text. In other words, it should be equivalent to:
    [visible output of template][subsequent text]
    
    But the way Template:Gherdëina was set up before I edited it, this example would be equivalent to:
    [visible template output]
    
    
    [subsequent text]
    
    with three extra newlines provided by the template. Article editors will, in general, not be expecting this behavior and will find it confusing. After your latest changes, the template still provides two extra newlines that should not be transcluded into articles (immediately following "--->" and "</includeonly>").
    The solution to the problem with Khanat de Kasan (and any other similar articles) is simple: prevent the extra newlines in the template output and call the template like this:
    {{gherdëina}}
    [subsequent text]
    
    or this:
    {{gherdëina}}
    
    [subsequent text]
    
    instead of like this:
    {{gherdëina}}[subsequent text]
    

    You seem to be the only editor who has been calling the template in the last way (with no intervening whitespace). See, for example, how the template was added to Botswana and America dl Nord. I can help with the required changes, if you'd like. - dcljr (talk) 02:55, 23 sët 2022 (CEST)Rispondi[respogn]