Difference between revisions of "Template:Urldecode/doc"
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Urldecode}}...") |
|||
Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
− | {{tl|urldecode}} reverses the transformation done by magic word <code><nowiki>{{urlencode:}}</nowiki></code> (''[[viz.]]'', [[Percent-encoding]]). | + | {{tl|urldecode}} reverses the transformation done by magic word <code><nowiki>{{urlencode:}}</nowiki></code> (''[[Wikipedia:viz|viz.]]'', [[Wikipedia:Percent-encoding|Percent-encoding]]). |
:: <code><nowiki>{{</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|C%C3%B4te+d%27Ivoire}}</nowiki></code> would produce <code>{{urldecode|C%C3%B4te+d%27Ivoire}}</code> | :: <code><nowiki>{{</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|C%C3%B4te+d%27Ivoire}}</nowiki></code> would produce <code>{{urldecode|C%C3%B4te+d%27Ivoire}}</code> | ||
Latest revision as of 23:07, 20 January 2022
This is a documentation subpage for Template:Urldecode. It contains usage information, categories and other content that is not part of the original template page. |
30px | This template uses Lua: |
Usage
{{urldecode}} reverses the transformation done by magic word {{urlencode:}}
(viz., Percent-encoding).
{{Urldecode|C%C3%B4te+d%27Ivoire}}
would produceCôte d'Ivoire