Jump to content

Topic on Help talk:Signatures/Flow

71.208.90.243 (talkcontribs)

How can someone add a template to their signature without having it automatically adding the SUBST: to it (or bypass it even if it is added works too).

This post was posted by 71.208.90.243, but signed as Peckham33.

Harry Wood (talkcontribs)

I'll answer your question with a question: Eugh! Why would anyone want to do such a thing?

Rbirmann (talkcontribs)

Eugh! Why not?

In our corporate wiki we would like to have a Template:Comment that adds a simple box with a special "comment" format on any given article, and we'd like to have a signature appended to it. Something like:

{{comment|This should be reviewed by the legal department!}}

Most our users have a hard time with wiki syntax so making it simple would be much better than asking everybody to "remember to sign all your comments" (this is how we operate today and, well, most people never sign).

We often nest comments like this:

{{comment|This should be reviewed by the legal department!
      {{comment|yes, we are looking into it!}}
      {{comment|also submit to marketing after you are done...
          {{comment| ok, will do}} 
      }}
 }}
   

Before anyone says anything, no, we do not like to use discussion pages, since we want these comments visible in the main page.

Any thoughts on this would be very much appreciated.

Thanks in advance...

Harry Wood (talkcontribs)

The original question was about adding a template to a signature.

You're saying on your corporate wiki people forget to sign, so you're using a template instead of a signature. Did you have a different question about doing that? Did you want to ask how to add a signature to a template? (That's the other way round from what the original question was ...and a more sensible thing to want to do)

24pm (talkcontribs)

This is my question too. Is it possible to add signature in template? I need to add signature in comment template, which highlights the changed text and popup comment when mouse is moved over. History is not good at this case.

  • ~~~~ turns to words when we save template and therefore template returns the same user and timestamp every time;
  • {{REVISIONUSER}} - {{REVISIONTIMESTAMP}} changes (updates) the signature (everywhere in text) on every edit.

The only solution I have found for now is to add signature manually

Tgeorgescu (talkcontribs)

The answers below were meant for you.

Tgeorgescu (talkcontribs)

Yup, I have done it with:

Tgeorgescu (discuție) {{subst:#timel: d F Y H:i:s}} ({{subst:#ifeq:{{subst:Daylight saving in time zone}}|1|EEST|EET}})

Tgeorgescu (talkcontribs)

It does not show well, I try again:

[[Utilizator:Tgeorgescu|Tgeorgescu]] ([[Discuție utilizator:Tgeorgescu|discuție]]) {{{{{|subst:#timel: d F Y H:i:s}}}}} ({{{{{|subst:#ifeq:{{{{{|subst:Daylight saving in time zone|EET}}}}}}}}|1|EEST|EET}})

Tgeorgescu (talkcontribs)

That would be:

[[User:Tgeorgescu|Tgeorgescu]] ([[User talk:Tgeorgescu|talk]]) {{{{{|subst:#timel: d F Y H:i:s}}}}} ({{{{{|subst:#ifeq:{{{{{|subst:Daylight saving in time zone|EET}}}}}}}}|1|EEST|EET}})

Tgeorgescu (talkcontribs)

It had an error. Correct is:

[[User:Tgeorgescu|Tgeorgescu]] ([[User talk:Tgeorgescu|talk]]) {{{{{|subst:#timel: d F Y H:i:s}}}}} ({{{{{|subst:#ifeq:{{{{{|subst:Daylight saving in time zone}}}}}}}}|EET|1|EEST|EET}})

24pm (talkcontribs)

Thank you for reply, Tgeorgescu! In this example user name is a constant, but we need a variable. The template should add current user name to signature and save it as text, which means ones it is saved it would not be changed on any next edits.

Reply to "Templates"