i think there are many of us that would appreciate a primer!I have to say... for someone who has never used a wiki before, it took me an hour of playing around to wrap my head around it, but pretty much to keep editors modifications to absolute ease, I create custom HTML / PHP templates which they can then just call in via the template bbcode, and slugs is any name I want and choose to use appropriate to the template name itself. Makes customising nice and easy for those helping build the pages... nice touch.
Took me a bit of playing to work that out, but pretty easy once I got going.
i think there are many of us that would appreciate a primer!
i have had this installed for at least a month now and have made no headway at all. ive never edited a wiki and am at a complete loss as to how its set up, what kind of codes are available to me, how to make templates available, how to autolink, how to populate templates with data, etc.
<div class="wikimessageUserBlock">
<div class="wikiavatarHolder">
<a href="{{{url}}}" target="_blank"><img class="wikiimage" src="{{{url}}}" alt="{{{alt}}}" title="{{{title}}}" /></a>
</div>
</div>
[template=image] url = images/article.jpg | alt=Image Alt Text | title=What The User See's [/template]
This is just text as I write normally within the editor field.
It will automatically paragraph for me as WYSIWYG, just like writing a forum thread.
/*** Wiki Custom CSS ***/
.wikimessageUserBlock {
float:right;
@property "messageUserBlock";
background: @primaryLighterStill url('@imagePath/xenforo/gradients/tab-selected-light.png') repeat-x bottom;
border: 1px solid @primaryLighterStill;
border-radius: 5px;
@property "/messageUserBlock";
position: relative;
}
.wikimessageUserBlock div.wikiavatarHolder {
@property "messageAvatarHolder";
background-color: @primaryLightest;
padding: 10px;
border-radius: 4px;
@property "/messageAvatarHolder";
}
.wikimessageUserBlock div.wikiavatarHolder a {
display: block;
}
.wikiimage {
max-width: 110px;
}
[template=image] url = images/article.jpg | alt=Image Alt Text | title=What The User See's [/template]
This is just text as I write normally within the editor field.
It will automatically paragraph for me as WYSIWYG, just like writing a forum thread.
[h2]Introduction[/h2]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tincidunt enim nec enim imperdiet vehicula. In at volutpat neque. Mauris at eros lobortis velit ornare varius. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vivamus porttitor ultrices volutpat. Integer nec viverra nunc. Aenean euismod porta molestie. Maecenas sit amet iaculis metus. Donec volutpat cursus ipsum, in venenatis quam facilisis at. Praesent tincidunt, odio in gravida sodales, diam dui lacinia lectus, ac scelerisque orci lectus a sem. Mauris placerat hendrerit elementum. Integer non ligula felis. Nam adipiscing est eget ipsum fringilla pharetra vel et magna. Donec volutpat diam at enim lacinia rhoncus.
[h2]Diagnostics Heading[/h2]
Cras molestie semper erat, non euismod sem consequat a. Suspendisse lacus odio, elementum eu vestibulum id, venenatis porttitor justo. Suspendisse lacus tellus, congue et fermentum nec, semper non leo. Integer bibendum orci nec urna commodo at egestas turpis bibendum. Aliquam at nisi urna. Etiam vel mi sed est feugiat aliquam. Praesent nec risus dolor. Vivamus lobortis viverra nunc ac tempus. Donec sagittis sagittis dolor vel porttitor. Ut sit amet lorem quis erat placerat ultrices eget non turpis. Phasellus sed nulla lectus. Morbi mi neque, auctor id tincidunt sit amet, suscipit eget purus. Quisque pellentesque lacus id eros convallis imperdiet. Proin venenatis massa vitae lacus placerat eget pretium dolor viverra.
[h3]Sub Diagnostics Heading[/h3]
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean adipiscing, sapien vitae feugiat molestie, sem sapien iaculis justo, non aliquam libero libero at est. Morbi quis lacus mattis eros euismod hendrerit ut sit amet ligula. Aenean vitae risus vel velit dictum facilisis ac at ante. Praesent ullamcorper sodales felis id dapibus. Cras vitae est odio, eget pellentesque risus. Nullam eget sollicitudin arcu. In tincidunt lobortis velit, at porttitor tellus semper non. Integer dui orci, tincidunt imperdiet suscipit non, sodales non sapien. Etiam et erat felis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc id sollicitudin nisl. Curabitur ut eros neque, non fringilla ligula. Phasellus nibh eros, volutpat consectetur vehicula eget, commodo in neque. Aenean urna odio, faucibus sed varius eget, viverra eu orci. Suspendisse id magna quam. Donec lacinia, augue sed egestas egestas, tortor tellus vestibulum turpis, sed tincidunt diam ante at leo.
[h4]Sub Sub Diagnostics Heading[/h4]
Nulla facilisi. Praesent laoreet aliquam odio non fringilla. Sed ultrices odio eu metus tristique sit amet facilisis nunc viverra. Sed sit amet ligula eros, nec tincidunt lectus. Cras egestas, sapien id rutrum dapibus, sem diam tincidunt lectus, vitae lobortis urna massa et metus. Praesent nibh arcu, sollicitudin volutpat tincidunt sed, vestibulum ac nulla. Etiam tellus elit, mattis convallis egestas varius, lacinia eget diam. Integer tincidunt, diam quis tincidunt porta, felis tortor eleifend est, auctor tristique quam mi vitae felis. Pellentesque nec est nisi. Nam commodo lacus sit amet erat vehicula feugiat. Duis eleifend cursus sem eu euismod. Nullam at tortor augue. Quisque congue blandit sapien, vel pulvinar justo ultrices in.
[h3]Back To Sub Heading[/h3]
Donec a justo ante, non posuere ante. Duis sit amet odio nisl, eget sagittis odio. Fusce fringilla iaculis lacinia. Nulla ut arcu eros, tempor rutrum quam. Phasellus sit amet est id massa aliquet laoreet id a risus. Ut quis dui tristique urna mattis commodo mattis non magna. Aenean laoreet nunc lacus. Duis tempus nunc eget purus scelerisque cursus. Duis commodo, metus et interdum aliquam, turpis justo convallis nisi, vitae viverra risus nisl a est. Vivamus diam quam, mattis ac tincidunt sed, semper nec eros. Aliquam et odio ante. Phasellus ac molestie nulla. Pellentesque viverra tellus quis erat sodales vehicula. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius lorem sed augue scelerisque eget pellentesque nisl cursus. Fusce sodales quam orci. Integer ut enim vitae dui scelerisque euismod nec nec ipsum. Praesent rutrum nisl nec ligula commodo ut placerat neque mollis.
Yer... once I got my head around how the templates worked, then I got the gist of it to start thinking outside the square. Just looking at a gallery to include on pages now... with exerpt for each image, without tables.
I can do that if you like... I will do a mockup tomorrow (my time) and post it up. I don't use the highslide which Jason has built-in for use, but that template already exists if you choose to use that.Thanks Anthony, that's great stuffWill you be posting how you created the gallery too?
Regards,
Renada![]()
<a class="highslide" href="gallery/{{{url}}}" onclick="return hs.expand(this)"><img src="gallery/{{{url}}}" alt="{{{url}}}" style="max-height: 120px;" /></a>
<div id="wikigalleria">
<div class="wikicaption">
<div class="wikiphoto"> <a class="highslide" href="gallery/{{{url}}}" onclick="return hs.expand(this)"><img class="wikiimage1" src="gallery/{{{url}}}" alt="{{{alt}}}" /></a></div>
<p>{{{caption}}}</p>
</div>
<div style="clear:both;"></div>
</div>
/*** Wiki Galleria ***/
.wikiimage1 {
width: 115px;
}
.wikiphoto img {
background: @primaryLighterStill url('@imagePath/xenforo/gradients/tab-selected-light.png') repeat-x bottom;
border: 1px solid @primaryLight !important;
border-radius: 5px;
padding: 4px;
}
.wikicaption {
display:inline-block;
vertical-align:top;
width:125px;
margin:0 10px 10px 10px;
overflow:hidden; /* optional for hiding excessive caption */
}
.wikicaption p {
text-align:center;
margin:10px 0 0 0;
height:5em; /* In lieu of hiding, change height to fit more caption */
}
[NOSIDEBAR]
[template=galleriaopen][/template]
[template=galleria] url=flower1.jpg | alt=Flower One | caption=I know nothing about flowers, yet here I am looking at them. [/template]
[template=galleria] url=flower2.jpg | alt=Flower Two | caption=I changed the length of this caption just for example on how you can show different caption lengths without to much issue. [/template]
[template=galleria] url=flower3.jpg | alt=Flower Three | caption=Caption goes here. [/template]
[template=galleria] url=flower4.jpg | alt=Flower Four | caption=Caption goes here. [/template]
[template=galleria] url=flower5.jpg | alt=Flower Five | caption=Caption goes here. [/template]
[template=galleria] url=flower6.jpg | alt=Flower Six | caption=Caption goes here. [/template]
[template=galleria] url=flower1.jpg | alt=Flower One | caption=I know nothing about flowers, yet here I am looking at them. [/template]
[template=galleria] url=flower2.jpg | alt=Flower Two | caption=I changed the length of this caption just for example on how you can show different caption lengths without to much issue. [/template]
[template=galleria] url=flower3.jpg | alt=Flower Three | caption=Caption goes here. [/template]
[template=galleria] url=flower4.jpg | alt=Flower Four | caption=Caption goes here. [/template]
[template=galleria] url=flower5.jpg | alt=Flower Five | caption=Caption goes here. [/template]
[template=galleria] url=flower6.jpg | alt=Flower Six | caption=Caption goes here. [/template]
[template=galleriaclose][/template]
Oh... sorry... make it capitals [NOSIDEBAR]I tried your examples, how do you keep [nosidebar] from appearing with remainder of the text???
I have finally fixed this error! Will be available in next version.Haven't checked it out yet, but has the [medio] tag in the wiki been fixed?
Nice!I have finally fixed this error! Will be available in next version.
We use essential cookies to make this site work, and optional cookies to enhance your experience.