The new Waze Wiki, aka Wazeopedia, is now live at Wazeopedia.waze.com! While this legacy wiki will remain accessible for the time being, it is no longer updated by the community. For the most up-to-date guidance, please visit your local Wazeopedia.

Please do not make any more updates to these legacy wiki pages, all future updates should be made in your country's local Wazeopedia.

Clock over a larger globe

Difference between revisions of "Template:NewScript"

From waze
Jump to: navigation, search
(testing margin 5)
m (remove draftlink)
 
Line 1: Line 1:
 
<noinclude>{{doc}}</noinclude><includeonly>{{#if:{{{1|}}}|<div style="border:solid 2px #93C4D3;  border-radius: 100px 0px 0px; margin: 5px; background: #8AC007; padding: .5em 1em 0em; background-color:transparent; color:#000;zoom: 1"><!--
 
<noinclude>{{doc}}</noinclude><includeonly>{{#if:{{{1|}}}|<div style="border:solid 2px #93C4D3;  border-radius: 100px 0px 0px; margin: 5px; background: #8AC007; padding: .5em 1em 0em; background-color:transparent; color:#000;zoom: 1"><!--
--><div style="padding:1ex 1ex 0ex; ">{{Expand|/{{{1}}}|{{{1}}}|section=3|newscript=yes|edit={{FULLPAGENAME}}/{{{1|}}}|summary={{#ifexist:{{FULLPAGENAME}}/{{{1|}}}|{{/{{{1|}}}|summary=yes}}|[http://wiki.waze.com/wiki/{{DraftLink|Scripts}}/{{urlencode:{{{1|}}}|PATH}}?action{{=}}edit&section{{=}}new&preload{{=}}Scripts/Preload {{Primary Street|Click here to add your script content}}]}} }}</div></div>|{{red|ERROR: No script title was provided in the template.}}}}</includeonly>
+
--><div style="padding:1ex 1ex 0ex; ">{{Expand|/{{{1}}}|{{{1}}}|section=3|newscript=yes|edit={{FULLPAGENAME}}/{{{1|}}}|summary={{#ifexist:{{FULLPAGENAME}}/{{{1|}}}|{{/{{{1|}}}|summary=yes}}|[http://wiki.waze.com/wiki/Scripts/{{urlencode:{{{1|}}}|PATH}}?action{{=}}edit&section{{=}}new&preload{{=}}Scripts/Preload {{Primary Street|Click here to add your script content}}]}} }}</div></div>|{{red|ERROR: No script title was provided in the template.}}}}</includeonly>

Latest revision as of 17:48, 23 December 2016

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is to be used to add a new script into the Scripts page, as a new section.

It takes only one unnamed parameter which should be the Script title.

To use this template,

  1. Click to edit the appropriate top level section for the kind of script you wish to add (Map Editor presentation enhancements, Map Editing, ...)
  2. Place the following code on the page in the desired location for the new section. (not in middle of another scripts sections, but between sections)
    {{NewScript|SCRIPT TITLE}}
  3. Save the page, make sure to leave an edit summary.
  4. Click to expand your new section, and click on the link to add your script content.
  5. Fill in all the required details, read the notes in the wiki text, and remove the {{AddCode}} boxes as you complete those tasks.
  6. Save the new page with your script content.

See Also

This script is a simplified version designed specifically to be used on the Scripts page. It relies heavily on the {{Expand}} template.

The above documentation is transcluded from Template:NewScript/doc.
Please add categories to the /doc subpage.
Subpages of this template.