Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Tales from Chyria
Search
Editing
Module talk:Unsubst
(section)
From Tales from Chyria
Namespaces
Module
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Question about sigs in this template == I'm looking to add a signature option to {{t|Dashboard.wikiedu.org assignment}} using this template so that if someone adds the template, a bot can subst the call and return the original template call plus the user's signature (or maybe even just a timestamp). However, I am concerned that adding in something dynamic like a timestamp will cause issues if the template is substed. Basically, I'm not sure how to code it so that it gives accurate information that stays static after substing. Example: *<code><nowiki>{{dashboard.wikiedu.org assignment | course = Wikipedia:Example | assignments = [[User:Primefac]] | start_date = 2022-01-24 | end_date = 2022-05-13 }}</nowiki></code> *{{dashboard.wikiedu.org assignment | course = Wikipedia:Example | assignments = [[User:Primefac]] | start_date = 2022-01-24 | end_date = 2022-05-13 }} Substing the template call would ideally give something like *{{dashboard.wikiedu.org assignment | course = Wikipedia:Example | assignments = [[User:Primefac]] | start_date = 2022-01-24 | end_date = 2022-05-13 }} 08:16, 16 March 2022 (UTC) This is primarily to allow for archiving when the course is over (because at current, sections [[Talk:GLAAD#Wiki_Education_assignment:_Gender_and_Technoculture|like this]] won't ever be archived). Please let me know how far off the mark I am. Thanks! [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 08:17, 16 March 2022 (UTC) : The module already has a magic value <code><nowiki>__DATE__</nowiki></code> that is replaced with the current month and year when adding the parameter while substing. This is used in maintenance templates. [[User:Anomie|Anomie]][[User talk:Anomie|β]] 11:44, 16 March 2022 (UTC) ::Right, I guess it's just a question of how I can best use that to include a timestamp for archival purposes... [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 14:08, 16 March 2022 (UTC)
Summary:
Please note that all contributions to Tales from Chyria may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Chyria Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs