Template:Preload
Usage
{{Preload
| link =
| text =
| preload =
| color =
| summary =
}}
or
{{Preload
| color = <!-- color goes here -->
| <!-- link goes here -->
| <!-- text goes here -->
| <!-- preload page goes here -->
| <!-- [preload parameter 1] -->
| <!-- [preload parameter 2] -->
| <!-- [...] -->
| <!-- [preload parameter N] -->
}}
Use this template to provide a link to an automatically preloaded specific page. The first parameter is the only required one, and is the title of the page you want to create. You must provide the full name of the target page, including namespace. The second input allows you to customize what text the link displays. If a third parameter is provided, the target page will contain the contents of that third parameter (again, full title including namespace is required). The color parameter allows you to customize the color of the link, e.g. to create a redlink. If the page already exists, a regular link is created. Thus,
{{Preload|1=Sandbox/preloadtest|2=This is a test|3=Template:Preload/example}}
Produces:
It is also possible to use parameters while preloading models. Every sequential argument after the third one will be added to the preload URL as &preloadparams[]=. And thus,
{{Preload|Sandbox/preloadtest|This is a test|Template:Preload/example|foo|bar}}
Produces:
Note: When using preload parameters you must use unnamed parameters except |color=or|summary=. Use {{preload}}; do not use{{preload|color=color|link=link|text=text|preload=preload|4=parameter 1|5=parameter 2|etc.}}– the latter will not work.
See also
{{preloaddraft}}
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.