Difference between revisions of "Template:Artifact/Showhide/doc"

From SpiralKnights

Jump to: navigation, search
m (created - will add information about other artifact "type" switches later)
 
m (direct link)
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
==Usage==
 
==Usage==
To display the context of an [[Commemorative Artifact|artifact]]. Mimics closely the format seen in-game.
+
To display the context of an [[artifact]]. Mimics closely the formats seen in-game, while being usable on the wiki. This template should not be used for [[Exploration#Information Module|Exploration Modules]] unless those modules are also artifacts that are retained in the player's arsenal. Use [[Template:Exploration/Showhide]] instead.
  
 
==Code==
 
==Code==
Line 9: Line 9:
 
{{Artifact/Showhide
 
{{Artifact/Showhide
 
<noinclude>|state=uncollapsed</noinclude>
 
<noinclude>|state=uncollapsed</noinclude>
|type   = recon module
+
|type       =  
|title   =  
+
|title       =  
|intro  =  
+
|description =  
|content =
+
|content     =
 
}}<noinclude>
 
}}<noinclude>
 
[[Category:Artifacts]]</noinclude>
 
[[Category:Artifacts]]</noinclude>
Line 19: Line 19:
 
When implementing the artifact on a page (an example):
 
When implementing the artifact on a page (an example):
 
<pre>
 
<pre>
{{:Recon Module/Gloaming Wildwoods}}
+
{{:Recon Module: Gloaming Wildwoods}}
 
</pre>
 
</pre>
  
 
==Parameters==
 
==Parameters==
 +
|type
 +
*The type of artifact. Types used in this template include "echo stone," "misc," and "recon module."
  
 
|title     
 
|title     
*the title text near the recon module's icon in the arsenal.  
+
*the name of the artifact as seen next to the artifact's icon in the player's arsenal. For echo stones and recon module, leave out "Echo Stone:" and "Recon Module:" as this part of the name is built into the template. 
  
|intro
+
|description
*The light blue text of the module seen in-game.
+
*The light blue text of the module seen in-game. Echo modules are all the same, so their descriptions are built into the template.
  
 
|content
 
|content
*What appears within the showhide.  
+
*What appears within the showhide.
  
 
==Examples==
 
==Examples==

Latest revision as of 19:13, 11 September 2015

Usage

To display the context of an artifact. Mimics closely the formats seen in-game, while being usable on the wiki. This template should not be used for Exploration Modules unless those modules are also artifacts that are retained in the player's arsenal. Use Template:Exploration/Showhide instead.

Code

When creating the artifact subpage:

{{Artifact/Showhide
<noinclude>|state=uncollapsed</noinclude>
|type        = 
|title       = 
|description = 
|content     =
}}<noinclude>
[[Category:Artifacts]]</noinclude>

When implementing the artifact on a page (an example):

{{:Recon Module: Gloaming Wildwoods}}

Parameters

|type

  • The type of artifact. Types used in this template include "echo stone," "misc," and "recon module."

|title

  • the name of the artifact as seen next to the artifact's icon in the player's arsenal. For echo stones and recon module, leave out "Echo Stone:" and "Recon Module:" as this part of the name is built into the template.

|description

  • The light blue text of the module seen in-game. Echo modules are all the same, so their descriptions are built into the template.

|content

  • What appears within the showhide.

Examples

See what links here for examples of this template in action.

Notes

Template format is similar to Template:Dialogue/Showhide. The title of artifact showhides do not need to be as dyamic as dialogues. For example, dialogues are displayed on both mission pages and character pages. The title needs to be the character's name on the mission page, but the dialogue's location on the character's page. The title of an artifact's showhide is always the same.

Personal tools