From d84651a899a6104fce73d95b9c571627c55e5d16 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 1 Aug 2025 19:48:26 -0300 Subject: bare bones website --- templates/world_info.tmpl | 62 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 templates/world_info.tmpl (limited to 'templates/world_info.tmpl') diff --git a/templates/world_info.tmpl b/templates/world_info.tmpl new file mode 100644 index 0000000..c0f9c24 --- /dev/null +++ b/templates/world_info.tmpl @@ -0,0 +1,62 @@ +{{template "_header.tmpl" .Common}} +
+

World Information

+ {{with .World}} + + + + + + + + + + + + + + + + {{if .OnlineRecord}} + + {{else}} + + {{end}} + +
Name:{{.Name}}
Type:{{.Type}}
Players Online:{{.NumPlayers}}
Online Record:{{.OnlineRecord}} players (on {{.OnlineRecordTime}})None
+ Kill Statistics + {{else}} +

No information available.

+ {{end}} +
+ +
+

Players Online

+ {{if .OnlineCharacters}} + + + + + + + + + {{range .OnlineCharacters}} + + + + + + {{if .Online}} + + {{else}} + + {{end}} + + {{end}} +
NameLevelVocationWorldStatus
{{.Name}}{{or .Level 1}}{{or .Profession "None"}}{{.World}}OnlineOffline
+ {{else}} +

There are no players online.

+ {{end}} +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file -- cgit v1.2.3