• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki Discussion
    • General Discussion
    • Templates: Including Image in Warning Box

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 2 of 2

    Thread: Templates: Including Image in Warning Box

    • Thread Tools
      • Show Printable Version
    1. May 15, 2010 #1
      Mondi
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Mondi is offline
      Junior Member
      Join Date
      February 16, 2010
      Posts
      29
      Rep Power
      172

      Templates: Including Image in Warning Box

      Hi all,

      I plan to introduce a template on my site that's based on the Warning Box Template but includes an image instead of the word "Note".

      Provided the image is either uploaded to the wiki's Image name space or to a server directory [does this matter?].

      The image will serve as an icon, denoting:

      • A Warning = warning box template including a Warning Icon at the afore mentioned space = Template Name: Warningbox
      • An Idea = warning box template including an Idea Icon at the afore mentioned space = Template Name: Ideabox
      • A Topic Under Construction = warning box template including a Construction Icon at the afore mentioned space = Template Name: Constructionbox
      • Request for Help = warning box template including a Help Icon at the afore mentioned space = Template Name: Helpbox
      etc.

      Following the list above I plan to save each category as an individual template, each still based on the Warning Box Template but referencable by different names, as indicated above.

      To be more precise; the reference to the template is included in wiki articles as follows:

      <TemplateIntro><Name Template><ImageReference><text><CloseTemplate>

      Obviously, as not to screw things up here, I replaced the "['s" in the original syntax with other characters but the codex remains. What's critical to my question here is: How to include an icon within that <imageReference> space?

      Once conquered I am planning - with Pegasus' permission - to post these templates as 'take-aways' with icons included. For all to use. Happy to give back!

      Thanks!
      Last edited by Mondi; May 15, 2010 at 8:21 AM.
      The Business of Your Future.
      Reply With Quote Reply With Quote

    2. May 15, 2010 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      If you are planning to post these templates for off-site use, then you should probably upload the images to a server directory.

      In that case, the image reference should be something like:
      Code:
      [img][var]server[/var]/images/location/file.gif[/img]
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. <BR's> between templates
      By SurferJon in forum VaultWiki Questions
      Replies: 7
      Last Post: March 25, 2016, 6:18 PM
    2. importer file asks for image location. There is none because i do not use a vw image function.
      By Alfa1 in forum VaultWiki Questions
      Replies: 1
      Last Post: September 18, 2013, 9:40 AM
    3. image bbcode non-wiki image?
      By mickknutson in forum VaultWiki Questions
      Replies: 1
      Last Post: July 19, 2012, 3:15 PM
    4. Templates - How to use them and what I need out of them
      By Alan_SP in forum VaultWiki Questions
      Replies: 8
      Last Post: March 31, 2011, 3:20 AM
    5. including vbSEO with VaultWiki
      By bigtree in forum VaultWiki Questions
      Replies: 1
      Last Post: April 15, 2010, 12:24 AM

    Tags for this Thread

    are, articles, back, based, box, category, different, directory, give, how to, image, individual, list, mat, matter, note, off, original, other, pegasus, permission, post, question, request, server, should, site, something, space, syntax, template, templates, text, that, things, topic, under, warning, wiki, within, you

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 11:08 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.