1. GH
  2. Template_EventPage

This page can be used as a building block in other pages.

For use in creation of Event Pages. This is configured in a way to allow different listings to account for different mission reward requirements. The below sample template is presented to only worry about the current needs. Additionally, the page will hide any event mission that does not include something in its respective title field. This means that you can upload and enter all mission icons from the start for some ease and they will not display until the mission text is available. Only the image links are needed, you will not need to add [img] code on this template.

- "Banner" will have the header banner that DrexCoalson produces himself and will input after the page is made. In the event he decides to cease production of these banners, the GayHarem official Twitter will have a viable substitute.
- "Event Name" and the "Start" and "End Date" fields are rather self explanatory. Use the dates according to the developer's timezone.
- "Guy M" is the Mission reward guy. "Guy T1-3" are the World Troll drops. These should be listed in world order. "Guy P1-4" are the Pachinko exclusive guys. Images will be their icon images.
- "World" is the homepage background.
- "Troll" is the troll's name, "Troll Pic" is the full pose image, and of course "Troll World" is the name of the world the troll is in.
- "M Header", is the main Mission title for the event's mission set, this is the one listed before the individual mission title.
- "M Header Color" is the alternate text color used for the event's main header.
- "M Border Color" is the color for the border around the stylized display box on the wiki. Use the color of the border around the mission icon. This will also determine the color for section borders on the page.
- "M Gradient Upper", "M Gradient Mid", & "M Gradient Lower" are used to determine the gradient effect of the display box's background in that order top to bottom. The template is set-up to have every section's background use the Mid color.
- "M Text Color" will change the color of the page's text.
- "M# Title" is the title for the mission itself after the header while "M# Text" is the body text for the mission, and "M# Image" is the mission's icon.
- "E___" are the equipment images. These are as follows:
Bottom-Right = A, Bottom-Left = B, Mid-Right = F, Mid-Left = H, Top-Right = S, and Top-Left = T.
- "Ava#" are the profile avatars. This template supports up to 8 depending on how many the event has available.


Code:
[TEMPLATE]GH:Template_EventPage
| Banner =
| Event Name =
| Start Date =
| End Date =
| Guy M3 Image =
| Guy M3 Name =
| Guy T1 Image =
| Guy T1 Name =
| Guy T2 Image =
| Guy T2 Name =
| Guy T3 Image =
| Guy T3 Name =
| Guy P1 Image =
| Guy P1 Name =
| Guy P2 Image =
| Guy P2 Name =
| Guy P3 Image =
| Guy P3 Name =
| Guy P4 Image =
| Guy P4 Name =
| World =
| Troll 1 =
| Troll 1 Pic =
| Troll 1 World =
| Troll 2 =
| Troll 2 Pic =
| Troll 2 World =
| Troll 3 =
| Troll 3 Pic =
| Troll 3 World =
| M Header =
| M Header Color =
| M Text Color =
| M Border Color =
| M Gradient Upper =
| M Gradient Mid =
| M Gradient Lower =
| M1 Title =
| M1 Text =
| M1 Image =
| M2 Title =
| M2 Text =
| M2 Image =
| M3 Title =
| M3 Text =
| M3 Image =
| M4 Title =
| M4 Text =
| M4 Image =
| M5 Title =
| M5 Text =
| M5 Image =
| M6 Title =
| M6 Text =
| M6 Image =
| M7 Title =
| M7 Text =
| M7 Image =
| M8 Title =
| M8 Text =
| M8 Image =
| M9 Title =
| M9 Text =
| M9 Image =
| M10 Title =
| M10 Text =
| M10 Image =
| M11 Title =
| M11 Text =
| M11 Image =
| M12 Title =
| M12 Text =
| M12 Image =
| ETop =
| EHeart =
| EBottom =
| ESymbol =
| EFriend =
| EArtifact =
| Ava1 =
| Ava2 =
| Ava3 =
| Ava4 =
| Ava5 =
| Ava6 =
| Ava7 =
| Ava8 =
[/TEMPLATE]



[table] style="width:100%; background-image:url('https://i.harem-battle.club/images/2018/04/23/J5P.png'); align:center;"
|-
| style="padding:5px 10px 10px 10px;" | [table]
|-
| [wiki="GH:Events"][img=25]https://i.harem-battle.club/images/2018/04/18/Jgo.png[/img][/wiki]
| - [b][wiki="GH:Events"]Events[/wiki][/b]
[/table]

[table]style="width:98%; margin:auto; box-shadow:1px 2px 3px #3B3B3B; background-color:{{{M Gradient Mid|#f7f7f7}}}; border-collapse:separate; border-radius:20px; border:3px solid {{{M Border Color}}};"
|-
| style="padding:7px 7px 0 7px;" colspan="2" | [if="{{{Banner}}}"][img]{{{Banner}}}[/img][/if]
|- style="font-family: 'Carter One'; font-weight:bold; font-size:25px; text-align:center;"
| style="color:{{{M Header Color|#006E64}}}; padding:0 7px 7px 7px;" colspan="2" | {{{Event Name}}}
|-
| style="text-align:left; padding:0 0 12px 80px; color:{{{M Text Color|#000000}}};" | [b]Start Date:[/b] {{{Start Date}}}
| style="text-align:right; padding:0 80px 12px 0; color:{{{M Text Color|#000000}}};" | [b]End Date:[/b] {{{End Date}}}
[/table]

[table]style="width:98%; margin:auto; box-shadow:1px 2px 3px #3B3B3B; background-color:{{{M Gradient Mid|#f7f7f7}}}; border-collapse:separate; border-radius:20px; border:3px solid {{{M Border Color}}}; color:{{{M Text Color|#000000}}};"
|- style="font-family: 'Carter One'; font-weight:bold; font-size:18px;"
| style="padding:7px 7px 0 7px; color:{{{M Header Color|#000000}}};" | Event Guys:
|-
| style="padding:0 7px 7px 7px;" | A list of guys you can obtain during the event.
|-
| style="padding:0 7px 7px 7px;" | [if="{{{Guy M Image}}}"][TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy M Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy M Name}}}
| Obtain = [if="{{{M14 Image}}}"]Complete 12 out of 14 of the special event missions.[else /]Complete 11 out of 12 of the special event missions.[/if]
[/TEMPLATE][/if][if="{{{Guy M2 Image}}}"][TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy M2 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy M2 Name}}}
| Obtain = Complete all 12 of the special event missions.
[/TEMPLATE][/if][if="{{{Guy M3 Image}}}"][TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy M3 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy M3 Name}}}
| Obtain = Complete all 9 of the special event missions.
[/TEMPLATE][/if]
[TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy T1 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy T1 Name}}}
| Obtain = Defeat {{{Troll 1}}} in [wiki=GH:{{{Troll 1 World}}}][b][color={{{M Header Color}}}]{{{Troll 1 World}}}[/color][/b][/wiki] or win in Pachinko.
[/TEMPLATE]
[TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy T2 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy T2 Name}}}
| Obtain = Defeat {{{Troll 2}}} in [wiki=GH:{{{Troll 2 World}}}][b][color={{{M Header Color}}}]{{{Troll 2 World}}}[/color][/b][/wiki] or win in Pachinko.
[/TEMPLATE][if="{{{Guy T3 Image}}}"]
[TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy T3 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy T3 Name}}}
| Obtain = Defeat {{{Troll 3}}} in [wiki=GH:{{{Troll 3 World}}}][b][color={{{M Header Color}}}]{{{Troll 3 World}}}[/color][/b][/wiki] or win in Pachinko.
[/TEMPLATE][/if]
[TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy P1 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy P1 Name}}}
| Obtain = Win in Epic or Event Pachinko.
[/TEMPLATE]
[TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy P2 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy P2 Name}}}
| Obtain = Win in Epic or Event Pachinko.
[/TEMPLATE]
[if="{{{Guy P3 Image}}}"][TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy P3 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy P3 Name}}}
| Obtain = Win in Epic or Event Pachinko.
[/TEMPLATE][/if][if="{{{Guy P4 Image}}}"]
[TEMPLATE]GH:Template_ObtainGuy
| Image = {{{Guy P4 Image}}}
| Color = {{{M Header Color}}}
| Name = {{{Guy P4 Name}}}
| Obtain = Win in Epic or Event Pachinko.
[/TEMPLATE][/if][/table]

[table]style="width:98%; margin:auto; box-shadow:1px 2px 3px #3B3B3B; background-color:{{{M Gradient Mid|#f7f7f7}}}; border-collapse:separate; border-radius:20px; border:3px solid {{{M Border Color}}};"
|- style="font-family: 'Carter One'; font-weight:bold; font-size:18px;"
| style="padding:7px 7px 0 7px; color:{{{M Header Color|#000000}}};" | Event Background:
|-
| style="padding:0 7px 7px 7px; color:{{{M Text Color|#000000}}};" | During the event, the homescreen's background is changed to fit the theme of the event.
|-
| style="padding:0 7px 7px 7px;" | [img]{{{World}}}[/img]
[/table][if="{{{Troll 1 Pic}}}"]

[table]style="width:98%; margin:auto; box-shadow:1px 2px 3px #3B3B3B; background-color:{{{M Gradient Mid|#f7f7f7}}}; border-collapse:separate; border-radius:20px; border:3px solid {{{M Border Color}}};"
|- style="font-family: 'Carter One'; font-weight:bold; font-size:18px;"
| style="padding:7px 7px 0 7px; color: {{{M Header Color|#000000}}};" | Trolls:
|-
| style="padding:0 7px 7px 7px; color:{{{M Text Color|#000000}}};" | These trolls have donned special outfits for the event. Battle them for a chance to win an exclusive guy.
|-
| style="padding:0 7px 7px 7px; align:center;" | [table] style="width:100%; font-weight:bold; text-align:center; font-size: 15px;"
|- style="font-family: 'Carter One'; color: {{{M Header Color|#000000}}};"
| style="border-right:1px solid #C9C9C9; padding: 10px 25px 0;" | [wiki=GH:{{{Troll 1}}}][color={{{M Header Color}}}]{{{Troll 1}}}[/color][/wiki]
| style="border-right:1px solid #C9C9C9; padding: 10px 25px 0;" | [wiki=GH:{{{Troll 2}}}][color={{{M Header Color}}}]{{{Troll 2}}}[/color][/wiki][if="{{{Troll 3}}}"]
| style="padding: 10px 25px 0;" | [wiki=GH:{{{Troll 3}}}][color={{{M Header Color}}}]{{{Troll 3}}}[/color][/wiki][/if]
|-
| style="border-right:1px solid #C9C9C9; padding: 10px 25px 0;" | [img=250]{{{Troll 1 Pic}}}[/img]
| style="border-right:1px solid #C9C9C9; padding: 10px 25px 0;" | [img=250]{{{Troll 2 Pic}}}[/img][if="{{{Troll 3}}}"]
| style="padding: 10px 25px 0;" | [img=250]{{{Troll 3 Pic}}}[/img][/if]
[/table][/table][/if]

[table]style="width:98%; margin:auto; box-shadow:1px 2px 3px #3B3B3B; background-color:{{{M Gradient Mid|#f7f7f7}}}; border-collapse:separate; border-radius:20px; border:3px solid {{{M Border Color}}};"
|- style="font-family: 'Carter One'; font-weight:bold; font-size:18px;"
| style="padding:7px 7px 0 7px; color:{{{M Header Color|#000000}}};" | Event Missions:
|-
| style="padding:0 7px 7px 7px; color:{{{M Text Color|#000000}}};" | Each day a special mission is added to the normal line-up of daily missions you receive and awards a number of kobans for completion. Complete them to obtain a special guy. For more information on these Missions, check our [wiki=GH:Missions][b][color={{{M Header Color}}}]Missions page[/color][/b][/wiki].[if="{{{M1 Title}}}"]

[TEMPLATE]GH:Template_Mission
| Title = {{{M1 Title|?}}}
| Text = {{{M1 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M1 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 1
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M2 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M2 Title|?}}}
| Text = {{{M2 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M2 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 2
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M3 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M3 Title|?}}}
| Text = {{{M3 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M3 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 3
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M4 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M4 Title|?}}}
| Text = {{{M4 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M4 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 4
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M5 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M5 Title|?}}}
| Text = {{{M5 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M5 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 5
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M6 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M6 Title|?}}}
| Text = {{{M6 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M6 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 6
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M7 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M7 Title|?}}}
| Text = {{{M7 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M7 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 7
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M8 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M8 Title|?}}}
| Text = {{{M8 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M8 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 8
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M9 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M9 Title|?}}}
| Text = {{{M9 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M9 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 9
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M10 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M10 Title|?}}}
| Text = {{{M10 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M10 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 10
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M11 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M11 Title|?}}}
| Text = {{{M11 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M11 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 11
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M12 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M12 Title|?}}}
| Text = {{{M12 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M12 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 12
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M13 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M13 Title|?}}}
| Text = {{{M13 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M13 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 13
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][if="{{{M14 Title}}}"]
[TEMPLATE]GH:Template_Mission
| Title = {{{M14 Title|?}}}
| Text = {{{M14 Text}}}
| Text Color = {{{M Text Color}}}
| Image = {{{M14 Image}}}
| Upper = {{{M Gradient Upper}}}
| Mid = {{{M Gradient Mid}}}
| Lower = {{{M Gradient Lower}}}
| Header = {{{M Header}}} 14
| Header Color = {{{M Header Color}}}
| Border Color = {{{M Border Color}}}
[/TEMPLATE][/if][/table][if="{{{ETop}}}"]

[table]style="width:98%; margin:auto; box-shadow:1px 2px 3px #3B3B3B; background-color:{{{M Gradient Mid}}}; border-collapse:separate; border-radius:20px; border:3px solid {{{M Border Color}}};"
|- style="font-family: 'Carter One'; font-weight:bold; font-size:18px;"
| style="padding:7px 7px 0 7px; color:{{{M Header Color}}};" | Equipment:
|-
| style="padding:0 7px 7px 7px; color:{{{M Text Color|#000000}}};" | A special set of equipment is available during the event. This equipment can be won at Legendary tier through Event Pachinko.
|-
| style="padding:0 7px 7px 7px; align:center;" | [table] style="width:100%; text-align:center; margin:auto;"
[TEMPLATE]GH:Template_ProfileBackgrounds
| Type = Avatar
| Image1 = {{{ETop}}}
| Image2 = {{{EHeart}}}
| Image3 = {{{EBottom}}}
| Image4 = {{{ESymbol}}}
| Image5 = {{{EFriend}}}
| Image6 = {{{EArtifact}}}
[/TEMPLATE]
[/table][/table][/if][if="{{{Ava1}}}"]

[table]style="width:98%; margin:auto; box-shadow:1px 2px 3px #3B3B3B; background-color:{{{M Gradient Mid}}}; border-collapse:separate; border-radius:20px; border:3px solid {{{M Border Color}}};"
|- style="font-family: 'Carter One'; font-weight:bold; font-size:18px;"
| style="padding:7px 7px 0 7px; color:{{{M Header Color}}};" | Avatars:
|-
| style="padding:0 7px 7px 7px; color:{{{M Text Color|#000000}}};" | A special set of profile avatars are made available using the event's guys. These can be won from Event Pachinko or purchased from the profile page for 300 kobans each. Nutaku players however, are unable to purchase these avatars.
|-
| style="padding:0 7px 7px 7px; text-align:center;" | [center][table] style="width:100%; margin:auto;"
[TEMPLATE]GH:Template_ProfileBackgrounds
| Type = Avatar
| Image1 = {{{Ava1}}}
| Image2 = {{{Ava2}}}
| Image3 = {{{Ava3}}}
| Image4 = {{{Ava4}}}
| Image5 = {{{Ava5}}}
| Image6 = {{{Ava6}}}
| Image7 = {{{Ava7}}}
| Image8 = {{{Ava8}}}
[/TEMPLATE]
[TEMPLATE]GH:Template_ProfileBackgrounds
| Type = Avatar
| Image1 = {{{Ava11}}}
| Image2 = {{{Ava12}}}
| Image3 = {{{Ava13}}}
| Image4 = {{{Ava14}}}
| Image5 = {{{Ava15}}}
| Image6 = {{{Ava16}}}
| Image7 = {{{Ava17}}}
| Image8 = {{{Ava18}}}
[/TEMPLATE]
[/table][/center][/table][/if][/table]

[VAR]DISPLAYTITLE|Event: [VAR]PAGENAME[/VAR][/VAR]
[VAR]DESCRIPTION|All there is to know about the event.[/VAR]

This page has been seen 1,405 times.

Users Browsing This Page (0 members, 1 guests)