Ad
related to: how to start a template in word shortcut page with one line of script
Search results
Results From The WOW.Com Content Network
You can start a new template in the same way that you would start an article page. The only difference is that its title must start with Template:. Once you have made the template—for example Template:foo—you can add {{foo}} to the pages that you want to use it on.
Name the page after your shortcut name. Include the namespace name in both the shortcut name and the redirect page name. For example, substitute your own shortcut name as the title of the page, and substitute the proper namespace, then add the REDIRECT as the top-line on your redirect page, and the category to the third line of the redirect:
Start typing the name of the template you want to insert. When you see it on the list, click on its name. Then click "Add template". You can also edit a template that is already on the page. When you click on the template to select it, it turns blue, and a box appears with a "Template" icon (a puzzle piece). Then click on the "Edit" link.
Usage is similar to the {} template, see full documentation there. This template accepts up to five shortcuts as parameters. However, in most cases you will only want to display one or two shortcuts with this template, otherwise it may get too wide. Use {} if you need to display more than two shortcuts in the same box.
The answer to both questions is essentially the same: The curly brackets indicate a template, and the purpose of templates, generally, is to add standard text to a page. Because templates are so important—you'll find them everywhere at Wikipedia—there's a separate section on them later in this chapter (see the section about templates). 4.
Again, note that "/testcases" is all lowercase, and all one word. Put the {{testcases notice}} template at the top of the page, add some test cases (see below), and save the page. Add your experimental code to Template:X/sandbox. To test your code, save the page, and go to the /testcases page.
If a page that uses this template is in the "Wikipedia:" or "Help:" namespace, then this template adds Category:Wikipedia how-to to the page. If the page is in the "User:" namespace, it will be put into Category:User essays. If your page is just a draft, please use the |nocat= parameter to prevent categorization, until it is finished.
A shortcut is a specialized type of redirect page that provides an abbreviated wikilink to an administrative page or one of its sections, usually from the Wikipedia namespace or Help namespace. These shortcuts' abbreviations in all-caps text are commonly used (linked or unlinked) on community pages and talk pages, but should not be used in ...