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:USRedirect"

From waze
Jump to: navigation, search
m (adjusted urlencode to also apply to defined link)
m (added USA/ for defined urls)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{Redirect|{{urlencode:{{{1|USA/{{FULLPAGENAME}}}}}|WIKI}}|{{{2|We have moved to Wazeopedia, please view this page on our new USA Wazeopedia for the newest version.}}}}}[[Category:Pages Redirected to USA Wazeopedia]]</includeonly>
+
{{Redirect|USA/{{urlencode:{{{1|USA/{{FULLPAGENAME}}}}}|WIKI}}|{{{2|We have moved to Wazeopedia, please view this page on our new USA Wazeopedia for the newest version.}}}}}[[Category:Pages Redirected to USA Wazeopedia]]</includeonly>
 
<noinclude>{{doc}}</noinclude>
 
<noinclude>{{doc}}</noinclude>

Revision as of 01:13, 17 February 2017

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

This template should be placed on any USA specific page in this legacy wiki. It will force the page to redirect to the relevant page in the USA Wazeopedia as the page finishes loading. This will allow us to point users to the new Wazeopedia, and also ensure they see the most updated content.

Usage

By default when placed on a page, as the page loads it will then reload to the same page in the USA Wazeopedia. This default action can be overridden by using the optional parameters. This is useful if the page is in a new location in Wazeopedia than i here in the legacy wiki.

Parameters

Both parameters are optional, and can be used to override the default behaviour.

  1. The first optional parameter can be used to change the redirect target to a different page by specifying the FULLPAGENAME of the page in the USA Wazeopedia you want it to redirect to.
  2. The second optional parameter can be used to change the displayed link text (however this will usually not be seen since the page reloads automatically).

Examples

{{USRedirect}}
This will redirect to this page in the USA Wazeopedia like this: We have moved to Wazeopedia, please view this page on our new USA Wazeopedia for the newest version.

{{USRedirect|Parking}}
This will redirect to the Parking page in the USA Wazeopedia like this: We have moved to Wazeopedia, please view this page on our new USA Wazeopedia for the newest version.


{{USRedirect|Parking|See the Parking page in the USA Wazeopedia}}

This will redirect to the Parking page in the USA Wazeopedia like this: See the Parking page in the USA Wazeopedia

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