Alterações

3 773 bytes adicionados ,  13h43min de 2 de maio de 2023
Linha 57: Linha 57:  
#Copy the change to 11 other languages
 
#Copy the change to 11 other languages
 
What would you do if you were me?  Perhaps ask the one who made the change to copy it to the other languages?  This might be a good learning exercise for you, since some other languages have customized switch/case statements in the template to automatically translate from English to the other language.  This is a change you are totally capable of making.  What do you think? [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 17h41min de 6 de junho de 2021 (UTC)
 
What would you do if you were me?  Perhaps ask the one who made the change to copy it to the other languages?  This might be a good learning exercise for you, since some other languages have customized switch/case statements in the template to automatically translate from English to the other language.  This is a change you are totally capable of making.  What do you think? [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 17h41min de 6 de junho de 2021 (UTC)
 +
:I can do this in all languages. Tomorrow, when I can, I do this. [[Utilizador:JaksStrange|JaksStrange]] ([[Utilizador Discussão:JaksStrange|discussão]]) 22h32min de 6 de junho de 2021 (UTC)
 +
::I did all the modifications and I would like to know if I can also add the parameter class=inline to the NPC Template. I think this can be very useful, as it is in the Name Template. [[Utilizador:JaksStrange|JaksStrange]] ([[Utilizador Discussão:JaksStrange|discussão]]) 21h22min de 7 de junho de 2021 (UTC)
 +
:::I'm ok with allowing for the template to display inline, but [[:Template:NPC]] is not like [[:Template:Name]] in the way it displays things.  Template:Name uses .css styling, while Template:NPC just adds paragraph tags (<code><nowiki><p>...</p></nowiki></code>). So, the change would consist of replacing
 +
:::<pre><p></pre>
 +
:::with something like
 +
:::<pre>{{#ifeq:{{{placement|}}}|inline||<p>}}</pre>
 +
:::and
 +
:::<pre></p></pre>
 +
:::with
 +
:::<pre>{{#ifeq:{{{placement|}}}|inline||</p>}}</pre>
 +
:::I'd like to stay away from naming the parameter "display" or "position" or anything else that refers to a standard .css keyword.  "Placement" isn't used in official .css as far as I know, so that would be a good choice, although you could name it almost anything reasonable. [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 19h09min de 8 de junho de 2021 (UTC)
 +
::::I did some tests and got a result that worked, it was as follows:
 +
::::use this in the beginning
 +
::::<pre>{{#ifeq:{{{class|}}}|inline|<span class="nametemplateinline">|<p>}}</pre>
 +
::::and this in the end
 +
::::<pre>{{#ifeq:{{{class|}}}|inline|</span>|</p>}}</pre>
 +
::::Can this be used? [[Utilizador:JaksStrange|JaksStrange]] ([[Utilizador Discussão:JaksStrange|discussão]]) 19h17min de 8 de junho de 2021 (UTC)
 +
::::Testing what you suggested, I see that just
 +
::::<pre>{{#ifeq:{{{class|}}}|inline||<p>}}</pre>
 +
::::and
 +
::::<pre>{{#ifeq:{{{class|}}}|inline||</p>}}</pre>
 +
::::already works, but can I use the word "class" or do you want me to use "placement"?. [[Utilizador:JaksStrange|JaksStrange]] ([[Utilizador Discussão:JaksStrange|discussão]]) 19h24min de 8 de junho de 2021 (UTC)
 +
::::I'd like you to use a different word than "class". [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 19h42min de 8 de junho de 2021 (UTC)
 +
 +
==Mod Listing==
 +
Hello Jaks! I have some concerns about you listing mods to download. You can list translations for Stardew Valley Expanded, because the author has given permission for that. But Stardew Notifications is closed-source, and you need  specific permission to modify or list it from the mod author. New Building - Winery also requires permission. So, you really need to mention that you obtained permission to list their mods (even on a private google drive) or remove them. I'm sorry, but the mod authors set the terms of use, and often make a living from their mods. Thanks for your understanding, [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 03h09min de 1 de maio de 2023 (UTC)
 +
:Ok then, I will remove those links, thanks for the warning. [[Utilizador:JaksStrange|JaksStrange]] ([[Utilizador Discussão:JaksStrange|discussão]]) 03h21min de 1 de maio de 2023 (UTC)
 +
::Hi Jaks, I'm sorry, but I wasn't clear enough. You can't advertise that you have made modifications to mods without the author's consent. Please, reach out to the mod authors on Nexus, discord, or whatever method they prefer, and ask their permission to list a change to their mod. Until then, I've removed the entries entirely. Thank you for your understanding, [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 13h43min de 2 de maio de 2023 (UTC)
105 900

edições