Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Templates: Difference between revisions

From EVE University Wiki
m Update link. Remove link to deleted template.
m Remove forum link, board no longer exists.
 
(2 intermediate revisions by the same user not shown)
Line 36: 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 -->
 
:* Uses (some CSS, JS, file, or other template).<!-- delete if N/A -->
; Dependencies: <!-- delete if N/A -->
;Syntax
:; Uses <!-- (some CSS, JS, file, or other template). <!-- delete if N/A -->
:Type <code>{{t|templatename|param1<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}}</code> somewhere.
:: some CSS, JS, file, or other template
;Sample output
:; Used by <!-- delete if N/A -->
:: template <!-- Preferably use the {{T|templatename}} -->
 
; Syntax
: {{T|Templatename|param<!-- delete if N/A -->|namedparam&#61;<!-- delete if N/A -->}} <!-- &#61; 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|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
<includeonly>[[Category:Template]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>
</pre>
</pre>


Line 90: 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. Alternatively, you can always discuss it on the [http://forum.eveuniversity.org/viewforum.php?f=54 E-UNI forum].
: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 115: 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|Campus 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|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.