Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:New editor advice

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 16 years ago by Sphilbrick

I wanted to make this template so it would automatically includes the sig and time stamp of the person using it. Why, given that it isn’t hard to add a sig? Because I noticed that adding the sig and time placed it on a new line, without the same indentation as the rest of the message. Didn’t look good. There may be a way to fix that, but I didn’t find it. Plus, why do two steps if you can do one?
Yes, I’m aware that sigs in templates are discouraged, but I presume that is because many templates are intended for use in articles, where a sig is not appropriate. This template should only be used in help discussions, where a sig is appropriate.
When I first added a sig to the text, it converted it to a static sig, which meant the original time, and more importantly, my sig would be in each use. Not what I want. I think I found the right advice here Wikipedia:Village_pump_(technical)/Archive_64#Add_signature_to_template so I implemented it by adding <includeonly>~~~~</includeonly> to the end. If that isn’t appropriate, please let me know.SPhilbrickT 13:21, 7 October 2009 (UTC)Reply

I never did find out how to incorporate a sig in a template, but as I as save commonly used clips, I have saved a clip as follows:
  • {{subst:NEA}}--~~~~
Note that there is also a shortcut template {{NEA}}, which is simply a shortcut to this template, and the template should be substituted --SPhilbrickT 13:17, 16 May 2010 (UTC)Reply