Jump to content

Template talk:JavaScript: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Latest comment: 12 years ago by BDD in topic Move proposal on January 9, 2014
Content deleted Content added
Technical 13 (talk | contribs)
→Move proposal on January 9, 2014: collapse code sections per request of User:BDD (and I hope that resolves your issue).
Technical 13 (talk | contribs)
→Move proposal on January 9, 2014: If this doesn't do it, I don't know what will
Line 8: Line 8:
{{Requested move/dated|Template:JavaScript navbox}}
{{Requested move/dated|Template:JavaScript navbox}}


[[:Template:JavaScript]] → {{no redirect|Template:JavaScript navbox}} – To make room for a new Template:JavaScript that can be used as a wrapper for edit requests to .js pages with source highlighting and background coloring. Examples would look like:
[[:Template:JavaScript]] → {{no redirect|Template:JavaScript navbox}} – To make room for a new Template:JavaScript that can be used as a wrapper for edit requests to .js pages with source highlighting and background coloring. Examples would look like: (moved below my signature for transcluding reasons)
⚫
Thanks for your consideration [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 05:42, 9 January 2014 (UTC) [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 05:42, 9 January 2014 (UTC)

⚫
===Discussion===
⚫
* [[User:Technical 13|Technical 13]], would you mind reformatting the nomination so the examples aren't part of the initial statement? It's affecting display at [[WP:RM]]. Thanks, [[User:BDD|BDD]] ([[User talk:BDD|talk]]) 19:41, 9 January 2014 (UTC)
:* Examples: (moved from above)

{{Hst|reason=This would...}}
{{Hst|reason=This would...}}
<code><pre><nowiki>{{JavaScript|remove|
<code><pre><nowiki>{{JavaScript|remove|
Line 46: Line 52:
</syntaxhighlight>
</syntaxhighlight>
{{Hsb}}
{{Hsb}}
⚫
Thanks for your consideration [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 05:42, 9 January 2014 (UTC) [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 05:42, 9 January 2014 (UTC)

⚫
===Discussion===
⚫
*[[User:Technical 13|Technical 13]], would you mind reformatting the nomination so the examples aren't part of the initial statement? It's affecting display at [[WP:RM]]. Thanks, [[User:BDD|BDD]] ([[User talk:BDD|talk]]) 19:41, 9 January 2014 (UTC)


=== Survey ===
=== Survey ===

Revision as of 19:52, 9 January 2014

Move proposal on January 9, 2014

Template:JavaScript → Template:JavaScript navbox – To make room for a new Template:JavaScript that can be used as a wrapper for edit requests to .js pages with source highlighting and background coloring. Examples would look like: (moved below my signature for transcluding reasons) Thanks for your consideration Technical 13 (talk) 05:42, 9 January 2014 (UTC) Technical 13 (talk) 05:42, 9 January 2014 (UTC)Reply

Discussion

  • Examples: (moved from above)
This would...
{{JavaScript|remove|
   /* section */
   var section = true;
   if(!section){
      alert("LIES!");
   }
}}
...result in:
   /* section */
   var section = true;
   if(!section){
      alert("LIES!");
   }

or

This would...
{{JavaScript|add|
   /* section */
   var section = true;
   if(section){
      alert("You've spoken the truth!");
   }
}}
...result in:
   /* section */
   var section = true;
   if(section){
      alert("You've spoken the truth!");
   }

Survey

Support

  1. As nominator - Technical 13 (talk) 05:43, 9 January 2014 (UTC)Reply

Oppose

Support/Oppose

  • Thanks for the clarification. Your nomination rationale makes it look like creating an edit request template. Making {{JavaScript}} a JS formatting template is a good idea. However, the green/red option seems mandatory, this should not be the case, if it is to provide generic javascript formatting functionality. Can it just be plain clear if it doesn't specify add or remove? -- 70.50.148.122 (talk) 08:16, 9 January 2014 (UTC)Reply
{{JavaScript|
   /* section */
   var section = true;
   if(!section){
      alert("TEXTALERT");
   }
}}
   /* section */
   var section = true;
   if(!section){
      alert("TEXTALERT");
   }