Template talk:Dw-nsdnld
Code Update
[edit]{{editprotected}}
Could a templatey administrator change this
<includeonly>{{subst:</includeonly><includeonly>empty template|<strong class="error">You forgot to subst this template. Replace {{dw-nsdnld}} with {{subst:dw-nsdnld}}</strong>}}{</includeonly><noinclude>{</noinclude>{<noinclude>[[Template:</noinclude>di-dw no source no license<noinclude>|di-dw no source no license]]</noinclude>|month={{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}|day={{<includeonly>subst:</includeonly>CURRENTDAY}}|year={{<includeonly>subst:</includeonly>CURRENTYEAR}}}}
<noinclude>
{{pp-template|small=yes}}
{{documentation}}</noinclude>
to this
<includeonly>{{{{{|safesubst:}}}substchecktop|Dw-nsdnld|subst={{{subst|}}}}}</includeonly>{{<noinclude>tlp|</noinclude>di-dw no source no license|<noinclude>2=</noinclude>date={{{{{|safesubst:}}}Date}}}}<includeonly>{{{{{|safesubst:}}}substcheckbottom|subst={{{subst|}}}}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
at Template:Dw-nsdnld? Thanks. Set Sail For The Seven Seas 252° 32' 45" NET 16:50, 13 September 2010 (UTC)
- Could you first explain what this is supposed to do so I know I'm not breaking anything? Hersfold (t/a/c) 03:45, 19 September 2010 (UTC)
- These updates add the following changes to the template:
- Updating the substitution check code to a more efficient version.
- Optimising the demo display on the Template:Dw-nsdnld page to use Template:Tlp, simplifying the code.
- Removing the redundant page protection template, which is already included as part of the documentation.
- Updating the date parameters to use existing date templates rather than variables, simplifying the code.
- Thanks. Set Sail For The Seven Seas 317° 13' 15" NET 21:08, 19 September 2010 (UTC)
- These updates add the following changes to the template:
- As with the other templates you've requested PER for, I have to say Not done at present. I'd like to see it tested in a sandbox, otherwise my feeling is "If it ain't broke, don't fix it." — Tivedshambo (t/c) 21:56, 21 September 2010 (UTC)
A copy of this code can now be found in the sandbox and its effects can be seen at testcases. The template updates include the following changes:
- Updating the substitution check code to a more efficient version.
- Updating the date parameters to use existing date templates rather than variables, simplifying the code.
- Optimising the demo display on the Template:Dw-nsdnld page to use Template:Tlp, simplifying the code.
- Removing the redundant page protection template, which is already included as part of the documentation.
- Moving categories to the documentation subpage.
Thanks. Set Sail For The Seven Seas 344° 25' 30" NET 22:57, 21 September 2010 (UTC)
- Done I trust you know what you're doing.. -- Ϫ 02:39, 22 September 2010 (UTC)