Problem noparenthesis επεξεργασία

So weird! Noparenthesis 0= param gets the {ετ|...|0=-}, {ετ...|0=-} stuck together. A space is not occuring BEFORE the second {ετ (Template:ετ). This happens ONLY in mainspace. and ONLY when the link is to a 'word_cat' full with a Category (word_cat = - works fine)

Explained:
Here are labels with 1) mytext = linked Categories (or, option: with lemma) and 2) mycat = placing the page in a Category if we are in mainspace
Applied through Template:ετ.
The parameter noparenthesis |0=- takes away the parenthesis marks.
Problem tested at mainspace lemma ταινία and at Συζήτηση:ταινία

  • 1) with labels which HAVE Categories (word_cat at Module:labels/data is full): ({{ετ|ιατρική|0=-}}, {{ετ|κτηνιατρική|0=-}})
    Here is the problem: NO space is allowed before Template:ετ (see ταινία)
    but works fine outside mainspace: ιατρική, κτηνιατρική
    It even occurs if i add the param |σελ=1 which directs to the lemma. ALWAYS when word_cat is full, a space does not occur.
  • 2) also have tested in mainspace labels which have word_cat = - ({{ετ|οικείο|0=-}}, {{ετ|καθομιλουμένη|0=-}})
    these work fine, both in mainspace and other namespaces

I have checked/removed one by one every kind of param, labels with alias, with not... Obviously, when word_cat is full, something interacts with mainspace style? Or is it a Template:ετ problem?
So weird... Only Erutuon could understand what is going on. ‑‑Sarri.greek  | 19:53, 14 Σεπτεμβρίου 2020 (UTC)Απάντηση

@Sarri.greek: Okay, it looks like the template outputs a category link and then some text. I found this out by expanding the template in Ειδικό:ΕπέκτασηΠροτύπων. Apparently, when the category link is after spaces or newlines, it eats them up. {{ετ|ιατρική|0=-}}, {{ετ|κτηνιατρική|0=-}} outputs [[Κατηγορία:Ιατρική (νέα ελληνικά)]][[:Κατηγορία:Ιατρική (νέα ελληνικά)|<i>ιατρική</i>]], [[Κατηγορία:Κτηνιατρική (νέα ελληνικά)]][[:Κατηγορία:Κτηνιατρική (νέα ελληνικά)|<i>κτηνιατρική</i>]], which looks like ιατρική,κτηνιατρική. But if you change that to ([[:Κατηγορία:Ιατρική (νέα ελληνικά)|<i>ιατρική</i>]]),[[Κατηγορία:Ιατρική (νέα ελληνικά)]] ([[:Κατηγορία:Κτηνιατρική (νέα ελληνικά)|<i>κτηνιατρική</i>]])[[Κατηγορία:Κτηνιατρική (νέα ελληνικά)]], it looks like ιατρική, κτηνιατρική. So the module should put category links ([[Κατηγορία:...]]) after text, not before it. This should fix at least one of the problems you've noticed. When the template isn't outputting a category, no spaces will be eaten up.
(My module edit about frame.args[0] was actually mistaken. frame.args["0"] works too, and frame.args["1"] works like frame.args[1]! I had no idea.) Erutuon (συζήτηση) 07:22, 15 Σεπτεμβρίου 2020 (UTC)Απάντηση
☏ Erutuon!!! I would have NEVER, ever figured it out. I didn't sleep at all last night. I'll study all you have written, and I will fix it. THANKS ‑‑Sarri.greek  | 07:28, 15 Σεπτεμβρίου 2020 (UTC)Απάντηση

ιδιωματισμός ιδιωματικό επεξεργασία

Ενημερώνω ☏ Svlioras · Chalk19 · Texniths. Πάντα το είχα πρόβλημα, τώρα, με τα πολλά idioms στον Τομέα των Αγγλικών, πρέπει να το ξεμπερδέψουμε. Θα

Πείτε μου τη γνώμη σας. Ευχαριστώ. ‑‑Sarri.greek  | 16:23, 24 Οκτωβρίου 2022 (UTC)Απάντηση

++ ☏ Chalk19, Κοιτώντας το λήμμα κήπος, έχει + μία διαλεκτική σημασία. Λέω να έχουμε και ετικέτα {ετ|ιδιωματ σημ}} Κατηγορία:Λέξεις με ιδιωματικές σημασίες δηλαδή: κανονικές λέξεις της κοινής που έχουν +διαλεκτική. Τι λέτε? ‑‑Sarri.greek  | 20:03, 24 Οκτωβρίου 2022 (UTC)Απάντηση

Επιστροφή στη σελίδα "labels".