Difference between revisions of "Template:Artifact/Showhide/doc"
From SpiralKnights
m |
m |
||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
− | To display the context of an [[Commemorative Artifact|artifact]]. Mimics closely the | + | To display the context of an [[Commemorative Artifact|artifact]]. Mimics closely the formats seen in-game, while being usable on the wiki. |
==Code== | ==Code== | ||
Line 9: | Line 9: | ||
{{Artifact/Showhide | {{Artifact/Showhide | ||
<noinclude>|state=uncollapsed</noinclude> | <noinclude>|state=uncollapsed</noinclude> | ||
− | |type | + | |type = |
− | |title | + | |title = |
− | | | + | |description = |
− | |content = | + | |content = |
}}<noinclude> | }}<noinclude> | ||
[[Category:Artifacts]]</noinclude> | [[Category:Artifacts]]</noinclude> | ||
Line 23: | Line 23: | ||
==Parameters== | ==Parameters== | ||
+ | |type | ||
+ | *The type of artifact. Types used in this template include "recon module" and "echo stone." | ||
|title | |title | ||
− | *the title text | + | *the title text next to the artifact's icon in the player's arsenal. |
− | | | + | |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 |
Revision as of 04:29, 9 September 2015
This is a documentation subpage for Template:Artifact/Showhide (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
To display the context of an artifact. Mimics closely the formats seen in-game, while being usable on the wiki.
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 "recon module" and "echo stone."
|title
- the title text next to the artifact's icon in the player's arsenal.
|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.