Template:Webify/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''Webify''' templates are not used on their own, but a suitable one may be used within another template which creates the URL for a weblink out of a name. A website with mul..." |
No edit summary |
||
Line 6: | Line 6: | ||
*{{tl|Webify 0}} would produce '{{webify 0|East Lothian}}' | *{{tl|Webify 0}} would produce '{{webify 0|East Lothian}}' | ||
*{{tl|Webify 2}} would produce '{{webify 2|East Lothian}}' | *{{tl|Webify 2}} would produce '{{webify 2|East Lothian}}' | ||
*{{tl|Webify 3}} would produce '{{webify 3|East Lothian}}' | |||
Others may be added to this list. | Others may be added to this list. |
Revision as of 20:30, 25 March 2019
Webify templates are not used on their own, but a suitable one may be used within another template which creates the URL for a weblink out of a name.
A website with multiple articles might create a webpage on, for example, East Lothian with a URL containing East_Lothian (apparently the most common usage). It might though use /eastlothian or /east-lothian. Choosing the right 'Webify' template can make the appropriate transformation:
- {{Webify}} would produce 'East_Lothian'
- {{Webify 0}} would produce 'eastlothian'
- {{Webify 2}} would produce 'east-lothian'
- {{Webify 3}} would produce 'East-Lothian'
Others may be added to this list.
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |