Template talk:Date table sorting/Archive 1: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Template talk:Dts) (bot
m Archiving 1 discussion(s) from Template talk:Dts) (bot
Line 619:
</blockquote>
--[[User:Mathieu ottawa|Mathieu ottawa]] ([[User talk:Mathieu ottawa|talk]]) 16:59, 18 February 2018 (UTC)
 
== Adding Display ==
 
I *think* that what needs to be added to the code is the following. After line 408 in [[Module:Dts]] where is says
 
<code>
if self.format == 'hide' then
return ''
end
</code>
I think adding an
<code>
if self.display then
return self.display
end
</code>
Not sure if the self.display test should simply be for existance or if it needs a <nowiki><> ''</nowiki>. Don't know the language well enough (but I program for a living)[[User:Naraht|Naraht]] ([[User talk:Naraht|talk]]) 17:11, 19 February 2018 (UTC)
:[[Module:Dts]] was last edited in July 2015. Mr. Stradivarius has put proposed changes in [[Module:Dts/sandbox]] which can be tested using {{tl|dts/sandbox}}.
{{#invoke:convert/tester|compare|dts}}
:[[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 23:42, 19 February 2018 (UTC)