Coding Help Wikia
Advertisement

Introduction[]

Tabview is similar to Tabber, but a bit more complicated and a tad more neat. Unlike Tabber, Tabview works on ALL UCP updated wikis. Tabview works by taking content from other pages or templates on the Wiki and using that as tab content, as opposed to having the content in the actual code where the tab will appear.

To do this, make an article/template and fill it with content you need it to be in the tab (WikiText can be used) Then go back and type in:

<tabview>
NameofArticle|NameofTab
NameofArticle|NameofTab
NameofArticle|NameofTab
</tabview>

Replace 'NameofArticle' with the name of the article you are taking the tab content from. If you are using a template, type in 'Template:' first, and then the name of the template. Replace 'NameofTab' with a tab name of your choice, but be sure to leave the '|' there, otherwise <tabview> might not work! If you need more tabs, copy and paste the the first line. If you need less tabs, just take out a line. Here's an example:

<tabview>
Template:ExampleTabView|Tab
Template:ExampleTabView1|Another tab
</tabview>


Here's what it looks like - and below the tab is content from a template created specifically for this article: Template: ExampleTabview. So you see, it brings other page content here:


In that example, we have two different tabs, but you can have a lot more with higher-level coding, or no coding at all! Remember to close off your coding with </tabview>!

Advertisement