Difference between revisions of "Template:MissionInfo/doc"

From SpiralKnights

Jump to: navigation, search
m
m (added documentation subpage)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
<noinclude>{{documentation subpage}}</noinclude>
 
==Usage==
 
==Usage==
 
Puts an infobox about the mission on the page. It emphasizes what players seem to want to know the most about missions at a glance. More information is in the body of the page to the left of this template. It also controls the [[Template:TOClimit|ToClimit]] of mission pages.
 
Puts an infobox about the mission on the page. It emphasizes what players seem to want to know the most about missions at a glance. More information is in the body of the page to the left of this template. It also controls the [[Template:TOClimit|ToClimit]] of mission pages.
Line 23: Line 24:
  
 
==Parameters==
 
==Parameters==
==Required==
+
*Pending
*name
+
:The name of the mission. Use <nowiki>{{PAGENAME}}</nowiki> if you want - pay attention to disambiguation issues.
+
 
+
*event
+
:either yes or no. Is it only available during an [[event]]? Then say yes.
+
 
+
*type
+
:Must be one of the following (lowercase):
+
::rank
+
::prestige
+
::danger
+
 
+
*host rank
+
:the rank the player must be to start the mission through the mission interface on their own
+
 
+
*combat floors
+
:the number of floors where you can smack enemies
+
 
+
*stratum
+
:monsters and status that show up in the level (try to keep it relevant to the majority)
+
 
+
*rewards
+
:the rewards you get for completing the mission (does not involve monster drops or box drops)
+
 
+
===Semi-Optional===
+
*rank
+
:the rank of the mission itself as indicated in the mission interface
+
:this shows up for type=rank. For prestige and danger missions, it defaults to blank.
+
 
+
*preceded by
+
:The name of the previous rank mission.
+
:if it's the first rank mission, equate it to none.
+
:this shows up for type=rank. For prestige and danger missions, the cell doesn't show up.
+
 
+
*followed by 
+
:The name of the next rank mission.
+
:if it's the last rank mission, equate it to none.
+
:this shows up for type=rank. For prestige and danger missions, the cell doesn't show up.
+
 
+
*depth range
+
:the depth range of the mission, not including the lobby.
+
:this shows up for type=rank. For prestige and danger missions, it defaults to a phrase.
+
 
+
*NPCs
+
:any notable NPCs that talk to and/or accompany players, as well as major units such as [[Boss|bosses]], mini bosses, or unique encounters
+
:defaults to <nowiki>*None</nowiki>
+
  
 
==Example==
 
==Example==
<pre>
+
See [http://wiki.spiralknights.com/index.php?title=Special%3AWhatLinksHere&limit=500&target=Template%3AMissionInfo&namespace=0 what links here] for examples of this template in action.
{{MissionInfo
+
|name          = Heart of Ice
+
|event          = no
+
|type          = danger
+
|host rank      = {{???}}
+
|combat floors  = 2
+
|stratum        =
+
*Monsters: {{Monster_Icons|Beast}} {{Monster_Icons|Fiend}} {{Monster_Icons|Undead}}
+
*Status: {{status|freeze}}
+
|rewards        =
+
*180 [[Prestige]]
+
|NPCs          =
+
*[[Maulos]] (enemy)
+
}}
+
</pre>
+
;Produces
+
{{SKWindow
+
| width = 300px
+
| align = right
+
| margin = 0px 0px 20px 20px
+
| title = <div style="font-size:75%; text-align:center;">Heart of Ice</div>
+
| body =
+
{{SKWindow/NewRow}}
+
{{SKWindow/EmptyCell|[[File:Mission-Heart of Ice.png|175px|center]]
+
}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|'''Rank''':
+
*The player must be at least [[Player Rank|rank]] ??? to host this mission.
+
}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|1='''Floors''':
+
*Depth Range: Depends on player rank
+
*Combat Floors: 2
+
}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|'''[[Stratum]] Themes''':
+
*Monsters: {{Monster_Icons|Beast}} {{Monster_Icons|Fiend}} {{Monster_Icons|Undead}}
+
*Status: {{status|freeze}}
+
}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|'''Rewards''':
+
*180 [[Prestige]]
+
}}
+
{{SKWindow/NewRow}}
+
{{SKWindow/Cell|'''Notable [[:Category:NPCs|NPCs]]''':
+
*[[Maulos]] (enemy)
+
}}
+
}}
+
'''Heart of Ice''' is a{{#if:{{{event name|}}}|n [[event]]-exclusive|}} danger [[mission]]{{#if:{{{event name|}}}|&nbsp;available during the [[{{{event name}}}]]|}}.
+
{{TOClimit|3}}
+
  
 
==Notes==
 
==Notes==
 
This template is part of the infobox project. Discussion on the forums can be found [http://forums.spiralknights.com/en/node/107506 here], specifically [http://forums.spiralknights.com/en/node/107506#comment-987419 comment #16].
 
This template is part of the infobox project. Discussion on the forums can be found [http://forums.spiralknights.com/en/node/107506 here], specifically [http://forums.spiralknights.com/en/node/107506#comment-987419 comment #16].

Latest revision as of 00:38, 3 October 2015

Usage

Puts an infobox about the mission on the page. It emphasizes what players seem to want to know the most about missions at a glance. More information is in the body of the page to the left of this template. It also controls the ToClimit of mission pages.

Code

{{MissionInfo
|name           = 
|event          = 
|type           = 
|host rank      = 
|rank           =
|depth range    =
|combat floors  = 
|preceded by    =
|followed by    =
|stratum        = 
*Monsters: 
*Status: 
|rewards        = 
|NPCs           = 
}}

Parameters

  • Pending

Example

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

Notes

This template is part of the infobox project. Discussion on the forums can be found here, specifically comment #16.

Personal tools