More actions
Not actually a template, don't want in the Template category. |
m Remove forum link, board no longer exists. |
||
| (13 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{update|Note to self: update it with new templates, transclude where possible, reduce signposting language. [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 09:48, 23 April 2022 (UTC)<br> | ||
[[#Boilerplate messages]] need new examples templates Syllabus and and Syllabus Reviewd are (to be) deleted.}} | |||
'''Templates''' are pages on the Wiki which are designed to be included in other pages. They are normally used for repetitive material (such as text and information boxes, icons, or standard messages). Using templates not only saves having to copy parts of pages to other pages, but they ensure a consistent style throughout the Wiki. | '''Templates''' are pages on the Wiki which are designed to be included in other pages. They are normally used for repetitive material (such as text and information boxes, icons, or standard messages). Using templates not only saves having to copy parts of pages to other pages, but they ensure a consistent style throughout the Wiki. | ||
| Line 35: | Line 36: | ||
<pre> | <pre> | ||
;Description | ; Description | ||
:This template is used to do something. | : This template is used to do something. | ||
;Dependencies:<!-- delete if N/A --> | |||
: | ; Dependencies: <!-- delete if N/A --> | ||
; | :; Uses <!-- (some CSS, JS, file, or other template). <!-- delete if N/A --> | ||
: | :: some CSS, JS, file, or other template | ||
;Sample | :; Used by <!-- delete if N/A --> | ||
:: template <!-- Preferably use the {{T|templatename}} --> | |||
; Syntax | |||
: {{T|Templatename|param<!-- delete if N/A -->|namedparam=<!-- delete if N/A -->}} <!-- = is the = sign --> | |||
:; Parameters <!-- delete if N/A --> | |||
::; param | |||
::: Param description. | |||
::; param : Param description. | |||
::; namedparam | |||
::: Namedparam description. | |||
; Sample <!-- delete if N/A --> | |||
:<code><nowiki>{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki></code> | :<code><nowiki>{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki></code> | ||
::gives... | :: gives... | ||
{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}} | {{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}} | ||
;See also:<!-- delete if N/A --> | |||
:* [[Template:<!-- Some other template -->]]<!-- delete if N/A --> | ; See also:<!-- delete if N/A --> | ||
: * [[Template:<!-- Some other template -->]]<!-- delete if N/A --> | |||
:* [[<!-- Some other related page -->]]<!-- delete if N/A --> | :* [[<!-- Some other related page -->]]<!-- delete if N/A --> | ||
<includeonly>[[Category:Template | <includeonly>[[Category:Template]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation | <noinclude>[[Category:Template documentation]]</noinclude> | ||
</pre> | </pre> | ||
| Line 62: | Line 76: | ||
== 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 | 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''. }} | ||
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 77: | Line 91: | ||
;<code>{{t|Cleanup}}</code> | ;<code>{{t|Cleanup}}</code> | ||
:Indicates that the page needs to be cleaned up or improved; use this template to mark pages which have a lot of spelling errors, unwieldy layout, or which generally look very unfinished. All pages tagged with this template are automatically added to the [[:Category:Candidates for | :Indicates that the page needs to be cleaned up or improved; use this template to mark pages which have a lot of spelling errors, unwieldy layout, or which generally look very unfinished. All pages tagged with this template are automatically added to the [[:Category:Candidates for cleanup|Candidates for cleanup]] category. | ||
;<code>{{t|Update}}</code> | ;<code>{{t|Update}}</code> | ||
:This indicates that the page needs to be updated because its content is out of date (e.g. because the game mechanics or the Eve community has changed). All pages tagged with this template are automatically added to the [[:Category:Needing | :This indicates that the page needs to be updated because its content is out of date (e.g. because the game mechanics or the Eve community has changed). All pages tagged with this template are automatically added to the [[:Category:Needing updates|Needing updates]] category. | ||
;<code>{{t|Stub}}</code> | ;<code>{{t|Stub}}</code> | ||
| Line 89: | 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> | ||
| Line 114: | Line 128: | ||
You will find these infoboxes and navigation boxes on many pages (including this one - see that black bar at the top?), as they are handy for navigating between pages on similar topics, or for showing key information about a page at a glance. If you're writing or editing a page, check to see if there is a template which you can use to better integrate your page with other similar pages. Some of the more common ones are: | You will find these infoboxes and navigation boxes on many pages (including this one - see that black bar at the top?), as they are handy for navigating between pages on similar topics, or for showing key information about a page at a glance. If you're writing or editing a page, check to see if there is a template which you can use to better integrate your page with other similar pages. Some of the more common ones are: | ||
* <code>{{t| | * <code>{{t|Community Group Navbar}}</code>, <code>{{t|EVEUniversityNav}}</code>, and <code>{{t|EVE University}}</code> for pages about the E-UNI and its members and services. | ||
* <code>{{t|Incursion sites}}</code> and <code>{{t|Incursions links}}</code> on pages about incursions. | * <code>{{t|Incursion sites}}</code> and <code>{{t|Incursions links}}</code> on pages about incursions. | ||
* <code>{{t|Wormhole Links}}</code> on pages about wormholes. | * <code>{{t|Wormhole Links}}</code> on pages about wormholes. | ||
| Line 145: | Line 158: | ||
=== Boilerplate messages === | === Boilerplate messages === | ||
Sometimes there's a piece of text which needs to be re-used over and over again; <code>{{ | Sometimes there's a piece of text which needs to be re-used over and over again; <code>{{tl|Syllabus}}</code> and <code>{{tl|Syllabus Reviewed}}</code> are two common examples from the class pages. | ||
{{UniWikiNav}} | |||
[[Category:Editing]] | |||
[[Category:Wiki Information]] | [[Category:Wiki Information]] | ||