Difference between revisions of "Template:Harem-Heroes-Character-Pose-Gallery"

From Hgames Wiki
Jump to: navigation, search
(Created page with "<noinclude> This template creates a gallery for a given character's poses. It supports 2, 4, or 6 poses. Parameters: - name (or variant) of the character. - number of poses (...")
 
Line 4: Line 4:
  
 
Parameters:
 
Parameters:
- name (or variant) of the character.
+
- 1: Name (or variant) of the character.
- number of poses (2, 4, or 6)
+
- 2: Number of poses (2, 4, or 6)
  
 
Usage:
 
Usage:
{{Harem-Heroes-Character-Pose-Gallery|name=CharacterName|poses=Number}}
+
{{Harem-Heroes-Character-Pose-Gallery|CharacterName|NumberOfPoses}}
  
 
Example for Golden Bunny with 6 poses:
 
Example for Golden Bunny with 6 poses:
{{Harem-Heroes-Character-Pose-Gallery|name=Golden Bunny|poses=6}}
+
{{Harem-Heroes-Character-Pose-Gallery|Golden Bunny|6}}
</noinclude>
+
</noinclude><includeonly>
 
== Poses ==
 
== Poses ==
 
<gallery mode="packed-hover" heights=368px>
 
<gallery mode="packed-hover" heights=368px>
{{#loop:$2|1|File:HH {{$1}} Pose {{$#}}.png|Star Level {{$# - 1}}}}
+
{{#switch:{{{2}}}
 +
  |2=File:HH_{{{1}}}_Pose_1.png|Star Level 0
 +
    File:HH_{{{1}}}_Pose_2.png|Star Level 1
 +
  |4=File:HH_{{{1}}}_Pose_1.png|Star Level 0
 +
    File:HH_{{{1}}}_Pose_2.png|Star Level 1
 +
    File:HH_{{{1}}}_Pose_3.png|Star Level 2
 +
    File:HH_{{{1}}}_Pose_4.png|Star Level 3
 +
  |6=File:HH_{{{1}}}_Pose_1.png|Star Level 0
 +
    File:HH_{{{1}}}_Pose_2.png|Star Level 1
 +
    File:HH_{{{1}}}_Pose_3.png|Star Level 2
 +
    File:HH_{{{1}}}_Pose_4.png|Star Level 3
 +
    File:HH_{{{1}}}_Pose_5.png|Star Level 4
 +
    File:HH_{{{1}}}_Pose_6.png|Star Level 5
 +
}}
 
</gallery>
 
</gallery>
 +
</includeonly>

Revision as of 14:16, 14 December 2023

This template creates a gallery for a given character's poses. It supports 2, 4, or 6 poses.

Parameters: - 1: Name (or variant) of the character. - 2: Number of poses (2, 4, or 6)

Usage:

Poses

Example for Golden Bunny with 6 poses:

Poses