Jump to content

Search the Community

Showing results for tags 'Template'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Introductions and Resources
    • DarkMatters: Rules and Feedback
    • DarkMatters: Introductions.
  • Sacred - Underworld, Fallen Angel , Citadel, Sacred 3
    • Sacred 2 Mods and Modding - The new future for Sacred 2!
    • Sacred 2 General Discussion (PC)
    • Sacred 2 Console (XBOX and PS3)
    • Sacred 2 Guides, Maps, Walkthroughs and Videos
    • Sacred Wiki
    • Sacred 2 Fan Art and Fiction
    • [D.a.r.k] Island Fortress
    • Sacred 2 Bugs, Feedback and Troubleshooting
    • Sacred Underworld
    • Unbended - Kickstarter project by former Ascaron employees who created Sacred!
  • DarkMatters General Public Forums
    • Key Largo Beach Resort and General Discussion
    • Media Matters
    • Tech Talk
    • New and General Gaming
    • The Dark Kitchen
    • The Creatrix
    • The Daily Grind: Real life right here!


  • Sacred 2 Demo (UK)
  • Fallen Angel
    • Fallen Angel Builds
    • Fallen Angel Items
    • Fallen Angel Patches
    • Fallen Angel Tools
    • Fallen Angel Miscellaneous
  • Ice & Blood
    • Ice and Blood Builds
    • Ice & Blood Items
    • Ice & Blood Patches and Mods
    • Ice & Blood Miscellaneous
  • Community Patch
    • Community Patch Builds
    • Community Patch Items
  • Sacred
  • Underworld
    • Sacred Mods
    • Underworld Builds
    • Underworld Items
    • Underworld Patches
  • Download Sacred 2 Gold
  • Weekly Featured Mods

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL






Favorite pizza topping

Why do you want to join DarkMatters?

All time best video game ever played

Real Name

Found 1 result

  1. So for the past 3 weeks I've been toying with this new template I wanted to build. The Sacred 2 Dialogue Template. Based on our very simple S2frame template; I wanted to try to build a template that was able to mimic, as close as possible, the in game dialogue boxes used in Sacred 2 while using light weight html and css to render it in place of screenshots: 36 Kb list of some dialogue screenshots presently used on the wiki that show file sizes ranges between 10 Kb to 600 Kb each The objective here was inspired by my paranoia over our server space, haha. It quickly turned into a fun creative challenge though that I really enjoyed. So between other tasks I've been working on this. For me and gogo, as admins, the benefit is that submitting NPC dialogues in this way will reduce the amount of server space we use. Space that can be used for other future purposes. Sacred 3 anyone? But the other benefits are much more fun. This template basically allows people who don't have any graphics experience to create these cool looking boxes without any graphics editing needed. Just gotta know how to type! Another benefit for casual readers of SacredWiki is that pages will load just a little bit faster because this template version of the in game dialogues display will be smaller in file size than the screenshot versions submitted on many of our quest pages. And an unintended benefit is that the text inside these new dialogues remain as text which means they can be searched for. And the final result is... Levied Tax This is a picture of what the template looks like on SacredWiki. It's primarily generated using html and css to mimic the appearance of Sacred 2's dialogue boxes. Using html and css means a more light weight version as opposed to using screenshots. There are 4 separate images that are positioned using css that complete every dialogue: The NPC portrait = 10 Kb The Background = 37 Kb The frame around the NPC portrait = 2 Kb The single corner image = 1 KB Total = 50 Kb On a page that has a single dialogue, there won't be a benefit regarding the speed at which the page loads. In some cases... But in most cases there will be a benefit. Most pages will probably have multiple dialogues. When there are several dialogues on a page the dialogues template images will only need to be loaded once on the page since 3 out of 4 of them will be re-used by any and all dialogues. Only the NPC portrait will differ. And of course another benefit is appearances since this new dialogue will always have a nice sharp look. Sample comparison: Realm of the Seraphim page before using the template = all dialogue images combined file size 301 Kb Realm of the Seraphim after using the template = all dialogue images combined file size 77 Kb The background of the dialogue is the only place I kinda splurged regarding file sizes. I'm still on the lookout for an optimum performance/appearance background image though so that could change any time. One last big plus that I like is that by editing the template I can effect all submitted dialogues from a single location. So if I want to tweak the way every single dialogue box that is already submitted on SacredWiki looks like I can do that on the dialogue template page to have the change cascade across all dialogues. Neat huh! Big thumbs up to gogo who has been gogoing away all those old tired looking dialogues for the new template ones. Thanx gogo! So how does this all work?! I've re-written the Sacred 2 Dialogue page in an instructional manner so by all means let me know if it makes sense! The Sacred 2 Dialogue Template
  • Create New...
Please Sign In or Sign Up