Using an personal signature
this wiki
Forum page
This Forum has been archived
Visit the new ForumsTo contact staff directly or to report bugs, please use Special:Contact.
I just made a personal sig like next : [1]. But I can't figure out how to make current time appear at the end of the text. (This templates is using {{{1|}}} for optional parameter: I'd like to have something like 21/May/2013 18:53 Korea over here.) Please have a look on the page above and give me some advice. Thank you. Cafeinlove 08:54, February 21, 2011 (UTC)
- Maybe something with magic words like
{{SUBST:CURRENTDAY}}? --Plasmarelais 09:59, February 21, 2011 (UTC)- Wonderful. I replaced it with
{{{1|{{LOCALDAY}}/{{LOCALMONTH}}/{{LOCALYEAR}} {{LOCALTIME}}}}}and it seems to work without problem. Thank you! Cafeinlove 10:31, February 21, 2011 (UTC)
- Wonderful. I replaced it with
- But isn't it necessary to substitute into the values of the magic words? I don't know how you use your sig, but atm I'll always show the current time, dynamically. --Plasmarelais 10:40, February 21, 2011 (UTC)
- I have tried the substitution, but when I save the page, all the magic words get replaced with the real value(ex. subst:currentday -> 21). But it seems to work well without subst, you can see it on [2]. Cafeinlove 11:06, February 21, 2011 (UTC)
- Ah finally no, I get realtime value with this codes. Is there an another way to have timestamp here? Cafeinlove 14:08, February 21, 2011 (UTC)
- I put
{{SUBST:User:Cafeinlove/sig|{{SUBST:#time:j/M/Y G:i}}}}for a test. It works pretty well, unless I got the timestamp doubled like next. what could possibly go wrong? - Cafeinlove talk mail seiyuu 22/Feb/2011 1:39 01:39, February 22, 2011 (UTC)
- I put
Your sig is adding too much text, make sure you have two sig pages. For mine I have User:Godisme/Sig2 which contains the code of my sig. Then I have User:Godisme/Sig which just had{{User:Godisme/Sig2|{{{1|''Predated ''}}}}} my preferences contains {{SUBST:User:Godisme/Sig|{{SUBST:#time: H:i,n/j/Y}}}}. To avoid the double timestamp just use three tildes instead of 4--GodPray 01:52,2/22/2011
- Thank you for helping. I gotta try like you said. Cafeinlove, 02:01, 2/22/2011
- I think now it's done properly. Thank you to all of you! Cafeinlove msg 2/22/2011, 02:19