Template:Textfix/doc
The {{tf}} or {{textfix}} template corrects the inputted value into acceptable Wikipedia formatting (i.e., capitalized first letter of first word with lower cas…
| This is a documentation subpage for Template:Textfix. It may contain usage information, categories and other content that is not part of the original template page. |
The {{tf}} or {{textfix}} template corrects the inputted value into acceptable Wikipedia formatting (i.e., capitalized first letter of first word with lower case for all further letters and words).
Usage
The primary use of this template is as a meta-template, called within another template to ensure that a user's inputted value is outputted in the proper format. This template should not be used in instances where the inputted value might be a name of a person or place, as it will not capitalize any words other than the first.
{{tf | parameter 1 | parameter 2 | parameter 3 }}
If only parameter 1 is inputted, then parameter 1 is text fixed. Otherwise, write either w or wiki into parameter 1 which will cause the final result to be a wikilink — either parameter 2 as the destination link and shown result or parameter 2 as the destination link with parameter 3 as the shown result.
Please note: The wikilink function will only be applied if the article in question exists. Otherwise, the template will solely return the shown result.
Examples
|
Input |
Output |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.