Pegasus,
Looking here I find a very nice looking segment on the page called 'Notes.'
How to include such Note sections on my pages?
Is this code driven or a matter of copying-pasting a table?
Sorry mate - can't figure it out.
Pegasus,
Looking here I find a very nice looking segment on the page called 'Notes.'
How to include such Note sections on my pages?
Is this code driven or a matter of copying-pasting a table?
Sorry mate - can't figure it out.
This is done using a template. You can see its code [template=Warning Box]here[/template].
- lead developer for VaultWiki
Cool - gottit.
Should actually place this in a different thread but would it right to say that 'citations' requires more TLC? Looked at the code and tried to use it 'as-is' but the code just shows as...well..code.
Love the Warning Box Template - will use that frequently.
Yep - agree: I was pretty crytic there so my apologies.
Was referring to the 'citation' template here
Doesn't seem to work properly - being convinced that problem here probably sits between my Chair and Keyboard.
Me, thus.
You'll need HTML active for it to work. <span> is a HTML tag.
Note that you only need HTML active in the Template forum. If you do this, then you should make sure only users you trust can edit templates. This is where customizing Forum Permissions comes in handy.
- lead developer for VaultWiki
Sorry Pegasus,
All went well until recently - don't know what went wrong here:
Entered this code as post titled Warning Box in 'Templates:'
Reference in Wiki pages to this template as follows:
[template]Warning Box | Note | something here [/template]
Result:
Under Warning Box template post [Pages That use This Template] references appear to the pages that include the template reference, as show above.
Under 'Edit' of these pages, at bottom [The following templates are used in this page:] reference to template appears correctly.
However, template does not appear in post or Wiki page itself!?
In template namespace - HTML is 'On'
In wiki namespace - HTML is 'OFF'
Any idea what I am doing wrong here?
Did you surround it by the template tags?
Mokonzi ,
See attachments for explanation. As for question: yes, tags placed.
Could this have something to do with this here?
"Pages that use this template" is just extra information included on the template page, and is not a part of the template itself, so it's not included when the template is referenced. As for the whitespace beneath the template (fig. 2), that's because you skipped a line in the editor (fig. 3).
- lead developer for VaultWiki
Sorry Pegasus for creating unclarity here.
I published these three images to allow you to check configuration.
vault_template.jpg - shows the content of a post called Warning Box, which I placed in the Template Namespace.
vault_template_1.jpg - shows how I reference to this post/template in the article editor, obviously after creating the template
vault_template_2.jpg - shows that when the article is published nothing but an empty space emerges; NOT the template or its text.
Hope this makes things clearer - still don't know what's going wrong..
After this, any idea?
Thanks
The template itself looks strange. Please also post the editor view of the template.
- lead developer for VaultWiki
Thanks Pegasus,
Please find .pdf with screenshot attached, now also including a warning box which I haven't seen before.
Is this helpful?
Bookmarks