Ad
related to: web page copy example script template
Search results
Results From The WOW.Com Content Network
Formats a citation to a website using the provided information such as URL and title. Used only for sources that are not correctly described by the specific citation templates for books, journals, news sources, etc. Template parameters [Edit template data] This template has custom formatting. Parameter Description Type Status Last name last last1 author author1 author1-last author-last ...
For example, maybe you have a bot that publishes certain data to a Wiki page regularly, and you want your script to read that data. Careful with ctype. Set it to raw for normal Wiki pages, and application/json for pages where a template editor or admin has set the Content Model to JSON.
Check the accuracy of the links after placing this template! If any defaults are incorrect for your script, enter the necessary parameters explicitly. If you end up leaving the template with no "(source)" link produced, make sure your documentation page includes complete installation instructions, along with any necessary code page addresses.
The system fetches a one-time copy of the template text and substitutes it into the page in place of the template tag. If anyone edits the template afterwards, pages that used the subst: keyword do not update. Sometimes that is what you want. If the template that you want to edit looks like {{foo}}, you would go
Marks some text as in a different script according to ISO 15924 script codes Template parameters [Edit template data] Parameter Description Type Status Script code 1 script ISO 15924 script code for the script used Example Hang (hangul), Latn (Latin), Hant (Chinese characters) Line required Text 2 text The text in the script demarcated Example 國漢文混用 Line required The above ...
Before doing changes to a template it can be good to first copy the template code to a sandbox and run some testcases, since the template might be visible on thousands or even millions of pages. If you create subpages named exactly " /sandbox " and " /testcases " to a template then the green {{documentation}} box on the template auto-detects ...
In order to install a user script for your Wikipedia account, add the following line to Special:MyPage/common.js or Special:MyPage/skin.js: {{subst:iusc|script_path}} Replace script_path with the full .js page name of the user script to be installed. The template must be substituted (subst:), or else it won't work. Bypass your cache after ...
With Template:Import script, that is easier. You just type a link to the source, and a link to its documentation. You just type a link to the source, and a link to its documentation. Syntax