Template talk:S: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
 
(6 intermediate revisions by 2 users not shown)
Line 11: Line 11:
Also works for interwiki: <code><nowiki>[[wikipedia:Creme brulee|]]</nowiki></code> results in [[wikipedia:Creme brulee|Creme brulee]] - <font face="lucida handwriting,segoe script">Ceci n’est pas un [[User:Smiddle|Smiddle]].</font> 10:59, 12 June 2013 (EDT)
Also works for interwiki: <code><nowiki>[[wikipedia:Creme brulee|]]</nowiki></code> results in [[wikipedia:Creme brulee|Creme brulee]] - <font face="lucida handwriting,segoe script">Ceci n’est pas un [[User:Smiddle|Smiddle]].</font> 10:59, 12 June 2013 (EDT)
:That gets force-converted into the long version when the edit is saved though, which can be annoying in some cases. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Awesome 11:25, 12 June 2013 (EDT)
:That gets force-converted into the long version when the edit is saved though, which can be annoying in some cases. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Awesome 11:25, 12 June 2013 (EDT)
=="W" template==
While this template's purpose is to link stuff like <nowiki>[[Special:RecentChanges|RecentChanges]] into {{s|special|RecentChanges}}, some people use it for interwiki links as well. This causes problems with links like [[mariowiki:Donkey Kong (game)|Donkey Kong]], which, when typed as {{s|mariowiki|Donkey Kong|game}}, links not to the game page, but rather a disambiguation page.</nowiki>
That's why I'm proposing the "W" template. It would work along the lines of this:
:<nowiki>{{w|mariowiki|Donkey Kong|game}}</nowiki>
Coding (I think this is how it would work; correct me if I'm wrong):
:<nowiki>[[:{{{1}}}:{{{2}}} ({{{3}}})|{{{2}}}]]</nowiki>
That way, a link like <nowiki>[[mariowiki:Donkey Kong (game)|Donkey Kong]] </nowiki>would actually link to the game page, not a disambiguation page. It makes sense, considering people do not get the purpose of this template and think that this template will link to every interwiki link, which isn't true.
So, should this be implemented? <font face="Marker Felt">[[User:Rtzxy|<span style="color:red;">Rtzxy</span>]] [[File:Reflect.jpg|20x20px]] [[User talk:Rtzxy|<span style="color:green;">''Reflect!''</span>]]</font> 17:33, 7 December 2014 (EST)
:I think this is worth a try. Call it "iw" instead of "w" though. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Incomprehensible 18:03, 7 December 2014 (EST)
::All right, I'll <s>attempt to</s> make the template. <font face="Marker Felt">[[User:Rtzxy|<span style="color:red;">Rtzxy</span>]] [[File:Reflect.jpg|20x20px]] [[User talk:Rtzxy|<span style="color:green;">''Reflect!''</span>]]</font> 18:14, 7 December 2014 (EST)
:::It works. <font face="Marker Felt">[[User:Rtzxy|<span style="color:red;">Rtzxy</span>]] [[File:Reflect.jpg|20x20px]] [[User talk:Rtzxy|<span style="color:green;">''Reflect!''</span>]]</font> 18:20, 7 December 2014 (EST)
== Dissolving IW into S ==
A [https://www.ssbwiki.com/index.php?title=Template:S&curid=32391&diff=1157895&oldid=819792 recent change] to this template has made it so that the S template functions identically to the {{s|Template|IW}} template, which was done with no previous warning. As this could be a possible {{s|SmashWiki|consensus}} issue, I thought of reverting it, but since at least one edit was already made with this change in mind, it would be a bigger hassle than it deserves to be currently. I'm starting a discussion on the talk page so this can be discussed properly before taking any action.
The main question is if people accept this change to the template, dissolving IW to S and deleting the former once all instances are changed to the latter. Since the structure of either template are currently identical, setting up a bot to do the work once consensus is reached shouldn't be a problem. I personally don't mind the change, since the difference between S and IW, as opposed to between S and {{s|Template|B}}, isn't really enough to warrant separate templates. [[File:NokiiSigC.png|link=User_talk:Nokii]] '''[[User:Nokii|{{color|#a00|Nokii}}]]''' —  11:41, 26 December 2018 (EST)

Latest revision as of 11:41, December 26, 2018

"That's the point"[edit]

I understand the humor, but I still maintain that it can give implications of the fact that the template should not be used for the purpose of interwiki linking. Furthermore, Toomai, when saying, "That's the point," implied that it shouldn't. Can someone please explain why it should not be used for interwiki linking? Air Conditioner AC.png Jai guru deva om. 20:54, 18 December 2012 (EST)

I am of the rather strong opinion that one should not use X (designed for X) for Y just because it happens to work for Y. I'd have to hear a majority say otherwise before I don't discourage it. Toomai Glittershine ??? The Obfuscating 21:01, 18 December 2012 (EST)
I prefer to think of something like this as "serendipity." After all, that's where penicillin, Popsicles, and potato chips came from! Air Conditioner AC.png Goo goo g'joob. 21:04, 18 December 2012 (EST)
Serendipity is all well and good, and it's not like the syntax will suddenly change and break one of the two usages, but it still rather bugs me to use one template to do two jobs that happen to be similar. Toomai Glittershine ??? The Trumpeteer 21:09, 18 December 2012 (EST)

There is built-in formatting for this[edit]

Simply typing [[SmashWiki:About|]] will have the same result: About
Also works for interwiki: [[wikipedia:Creme brulee|]] results in Creme brulee - Ceci n’est pas un Smiddle. 10:59, 12 June 2013 (EDT)

That gets force-converted into the long version when the edit is saved though, which can be annoying in some cases. Toomai Glittershine ??? The Awesome 11:25, 12 June 2013 (EDT)

"W" template[edit]

While this template's purpose is to link stuff like [[Special:RecentChanges|RecentChanges]] into {{s|special|RecentChanges}}, some people use it for interwiki links as well. This causes problems with links like [[mariowiki:Donkey Kong (game)|Donkey Kong]], which, when typed as {{s|mariowiki|Donkey Kong|game}}, links not to the game page, but rather a disambiguation page.

That's why I'm proposing the "W" template. It would work along the lines of this:

{{w|mariowiki|Donkey Kong|game}}

Coding (I think this is how it would work; correct me if I'm wrong):

[[:{{{1}}}:{{{2}}} ({{{3}}})|{{{2}}}]]

That way, a link like [[mariowiki:Donkey Kong (game)|Donkey Kong]] would actually link to the game page, not a disambiguation page. It makes sense, considering people do not get the purpose of this template and think that this template will link to every interwiki link, which isn't true.

So, should this be implemented? Rtzxy Reflect.jpg Reflect! 17:33, 7 December 2014 (EST)

I think this is worth a try. Call it "iw" instead of "w" though. Toomai Glittershine ??? The Incomprehensible 18:03, 7 December 2014 (EST)
All right, I'll attempt to make the template. Rtzxy Reflect.jpg Reflect! 18:14, 7 December 2014 (EST)
It works. Rtzxy Reflect.jpg Reflect! 18:20, 7 December 2014 (EST)

Dissolving IW into S[edit]

A recent change to this template has made it so that the S template functions identically to the IW template, which was done with no previous warning. As this could be a possible consensus issue, I thought of reverting it, but since at least one edit was already made with this change in mind, it would be a bigger hassle than it deserves to be currently. I'm starting a discussion on the talk page so this can be discussed properly before taking any action.

The main question is if people accept this change to the template, dissolving IW to S and deleting the former once all instances are changed to the latter. Since the structure of either template are currently identical, setting up a bot to do the work once consensus is reached shouldn't be a problem. I personally don't mind the change, since the difference between S and IW, as opposed to between S and B, isn't really enough to warrant separate templates. NokiiSigC.png Nokii — 11:41, 26 December 2018 (EST)