Wiki template pages
You can find out more about infoboxes on w:Help:Infoboxes. Specialized infobox for biological classification. Based on the Wikipedia one, simplified; maybe needs better documentation - you could help. Technology : Computers. Templates Wiki Explore. Namespace templates.
Category templates Image templates User templates. Even More. Recently added. This is definitely a template.
If it were a colon instead, : , then it would not be a template, but some kind of magic word. Unfortunately, this one doesn't offer any definite clues right off the bat.
If you aren't sure, there are a few ways to make a pretty good guess:. In fact, an ordinary wiki page can also be used as a template, simply by specifying the namespace in which it resides, so:. There are other ways of using templates, but these are useful only in special situations. Most editors will never have any use for these special functions, so they are explained only at the bottom of this page. Many template authors provide documentation for how to use specific templates.
This can usually be found on the template page itself. If you are editing a page using a particular template, one way you can usually get to the template page quickly is by using the "Templates used on this page" section at the bottom of the edit page. Unfortunately, many templates are not documented. In this case, you can try looking for examples of the template being used on other pages.
From the template page, try clicking " What links here " in the "Tools" menu in the sidebar to find other pages where the template is used. If it's not documented, consider writing your own template documentation. Please consider that this is a professional forum; courtesy and professional language and tone are expected.
See Help:Searching for more information. You want to showcase your character on this Wiki, but aren't sure how to set up a good page? Even confident creators can't always distinguish the important details from the dribble, and may end up with a visually unpleasant layout and unfocused telling of their ideas.
In the end, obviously, it's not an objective problem and the template below is not part of the rules this Wiki. A template is a Wikipedia page created to be included in other pages. It usually contains repetitive material that may need to show up on multiple articles or pages, often with customizable input.
Most templates are scripts using MediaWiki parser functions, nicknamed ' magic words ', a simple scripting language. If you have standard texts you want to include on several pages, the MediaWiki template feature comes into play. Unlike extensions and media files, there is no central repository for templates. Templates can be newly written or to save duplicating work already done, exported from another wiki e. Wikipedia, and then imported into the target wiki.
Templates are standard wiki pages whose content is designed to be transcluded embedded inside other pages. Templates follow a convention that the name is prefixed with ' Template: ', assigning it to that namespace; besides this, you can create them like any other wiki page.
The simplest use of templates is as follows. If you create a page called 'Template:Welcome' with contents:. Welcome to the wiki. The template content is 'transcluded' into the other page, i. Suppose it is used in pages. If you then change the template contents to:.
In this way, you have changed the content of pages without editing them, because the template is transcluded into these pages. This is the basic mechanism. There are several additional features of transclusion that enrich this mechanism and make templates very useful.
In fact, an ordinary wiki page can also be used as a template, simply by specifying the namespace it resides in, so:. To enrich the mechanism of transclusion, MediaWiki allows parameters to be passed to a template when it is transcluded. Parameters allow the template to produce different contents or have different behaviors. The thank you note will have a reason in this case, 'all your effort' and a signature 'Me'. Your objective is that any user be able to thank any other user, for any reason whatsoever.
So that the note will look similar everywhere it is used, you can define a template called Template:Thankyou, for example. Although the note should look similar whenever a user thanks another user, its specific contents i.
For that reason, you should pass them as parameters. If we ignore the remaining elements to format the box and place the image, the core content of the template will be this:.
This is the way to identify, within templates, the parameters that will be passed in when the template is used. This is different from normal template name usage. When using the template on a page, you fill in the parameter values, separated by a 'pipe' character. MediaWiki allows parameters to be passed to the template in three ways: Anonymously, Numbered, and Named.
0コメント