Changes

Created page with "==Parameter Naming== Module invocation is done via passing arguments. These argument names and argument values are all done in the following format *<Node Letter><Pattern Numb..."
==Parameter Naming==
Module invocation is done via passing arguments. These argument names and argument values are all done in the following format
*<Node Letter><Pattern Number>_<argument> = <argument value>
except for assigning node labels which is shown below.

All parameters still need a pipe character, "|", before the parameter call.
Eg, (replace '{' with '{{')
*{#invoke:EnemyEncounters | encounterTemplate<br>|A1_xp=900<br>|A1_lv=< 80<br>|A1_node_info=BBV_Re-class_Elite bbv_re-class_elite cv_wo-class_flagship_kai clt_chi-class_flagship ss_so-class_flagship ss_so-class_flagship<br>|A1_form=line_ahead<br>}

All parameters passed to the EnemyEncounters module are named under a simple scheme as described in each subsequent section.<br>
<b>You may add span and css tags as you wish as they will be pasted in directly to the page. Examples are below.</b>

===Node Label===
Simply pass the name of the node with
*<Node Letter>_label = <some name>
For example,
*A_label = Night Battle
*B_label = 敵前衛警戒部隊 &lt;br&gt; &lt;span style="color:yellow"&gt;Day Battle&lt;/span&gt;

===Air Superiority and Air Supremacy===
*<Node Letter and Pattern Number>_air_superiority = <value>
*<Node Letter and Pattern Number>_air_supremacy = <value>
Eg,
*B2_air_superiority = 50
*D5_air_supremacy = 100

===Xp===
*<Node Letter and Pattern Number>_xp = <value>
Eg,
*F3_xp = 120

===Pattern By Level===
In the case that a pattern's appearance is determined by the HQ level such as 1-5 ExOp's first node.
*<Node Letter and Pattern Number>_lv = <expression>
Eg,
*A2_lv = >80 (Node A's pattern 2 will show up for admirals over level 80)
*A1_lv = <=80 (Node A's pattern 1 will show up for admirals equal to or under level 80)

===Form===
Form refers to the enemy formation.
*<Node Letter and Pattern Number>_form = <formation>
Formations are:
*line_ahead
*doubleline
*diamond
*echelon
*line_abreast

Examples are:
*A1_form = line_ahead
*B2_form = line_abreast

===Enemies===
Enemies are passed in a single argument,
*<Node Letter and Pattern Number>_node_info = <argument>
The formation argument should simply be the enemy names, listed below, separated by a space.

Enemy ship names are done as follows:
*<Shiptype>_<Class Name>_<Extra Ship Parameters>
where Shiptype is from the following list
*DD
*CL
*CLT
*CA
*CVL
*CV
*BB
*BBV
*Transport
*SS

The class name is for example:
*Wo-class
*Re-class
*Nu-class
*Ha-class

The Extra Ship parameter is optional and from the following list
*Elite
*Flagship
*Flagship_2
*Flagship_Kai

'''Some examples are:'''
*''SS_Yo-class''
*''Transport_Wa-class_Flagship''
*''CVL_Nu-class_Flagship''
*''CV_Wo-class_Flagship_Kai''

You would invoke the full argument such as follows:
*B2_node_info = clt_chi-class_elite dd_ro-class_elite dd_ni-class_late_model
*C5_node_info = dd_i-class_late_model cl_he-class_flagship

You can find all ship names via the [[Enemy Vessel|enemy vessel's]] page. Simply replace spaces with underscores.

===Information for Non-Combat Nodes===
For nodes such as maelstroms and resource nodes, you will use the "node_info" argument.<br>
As a note, the words <b>"fuel"</b>, <b>"steel"</b>, <b>"ammo"</b> and <b>"bauxite"</b> will be replaced by their respective small icons such as
[[File:Fuel.png|Fuel|25px]] [[File:Ammunition.png|Ammo|25px]] [[File:Steel.png|Steel|25px]] [[File:Bauxite.png|Bauxite|25px]]

Eg,
*B2_node_info = Maelstrom fuel -50 75 100 125
will result in
*''Maelstrom [[File:Fuel.png|Fuel|25px]] -50 75 100 125''

Eg,
*B3_node_info = "Must be my imagination" (battle avoided)
*C2_node_info = "steel +100 125 150 175
2,922

edits