Forum:Welcomed with lotsa variables!

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Welcomed with lotsa variables!
Archive
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 4 October 2011 by Liquidhelium.


Hello. Recently I have noticed this is how you welcome: {{Welcome|<insert name here>|~~~~}}. I think we should change it to this: {{Welcome|<insert name here>}}. All you'll need is the username because the code will change from this:

{| class="welcomenotice"
| [[File:Wiki.png|right|The RuneScape Wiki]]
Hello, {{<includeonly>safesubst:</includeonly>BASEPAGENAME}}, and welcome to the ''RuneScape'' Wiki! Here are a few pages that you might find helpful:

*[[RuneScape:Frequently asked questions|Answers to frequently asked questions]]
*[[RuneScape:Policies|A list of policies for the RuneScape Wiki]]
*[[RuneScape:Style guide|The style guide, containing instructions on formatting]]
*[[RuneScape:Customising your userpage|About userpages, and how to customise your own]]
*[[RuneScape:Signatures|Signature guidelines]], and a place to [[RuneScape:Signatures/Requests|request a signature be made for you]]
*[[RuneScape:Administrator requests|Administrator requests]] and [[RuneScape:User help|user help]], if any extra help is needed

If you have any trouble or need help, feel free to ask questions on {{<includeonly>safesubst:</includeonly>#if:{{{1|}}}|[[User talk:{{{1}}}|my talk page]] or any other|any}} editor's talk page. We hope you like it here and decide to stay!

{{{2|}}}

To this:

{| class="welcomenotice"
| [[File:Wiki.png|right|The RuneScape Wiki]]
Hello, {{<includeonly>safesubst:</includeonly>BASEPAGENAME}}, and welcome to the ''RuneScape'' Wiki! Here are a few pages that you might find helpful:

*[[RuneScape:Frequently asked questions|Answers to frequently asked questions]]
*[[RuneScape:Policies|A list of policies for the RuneScape Wiki]]
*[[RuneScape:Style guide|The style guide, containing instructions on formatting]]
*[[RuneScape:Customising your userpage|About userpages, and how to customise your own]]
*[[RuneScape:Signatures|Signature guidelines]], and a place to [[RuneScape:Signatures/Requests|request a signature be made for you]]
*[[RuneScape:Administrator requests|Administrator requests]] and [[RuneScape:User help|user help]], if any extra help is needed

If you have any trouble or need help, feel free to ask questions on {{<includeonly>safesubst:</includeonly>#if:{{{1|}}}|[[User talk:{{{1}}}|my talk page]] or any other|any}} editor's talk page. We hope you like it here and decide to stay!

{{Template:Signature/{{{1|}}}}}

Basically I use {{{1}}}'s variable to the signature, which will save time, make it easy, and speed up the competition!

--中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 22:13, September 27, 2011 (UTC)

ANOTHER IDEA BY TyA:

{| class="welcomenotice"
| [[File:Wiki.png|right|The RuneScape Wiki]]
Hello, {{<includeonly>safesubst:</includeonly>BASEPAGENAME}}, and welcome to the ''RuneScape'' Wiki! Here are a few pages that you might find helpful:

*[[RuneScape:Frequently asked questions|Answers to frequently asked questions]]
*[[RuneScape:Policies|A list of policies for the RuneScape Wiki]]
*[[RuneScape:Style guide|The style guide, containing instructions on formatting]]
*[[RuneScape:Customising your userpage|About userpages, and how to customise your own]]
*[[RuneScape:Signatures|Signature guidelines]], and a place to [[RuneScape:Signatures/Requests|request a signature be made for you]]
*[[RuneScape:Administrator requests|Administrator requests]] and [[RuneScape:User help|user help]], if any extra help is needed
*[[RuneScape:University of Lumbridge|The University of Lumbridge archives]] for basic editing tutorials

If you have any trouble or need help, feel free to ask questions on {{<includeonly>safesubst:</includeonly>#if:{{{1|}}}|[[User talk:{{{1}}}|my talk page]] or any other|any}} editor's talk page. We hope you like it here and decide to stay!

~~<noinclude></noinclude>~~

Discussion

Comment - Not everyone uses Template:Signatures/<username> for their sig. Suppa chuppa Talk 22:14, September 27, 2011 (UTC)

Comment - You're supposed to use {{Subst:Welcome|Username|~~~~}}, fyi. And my signature is not located at Template:Signatures. sssSp7p.pngIjLCqFF.png 22:16, September 27, 2011 (UTC)

Question - Can someone come up with a code that allows both ways? --中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 22:41, September 27, 2011 (UTC)

We already did. It's called {{Welcome Notice}}. ʞooɔ 23:51, September 27, 2011 (UTC)
I mean I can do {{welcome|~~~~}} and {{welcome|<insert name here>|~~~~}}? No I can't. --中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 00:11, September 28, 2011 (UTC)

Oppose - The problem with that is not everyone has their signature in the template namespace. Quite a few people have their signature in their userspace.

You can't just use User:{{{1}}}/Signature or something, because you can put them on any page at all in your userspace. My sig, for example, is at User:Matthew2602/sig, but someone else's could be User:Foo1/ILOVECABBAGES.

One way around that would be to do something like this:

{{Welcome notice|Username|Signature subpage}}
{{#if:{{{2|}}}|{{User:{{{1}}}}/{{{2}}}}}|{{Template:Signatures/{{{1}}}}}}}

Which would have user's define the subpage of their signature.

The problem with that is it's a hell of a lot simpler to just type 4 tildes. My signature is very simple as all I would have to type is sig, but what about people who it wouldn't be so simple for? Wouldn't be more simpler just to type 4 tildes to sign?

That said, you could automate the process by using Q's auto-welcome script, which I use and I highly recommend, but for people who don't know about it or don't want to use it, welcoming could potentially take a lot longer than it would have previously.

So yeah, no thanks. Matt (t) 00:22, September 28, 2011 (UTC)

Also, if we did this than we wouldn't have the time with the signature, which means that you would have to go to the history to find when the user was welcomed, which is unnecessarily annoying and time consuming. Matt (t) 00:40, September 28, 2011 (UTC)

Comment - Would this work?

{| class="welcomenotice"
| [[File:Wiki.png|right|The RuneScape Wiki]]
Hello, {{<includeonly>safesubst:</includeonly>BASEPAGENAME}}, and welcome to the ''RuneScape'' Wiki! Here are a few pages that you might find helpful:

*[[RuneScape:Frequently asked questions|Answers to frequently asked questions]]
*[[RuneScape:Policies|A list of policies for the RuneScape Wiki]]
*[[RuneScape:Style guide|The style guide, containing instructions on formatting]]
*[[RuneScape:Customising your userpage|About userpages, and how to customise your own]]
*[[RuneScape:Signatures|Signature guidelines]], and a place to [[RuneScape:Signatures/Requests|request a signature be made for you]]
*[[RuneScape:Administrator requests|Administrator requests]] and [[RuneScape:User help|user help]], if any extra help is needed
*[[RuneScape:University of Lumbridge|The University of Lumbridge archives]] for basic editing tutorials

If you have any trouble or need help, feel free to ask questions on {{<includeonly>safesubst:</includeonly>#if:{{{1|}}}|[[User talk:{{{1}}}|my talk page]] or any other|any}} editor's talk page. We hope you like it here and decide to stay!

~~<noinclude></noinclude>~~
|}

So when it's transcluded it would remove the period making the ~~ and ~~ come together and make a ~~~~ which would show up as the person's signature, and the parameter would change the username. Is this correct? svco4bY.png3Gf5N2F.png 01:04, September 28, 2011 (UTC)

I like it. Thanks! --中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 01:50, September 28, 2011 (UTC) (noinclude)
Btw, if you put ~~~ on the page, it will transclude whoever adds it to the page's signature. svco4bY.png3Gf5N2F.png 01:51, September 28, 2011 (UTC)
Fixed by someone. Thanks. --中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 02:07, September 28, 2011 (UTC)
Not working with period, look. --中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 02:10, September 28, 2011 (UTC)
Did you transclude it or just copy paste it? svco4bY.png3Gf5N2F.png 02:11, September 28, 2011 (UTC)
Checking the source of the page you showed as an example, you definitely copied and pasted it, as the noinclude is still there. As well, without actually trying it, I'm 99.9% sure it'll work, after all, some other templates like RuneScape:AutoWikiBrowser/Shutdown_preload use it. It's really not a huge deal, though OMG!. Hofmic Talk 02:46, September 28, 2011 (UTC)
And it worked when I subst:'d it from my sandbox onto his talk page. svco4bY.png3Gf5N2F.png 03:07, September 28, 2011 (UTC)

oppose - I don't see a point in creating a thread just to remove one parameter from a template, which creates complications you don't even know how to fix. --Iiii I I I 03:21, September 28, 2011 (UTC)

and stop using {{c}}. --Iiii I I I 03:22, September 28, 2011 (UTC)

Be bold - Matt (t) 03:33, September 28, 2011 (UTC)

Help requests on RS:UH please - This doesn't require consensus, so please don't make a YG thread for it. JOEYTJE50TALKpull my finger 07:10, September 28, 2011 (UTC)

Per BB - Closed thread - --中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 12:22, September 28, 2011 (UTC)

Comment - I was going to close this, but changing it will break non-substed uses. So really, these will need to be fixed first. Quest.png Gaz Lloyd 7:^]Events!99s 15:26, September 28, 2011 (UTC)

/me shakes head
We could simply use {{{2|~~<noinclude></noinclude>~~}}} instead of the current {{{2|}}}. Then the links won't have to be fixed, and still subst:ed it will automatically give the signature. When not subst:ed, it will still require the sig in the 2nd parameter though (not good to do that, but apparently it still happens) JOEYTJE50TALKpull my finger 08:59, September 29, 2011 (UTC)
No, some people may not want to have their signature inside of the template, and many users do things like {{welcome}} ~~~~. That wouldn't work. Suppa chuppa Talk 18:28, September 29, 2011 (UTC)
With that code, they could do {{Welcome|Username|}} instead of {{Welcome|Username}}. That's a very minor change, and will make it easier to use for all others. JOEYTJE50TALKpull my finger 07:14, September 30, 2011 (UTC)

Question - Then how are we going to change it? --中亚人/中亞人 (Chinasian/Jeffwang16) 跟我谈话 23:46, September 28, 2011 (UTC)

Look up one line and you'll see us discussing that <_> JOEYTJE50TALKpull my finger 07:14, September 30, 2011 (UTC)

Closed - Whatever changes take place don't need consensus. There is no consensus here to do anything, but if someone can come up with a good way to implement this, then go ahead. --LiquidTalk 16:44, October 4, 2011 (UTC)