More actions
m Update template name. |
m Change colors for better readability on light mode. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 77: | Line 77: | ||
== Using templates == | == Using templates == | ||
You can insert by encasing its name in curly brackets. For instance, if you would like to mark a page as "needing cleanup", add the code {{T|Cleanup}} to the page, which produces the following: | You can insert by encasing its name in curly brackets. For instance, if you would like to mark a page as "needing cleanup", add the code {{T|Cleanup}} to the page, which produces the following: | ||
{{Banner|color= #153E7E|border= #153E7E|'''This article should be cleaned up or improved.''' The reason is: ''unspecified''. }} | {{Banner|color= #153E7E|border= #153E7E|text= white|'''This article should be cleaned up or improved.''' The reason is: ''unspecified''. }} | ||
Some templates can be used with parameters to customise how they look. For instance, you can use the template <code>{{t|Example}}</code> to mark an example on a page. You pass parameters to templates by using the pipe character | . <code><nowiki>{{Example|This is an example of how a template can look (how very meta!)}}</nowiki></code> produces the following: | Some templates can be used with parameters to customise how they look. For instance, you can use the template <code>{{t|Example}}</code> to mark an example on a page. You pass parameters to templates by using the pipe character | . <code><nowiki>{{Example|This is an example of how a template can look (how very meta!)}}</nowiki></code> produces the following: | ||
| Line 103: | Line 103: | ||
;<code>{{t|Merge}}</code> | ;<code>{{t|Merge}}</code> | ||
:If you see two articles on a similar subject, and you think they should be combined into one article, then feel free to go ahead and do so! If, however, you're unsure and would like to discuss it with other editors, use this template | :If you see two articles on a similar subject, and you think they should be combined into one article, then feel free to go ahead and do so! If, however, you're unsure and would like to discuss it with other editors, use this template. | ||
;<code>{{t|Deletion}}</code> | ;<code>{{t|Deletion}}</code> | ||