Difference between revisions of "Template:Artifact/Documentation"

From GodWiki
Jump to navigation Jump to search
m (Use capitals for type argument)
(Document default image use, add sections)
Line 1: Line 1:
The artifact template categorizes an article as an [[artifact]] article and it supplies information about it.
+
As well as automatically categorizing an article into [[:Category:Artifacts]], this template supplies some standard information about the subject of the article.
  
'''Parameters:'''
+
==Parameters==
  
* '''image''' - ''Optional but preferable'' The full image file name.
+
* '''image''' - ''Optional but preferable'' The full image file name. (Will default to a generic image.)
  
 
* '''type''' - The type of the item. This can be Normal, Bold, Healing, or Activatable.
 
* '''type''' - The type of the item. This can be Normal, Bold, Healing, or Activatable.
Line 17: Line 17:
 
* '''wanted'''  - ''Optional'' Add the particular date or dates the monster was wanted in the [[Godville Times]].  In the field, write the word "Day" or "Days" and add the [https://web.archive.org/web/20141229212110*/http://godvillegame.com/news web.archive.org] link of the g.e. day or days the monster was in the godville times. Don't write the letters "g.e." as those are automatically added.
 
* '''wanted'''  - ''Optional'' Add the particular date or dates the monster was wanted in the [[Godville Times]].  In the field, write the word "Day" or "Days" and add the [https://web.archive.org/web/20141229212110*/http://godvillegame.com/news web.archive.org] link of the g.e. day or days the monster was in the godville times. Don't write the letters "g.e." as those are automatically added.
  
Example of Usage:
+
==Example of Use==
 
 
 
<pre><nowiki>{{artifact</nowiki>
 
<pre><nowiki>{{artifact</nowiki>
 
| image = Example.jpg
 
| image = Example.jpg

Revision as of 02:00, 23 November 2018

As well as automatically categorizing an article into Category:Artifacts, this template supplies some standard information about the subject of the article.

Parameters

  • image - Optional but preferable The full image file name. (Will default to a generic image.)
  • type - The type of the item. This can be Normal, Bold, Healing, or Activatable.
(Note: Setting the type parameter to Bold, Healing, or Activatable will also categorize the article into the Bold Artifacts, Healing Artifacts, or Activatable Artifacts category, respectively.)
  • description - A brief description of the item.
  • value - Optional The average amount of money this item can be sold for.
(Note: Setting the monster parameter will categorize the article into the Monsters' Artifacts category.)
  • wanted - Optional Add the particular date or dates the monster was wanted in the Godville Times. In the field, write the word "Day" or "Days" and add the web.archive.org link of the g.e. day or days the monster was in the godville times. Don't write the letters "g.e." as those are automatically added.

Example of Use

{{artifact
| image = Example.jpg
| type = Normal
| description = A completely everyday and normal item.
| value = 55
| monster = Generic Enemy
| wanted = Day [https://web.archive.org/web/20140830200611/http://godvillegame.com/news 1574]
}}