No edit summary |
m (Archiving Admin Forums) |
||
Line 1: | Line 1: | ||
+ | {{ForumArchiveBox}} |
||
− | {{Admin-Forumheader|Technical Help}} |
||
+ | |||
+ | [[Category:Technical Help|Signature Timestamp]] |
||
+ | <div class="forumheader" style="margin-bottom: .25em;">'''Forums:''' [[Admin Central:Forum|Admin Central Index]] '''→''' [[Admin Forum:Technical Help|Technical Help]] '''→''' Signature Timestamp |
||
+ | </div> |
||
+ | <div style="text-align:center; margin-bottom: .5em; font-size:90%; border:1px solid #ccc; border-top: 0px; padding:0 4px;" >Wikia's forums are a place for the community to help other members.<br/> To contact staff directly or to report bugs, please use [[Special:Contact]].</div> |
||
+ | |||
<!-- Please put your content under this line. Be sure to sign your edits with four tildes: ~~~~ |
<!-- Please put your content under this line. Be sure to sign your edits with four tildes: ~~~~ |
Latest revision as of 18:39, 1 March 2013
Forums: Admin Central Index → Technical Help → Signature Timestamp
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
Hi there,
I wanted to ask if anyone has a way to have a timestamp work properly for custom signatures. I've attempted quite a few times to get it to work, but the code that I put in often immediately turns into a timestamp, meaning that my signatures are given an incorrect time. Is there any way to get a piece of code that will make each of my signatures give a correct time-stamp, or do I need to change the way I use the signature itself? ~ Demise101 ♥ Lets Talk! ♥ Blogs! ~
- This is how I have mine set up:
- My signature has two unnamed parsers, one each for both time and date.
- My signature redirect passes those two parameters.
- In my preferences, I substitute those two parameters, expressing them as the correct time and date:
{{SUBST:User:Dzylon/Sig|{{SUBST:#time: h:i:s}}|{{SUBST:#time: F d, Y}}}}
- It's also a good idea to have an #if parser function in your preferences, so you don't need to port your signature everywhere you edit.
- Edit: I see you have a smaller sig, so the redirect thing isn't really necessary (though not a bad idea, as it decreases talk page clutter). You can just skip step two.
- Oh, I see. Thanks! I do have a question though; what does the #if parser do? ~ Demise101 ♥ Lets Talk! ♥ Blogs! ~
- Oops! I'm using the Nosubst template, so I'll have to change it. Thanks again, ~ Demise101 ♥ Lets Talk! ♥ Blogs! ~
{{#ifexist:User:Example/Sig | REAL SIG HERE | PROVISIONARY SIG HERE}}
- With that in your preferences, the server checks to see if User:Example/Sig exists. If it does, the entire signature is used. If it doesn't, a shorter one is used (that doesn't require any local pages to function). This way, if you need to use your signature on a wiki that you haven't yet ported it onto, you can. Mine does this: Dzylon (Talk) 10:37:28/June 06, 2012
- Edit: I looked at your SigReal page and noticed you were using two unnamed parameters right next to each other. This isn't necessary in your case; you could just use one. I need to have two with mine because there's a border between the time and date.
- Edit: I looked at your SigReal page and noticed you were using two unnamed parameters right next to each other. This isn't necessary in your case; you could just use one. I need to have two with mine because there's a border between the time and date.
Hmm....Alright. Thank you very much or your help, I'll get working on it now :) ~ Demise101 ♥ Lets Talk! ♥ Blogs! 10:45:11 June 06, 2012 ~