Template talk:Tnavbar: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(New Page: == Fixed: Bad links == From the report here http://www.niwanetwork.org/forums/index.php?topic=279.msg9252#msg9252 navbox had bad links. Looks like something was screwy with some of the cod...)
 
(→‎fullurl "template": new section)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Fixed: Bad links ==
== Fixed: Bad links ==
From the report here http://www.niwanetwork.org/forums/index.php?topic=279.msg9252#msg9252 navbox had bad links. Looks like something was screwy with some of the code in here. There was a part of the markup that looks like it's made so that using :Foo in the name= for navbox will make it link to '''Foo''' instead of '''Template:Foo''', it looks like it wasn't working the way it was intended and always linking to '''Foo''' when it's supposed to link to '''Template:Foo'''. However, a short bit after that bit of code Template talk: was used in a way that didn't take that into account so the :Foo feature was pretty much moot anyways since you'd end up with links to '''Foo''' and '''Template talk:Foo''' meaning that feature was never done anyways. [[User:Dantman|Dantman]] ([[User talk:Dantman|talk]]) 18:56, 8 November 2010 (EST)
From the report here http://www.niwanetwork.org/forums/index.php?topic=279.msg9252#msg9252 navbox had bad links. Looks like something was screwy with some of the code in here. There was a part of the markup that looks like it's made so that using :Foo in the name= for navbox will make it link to '''Foo''' instead of '''Template:Foo''', it looks like it wasn't working the way it was intended and always linking to '''Foo''' when it's supposed to link to '''Template:Foo'''. However, a short bit after that bit of code Template talk: was used in a way that didn't take that into account so the :Foo feature was pretty much moot anyways since you'd end up with links to '''Foo''' and '''Template talk:Foo''' meaning that feature was never done anyways. [[User:Dantman|Dantman]] ([[User talk:Dantman|talk]]) 18:56, 8 November 2010 (EST)
:Many thanks for your help, good sir. [[User:Miles of SmashWiki|<font color="dodgerblue"><span style="font-family:Comic Sans MS;">'''Miles''']] <font color="silver">([[User talk:Miles of SmashWiki|<font color="silver">talk]])</font></font></span></font> 18:59, 8 November 2010 (EST)
== Redo ==
As-is, this thing is too heavy-duty for our purposes. All we use for anything is the "v, d, e" display of links, but the code is somewhat optimized for [[wikipedia:Template:Navbar|a whole ton of alternate options]]. So I'll be cutting the crap and shrinking it down, hopefully fixing a problem or two in the process.
However, before I do so, I'd like an opinion: is "v, d, e" as a default okay, or should the default be "view, discuss, edit"? And what about "talk" versus "discuss"? [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Free 18:25, 19 February 2014 (EST)
:I think it's pretty obvious what "v, d, e" means, but I would not be opposed to spelling them out if someone feels otherwise. But if it is spelled out, then the shorter "talk" should be used. '''[[User:JamesHeart123|<font color="blue">James</font>]]'''[[File:JH-Heartless.png|15px|link=Special:Contributions/JamesHeart123]]'''[[User talk:JamesHeart123|<font color="orange">Heart</font>]]''' 18:32, 19 February 2014 (EST)
Bump. Would like to do this soonish. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Prismatic 18:34, 3 March 2014 (EST)
== fullurl "template" ==
Putting <nowiki><includeonly> tags around both of the uses of {{fullurl}} should prevent this template from trying to make "Fullurl:Template:" and "Fullurl:Template talk:". Putting the entire thing between <includeonly> tags also works.</nowiki> This will remove them from the WantedTemplates list and it will finally be clear. Since this is used on... pretty much every page, I didn't save and instead wanted the admins to be aware of a fix before I potentially made a huge mess. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 22:58, April 10, 2021 (EDT)

Latest revision as of 22:58, April 10, 2021

Fixed: Bad links[edit]

From the report here http://www.niwanetwork.org/forums/index.php?topic=279.msg9252#msg9252 navbox had bad links. Looks like something was screwy with some of the code in here. There was a part of the markup that looks like it's made so that using :Foo in the name= for navbox will make it link to Foo instead of Template:Foo, it looks like it wasn't working the way it was intended and always linking to Foo when it's supposed to link to Template:Foo. However, a short bit after that bit of code Template talk: was used in a way that didn't take that into account so the :Foo feature was pretty much moot anyways since you'd end up with links to Foo and Template talk:Foo meaning that feature was never done anyways. Dantman (talk) 18:56, 8 November 2010 (EST)

Many thanks for your help, good sir. Miles (talk) 18:59, 8 November 2010 (EST)

Redo[edit]

As-is, this thing is too heavy-duty for our purposes. All we use for anything is the "v, d, e" display of links, but the code is somewhat optimized for a whole ton of alternate options. So I'll be cutting the crap and shrinking it down, hopefully fixing a problem or two in the process.

However, before I do so, I'd like an opinion: is "v, d, e" as a default okay, or should the default be "view, discuss, edit"? And what about "talk" versus "discuss"? Toomai Glittershine ??? The Free 18:25, 19 February 2014 (EST)

I think it's pretty obvious what "v, d, e" means, but I would not be opposed to spelling them out if someone feels otherwise. But if it is spelled out, then the shorter "talk" should be used. JamesJH-Heartless.pngHeart 18:32, 19 February 2014 (EST)

Bump. Would like to do this soonish. Toomai Glittershine ??? The Prismatic 18:34, 3 March 2014 (EST)

fullurl "template"[edit]

Putting <includeonly> tags around both of the uses of {{fullurl}} should prevent this template from trying to make "Fullurl:Template:" and "Fullurl:Template talk:". Putting the entire thing between <includeonly> tags also works. This will remove them from the WantedTemplates list and it will finally be clear. Since this is used on... pretty much every page, I didn't save and instead wanted the admins to be aware of a fix before I potentially made a huge mess. --CanvasK (talk) 22:58, April 10, 2021 (EDT)