Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:PageTabs/doc"
m |
m |
||
Line 22: | Line 22: | ||
* '''subpages''' - tabs are subpages of the first if set to 1, otherwise are not; default 1. | * '''subpages''' - tabs are subpages of the first if set to 1, otherwise are not; default 1. | ||
* '''tab1''' - title of first tab. | * '''tab1''' - title of first tab. | ||
− | * '''tab2, tab3, tab4, tab5, tab6''' - title of subpage tabs. | + | * '''tab2, tab3, tab4, tab5, tab6, tab7, tab8, tab9, tab10''' - title of subpage tabs. |
− | This template can create up to ''' | + | This template can create up to '''ten''' page link tabs. |
== Examples == | == Examples == |
Revision as of 13:33, 10 October 2021
This is the "PageTabs" template.
Note: This template's source code is based off of Genshin Impact Wiki's CustomTabs template. For documentation and more information, refer to the following link:
It should be called in the following format:
{{PageTabs |rootpage= |namespace= |subpages= |tab1= |tab2= |tab3= |tab4= |tab5= |tab6= }}
- rootpage - title of root page if not using current page's root.
- namespace - name of namespace if not using current page's namespace.
- subpages - tabs are subpages of the first if set to 1, otherwise are not; default 1.
- tab1 - title of first tab.
- tab2, tab3, tab4, tab5, tab6, tab7, tab8, tab9, tab10 - title of subpage tabs.
This template can create up to ten page link tabs.
Contents
Examples
Example 1: Links within the same Namespace
{{PageTabs |tab1=foo |tab2=bar |tab3=baz }}
Example 2: Links with the same Rootpage
{{PageTabs |rootpage=Blue Guardian Vetala |namespace= |tab1=Overview |tab2=Dialogue |tab3=Media }}
Example 3: Links to Separate Pages
{{PageTabs |namespace= |subpages=0 |tab1=foo |tab2=bar |tab3=baz }}