Wiki Updates - New Templates v1
<I><s></s>"Minor updates, massive wall of text"<e></e></I>
Hey guys, Azeroc and I have been working on getting new templates on the wiki to improve some aspects of it. While at the moment they might be quite minor things, when we have a nice selection of these templates uploaded we'll be able to do all sorts of stuff.
We've added four new templates for now but I suspect I'll be adding more in the coming weeks. These four templates might help your pages if you're feeling ambitious or if want to add a nice tweak to it. I'll be adding this to the main post sometime soon and the tutorial whenever I make it.
Thread subject to change and staff/wiki admins are free to edit this post yada yada yada
>> Examples of everything below can be seen on the [url="http://wiki.wowfreedom-rp.com/wiki/Testing"><s></s>Testing page <<
1. Parent Tab Template
A fancy menu bar for your page. This is for people who want several pages for one character. It's also useful for people who have pages for their weapons, as it'll give a useful link at the top of your pages.
'base' means the page you're currently on. When clicking on one of the other pages it'll go to that page, so if I clicked on Test (tab2), it's take me to 'Testing/Test' (NOT Test). For instance, [url="http://wiki.wowfreedom-rp.com/wiki/Aidan_Medren/Redemption"><s></s>this page for Aidan Medren's sword Redemption has his name first before it.
Feel free to experiment with the different color options below base to make it look specific for your character as well.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{Parent Tab Template
|base=Testing
|backcolor=#CCCC
|altbackcolor=#CCCC
|textcolor=#bfbfbf
|bordercolor=darkred
|activeborder=red
|borderradius=6
|height=2.2
|maxwidth=50
|tab1=Testing
|tab2=Test
|tab3=Test
|tab4=Test
|tab5=Test
|tab6=Test
|tab7=Test
}}</code></blockquote>
2. Collapse (Spoilers)
For now it's just a grey color to go with the background, however I'll be adding different colors to go with different factions eventually. But this template is simply a fancy spoiler if you wanted to put info in a spoiler.
To add one all you need to put on your page is this simple code:
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>
{{collapse top|title=This is the title text}}
Add content of spoiler here
{{collapse bottom}}</code></blockquote>
3. Switch
You can use switch to switch from one picture/piece of text to another by clicking on the links below. It's especially useful for people who want more than one picture in their infobox (but can be used for other purposes as you see fit).
I've used the page for my character [url="http://wiki.wowfreedom-rp.com/wiki/Aylana_Everchain"><s></s>Aylana Everchain as an example - above the picture of her in the infobox there are two links 'Current' and 'Argent Dawn', which when clicked go to different pictures of her.
<I><s></s>At the moment it's limited to only these two links, but I will be adding another template for three links in the next update.<e></e></I>
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{switch|option1=Picture 1|[[File:enterpicname.jpg|300px]]|option2=Picture2|[[File:enterpicname.jpg|300px]]}}</code></blockquote>
4. Toggle
Toggle was really just a template necessary to get switch to work, but it does have some functions you might find useful. The first is a function very similar to switch, there it goes between two pieces of text or pictures. The difference is this one is below the content instead of above it and the text is easier to customize. I have put two spaces after 'picture 1' (the ) which you can feel free to remove should you not want spaces there.
Please be watchful of the |. If you delete them it won't work, just edit where I've put in caps.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>
{{Toggle|TEXT OR PICTURE HERE||var1}} <!-- var1 text will be displayed at start since it is the first parameter -->
{{Toggle||TEXT OR PICTURE HERE|var2}} <!-- var2 text will be hidden at start since it is the second parameter -->
<span class="_toggler_hide-var1 _toggler_show-var2">BUTTON NAME 1</span>
<span class="_toggler_hide-var2 _toggler_show-var1">BUTTON NAME 2</span></code></blockquote>
The second is a more basic, lightweight collapse. Unlike collapse this one is open when you open the page, it just has the option for users to hide it if they wish.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{Toggle|TEXT OR PICTURE HERE||tata}}
<span class="_toggler-tata">Hide</span></code></blockquote>
This last function changes a picture/text into another picture/text. Quite similar to switch and the first toggle function, but it's here if you want to use it.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{Toggle|ENTER FIRST|ENTER SECOND|toto}}
<span class="_toggler-toto">BUTTON NAME</span></code></blockquote>
>> Examples of everything above can be seen on the [url="http://wiki.wowfreedom-rp.com/wiki/Testing"><s></s>Testing page <<
Thanks for reading and I hope you like these new features, even if they're quite minor. Send me messages if you have any ideas for the wiki. If you get stuck on anything or notice any bugs send me a message through the forums, steam or skype (I'm in the Freedom chat).
inb4 something wrong in text wall omg
<I><s></s>"Minor updates, massive wall of text"<e></e></I>
Hey guys, Azeroc and I have been working on getting new templates on the wiki to improve some aspects of it. While at the moment they might be quite minor things, when we have a nice selection of these templates uploaded we'll be able to do all sorts of stuff.
We've added four new templates for now but I suspect I'll be adding more in the coming weeks. These four templates might help your pages if you're feeling ambitious or if want to add a nice tweak to it. I'll be adding this to the main post sometime soon and the tutorial whenever I make it.
Thread subject to change and staff/wiki admins are free to edit this post yada yada yada
>> Examples of everything below can be seen on the [url="http://wiki.wowfreedom-rp.com/wiki/Testing"><s></s>Testing page <<
1. Parent Tab Template
A fancy menu bar for your page. This is for people who want several pages for one character. It's also useful for people who have pages for their weapons, as it'll give a useful link at the top of your pages.
'base' means the page you're currently on. When clicking on one of the other pages it'll go to that page, so if I clicked on Test (tab2), it's take me to 'Testing/Test' (NOT Test). For instance, [url="http://wiki.wowfreedom-rp.com/wiki/Aidan_Medren/Redemption"><s></s>this page for Aidan Medren's sword Redemption has his name first before it.
Feel free to experiment with the different color options below base to make it look specific for your character as well.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{Parent Tab Template
|base=Testing
|backcolor=#CCCC
|altbackcolor=#CCCC
|textcolor=#bfbfbf
|bordercolor=darkred
|activeborder=red
|borderradius=6
|height=2.2
|maxwidth=50
|tab1=Testing
|tab2=Test
|tab3=Test
|tab4=Test
|tab5=Test
|tab6=Test
|tab7=Test
}}</code></blockquote>
2. Collapse (Spoilers)
For now it's just a grey color to go with the background, however I'll be adding different colors to go with different factions eventually. But this template is simply a fancy spoiler if you wanted to put info in a spoiler.
To add one all you need to put on your page is this simple code:
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>
{{collapse top|title=This is the title text}}
Add content of spoiler here
{{collapse bottom}}</code></blockquote>
3. Switch
You can use switch to switch from one picture/piece of text to another by clicking on the links below. It's especially useful for people who want more than one picture in their infobox (but can be used for other purposes as you see fit).
I've used the page for my character [url="http://wiki.wowfreedom-rp.com/wiki/Aylana_Everchain"><s></s>Aylana Everchain as an example - above the picture of her in the infobox there are two links 'Current' and 'Argent Dawn', which when clicked go to different pictures of her.
<I><s></s>At the moment it's limited to only these two links, but I will be adding another template for three links in the next update.<e></e></I>
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{switch|option1=Picture 1|[[File:enterpicname.jpg|300px]]|option2=Picture2|[[File:enterpicname.jpg|300px]]}}</code></blockquote>
4. Toggle
Toggle was really just a template necessary to get switch to work, but it does have some functions you might find useful. The first is a function very similar to switch, there it goes between two pieces of text or pictures. The difference is this one is below the content instead of above it and the text is easier to customize. I have put two spaces after 'picture 1' (the ) which you can feel free to remove should you not want spaces there.
Please be watchful of the |. If you delete them it won't work, just edit where I've put in caps.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>
{{Toggle|TEXT OR PICTURE HERE||var1}} <!-- var1 text will be displayed at start since it is the first parameter -->
{{Toggle||TEXT OR PICTURE HERE|var2}} <!-- var2 text will be hidden at start since it is the second parameter -->
<span class="_toggler_hide-var1 _toggler_show-var2">BUTTON NAME 1</span>
<span class="_toggler_hide-var2 _toggler_show-var1">BUTTON NAME 2</span></code></blockquote>
The second is a more basic, lightweight collapse. Unlike collapse this one is open when you open the page, it just has the option for users to hide it if they wish.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{Toggle|TEXT OR PICTURE HERE||tata}}
<span class="_toggler-tata">Hide</span></code></blockquote>
This last function changes a picture/text into another picture/text. Quite similar to switch and the first toggle function, but it's here if you want to use it.
<blockquote class='code_blockquote'><dl><dt>Code: </dt><dd> </dd></dl><code>{{Toggle|ENTER FIRST|ENTER SECOND|toto}}
<span class="_toggler-toto">BUTTON NAME</span></code></blockquote>
>> Examples of everything above can be seen on the [url="http://wiki.wowfreedom-rp.com/wiki/Testing"><s></s>Testing page <<
Thanks for reading and I hope you like these new features, even if they're quite minor. Send me messages if you have any ideas for the wiki. If you get stuck on anything or notice any bugs send me a message through the forums, steam or skype (I'm in the Freedom chat).
inb4 something wrong in text wall omg