Difference between revisions of "NetHackWiki:Templates"

From NetHackWiki
Jump to navigation Jump to search
(cleaned up and added lots of unlisted templates)
(added template:todo)
Line 4: Line 4:
 
The box at the top-right of this page is [[Template:Community]].
 
The box at the top-right of this page is [[Template:Community]].
  
== Deletion ==
+
==Pages needing attention==
 +
 
 +
===Todo===
 +
{| class="wikitable"
 +
! What appears
 +
! What you type
 +
|-
 +
| {{todo|This page needs X doing.}}
 +
| <nowiki>{{todo|This page needs X doing.}}</nowiki>
 +
|}
 +
 
 +
=== Deletion ===
 
{| class="wikitable"
 
{| class="wikitable"
 
! What appears
 
! What appears
Line 15: Line 26:
 
The {{tl|delete}} template adds a page to [[:Category:Candidates for deletion]] so that [[Wikihack:administrators|administrators]] can consider deleting it.
 
The {{tl|delete}} template adds a page to [[:Category:Candidates for deletion]] so that [[Wikihack:administrators|administrators]] can consider deleting it.
  
== Merging ==
+
=== Merging ===
 
{| class="wikitable"
 
{| class="wikitable"
 
! What appears
 
! What appears
Line 28: Line 39:
 
If you see a merge notice, try merging the pages!
 
If you see a merge notice, try merging the pages!
  
== Article stubs ==
+
=== Stubs ===
 
{| class="wikitable"
 
{| class="wikitable"
 
! What appears
 
! What appears

Revision as of 23:28, 28 September 2006

The intention of this page is to document each template at this wiki. This page only describes what each template does; for tips on styling an article, try Wikihack:Style guide.

The box at the top-right of this page is Template:Community.

Pages needing attention

Todo

What appears What you type

A user has suggested improving this page or section as follows:

"This page needs X doing."

{{todo|This page needs X doing.}}

Deletion

What appears What you type

A user has suggested the deletion of this page. The reason given was:

"insert reason"

{{delete|insert reason}}

The {{delete}} template adds a page to Category:Candidates for deletion so that administrators can consider deleting it.

Merging

What appears What you type

A user has suggested this page be merged with "insert reason"

{{merge|insert reason}}

The {{merge}} template adds a notice that the page should be merged with another, or several others. It also adds the page to Category:Pages to be merged.

If you see a merge notice, try merging the pages!

Stubs

What appears What you type
This page is a stub. Should you wish to do so, you can contribute by expanding this page.
{{stub}}
This page is a stub. Should you wish to do so, you can contribute by expanding this page.

A user has suggested improving this page or section as follows:

"Is this artifact better than Frost Brand?"

{{stub|Is this artifact better than [[Frost Brand]]?}}

The {{stub}} template appeals for someone to click the "edit" link and add more information to an article. It also lists the article in Category:Stubs.

Color templates

The function templates of Category:Function templates allow you to show monsters or objects in any of the 16 colors that NetHack uses. Witness, for example:

Object represented What you type Result
newt {{yellow|:}} :
lichen {{brightgreen|F}} F
unlit corridor {{white|#}}{{white|#}}{{white|#}}{{white|#}} ####
pool of lava {{red|&#125;}} }
grave {{lightgray|&#124;}} |

See Category:Function templates for details.

Item/monster templates

We have templates for information boxes to be put on each item and monster page; see Wikihack:Style guide#Item pages and Template:Monster respectively.

Template link

What appears What you type
Use {{stub}} to mark stubs. Use {{tl|stub}} to mark stubs.

Origin:

Links to external projects

The Category:Link templates contains boxes that float to the right and show links to other wiki projects. This is most frequently used to link to Wikipedia:

What appears What you type
{{wikipedia|Samurai}}

See Category:Link templates for details and other available templates.

Licensing

What appears What you type

This page is based on a spoiler by Dylan O'Donnell. The original license is:

Redistribution, copying, and editing of these spoilers, with or without modification, are permitted provided that the following conditions are met:

  1. The original contributors to any spoiler must continue to be credited.
  2. Any modifications to the spoiler must be acknowledged and credited.
{{DOD}} on articles based on Hugo/O'Donnell spoilers

This page is based on a spoiler by Author, available at http://www.website.org

{{basedon|name=Author|url=http://www.website.org}} on articles based on other, copyrightless, spoilers.

Some or all of the information on this page was taken from https://alt.org/nethack/rodney-learn.php with the permission of the contributor. A list of people who gave such permission is at Contributors to Rodney donating to the Wiki.

{{rodney}} on articles based on entires from Rodney (bot)

Screenshots and source code from Hack are used under the CWI license.

{{CWI}} on source code from early version of NetHack

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

{{NGPL}} on NGPL-licensed source code from NetHack

GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "Text of the GNU Free Documentation License."
{{GFDL}} on images

This work is copyrighted. The individual who uploaded this work and first used it in an article, as well as subsequent persons who place it into articles, asserts that this qualifies as fair use of the material under United States copyright law.

{{fairuse}} on images

Origin:

These tags indicate some copyright external to the copyright of this wiki.

Some images can use {{fairuse}}, but this should always be avoided except when needed, for example for the Wikipedia logo. In most cases, fair use such as simply quoting from the game ("The newt bites! You die...") or giving game statistics (like when using {{monster}}) does not require a template.

Disambiguation

Put {{disambig}} at the bottom of disambiguation pages.

Unsigned comments

Put {{unsigned}} after unsigned comments.

News

Edit {{news}} to add news items to the front page.

Welcome

Substitute the {{welcome}} template on the talk pages of anonymous users:

{{subst:welcome}} --~~~~

Featured article

On the first of every month, put a new featured article in {{currentfeature}}.

Hacks

To bypass limitations in Mediawiki's template syntax, the {{!}} template can be used to insert a "|" (pipe).

Others

There are other templates, such as {{NetHack Versions}}, but they are already on every page they should ever be on.

See also