සැකිල්ල:Auto link/doc
This is a documentation subpage for සැකිල්ල:Auto link. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage
සංස්කරණයTo use this template, put {{AutoLink|target|word}} (if there is no word parameter, then the template will function in the same way as if it were the target). If the link location exists a link will be created, if not it will not. This template exists to avoid redlinks being created. If the page is created, the link will be formed.
This template also exists to allow templates to accept either plain text or wikitext for parameters, automatically linkifying the value if it is plain text, and an article exists there (see Infobox Australian Place).
This template should not be used in the mainspace, as red links are good.
Examples
සංස්කරණය- {{
autolink|a
}} gives "සැකිල්ල:Autolink" - {{
autolink|aqrp
}} gives "සැකිල්ල:Autolink" - {{
autolink|a|letter a
}} gives "සැකිල්ල:Autolink" - {{
autolink|aqrp|,asmd
}} gives "සැකිල්ල:Autolink"