Difference between revisions of "Template:Tabs"
From EncyclopAtys
m |
m |
||
Line 83: | Line 83: | ||
| <code><nowiki>|Tab-1={{3DText|text='''Tab#1 the Tabs Template'''}}</nowiki></code> || Tab name || rowspan="4"|This single tab<br /><small>Note that the parameters are numbered. You can have up to 10 tabs as this one.</small> | | <code><nowiki>|Tab-1={{3DText|text='''Tab#1 the Tabs Template'''}}</nowiki></code> || Tab name || rowspan="4"|This single tab<br /><small>Note that the parameters are numbered. You can have up to 10 tabs as this one.</small> | ||
|- | |- | ||
− | | <code><nowiki>|URL-1=Template:Tabs</nowiki></code> || The url of the page in which the tab is "active".<br /> The url is the one of the actual page, the tab is "active", thus its | + | | <code><nowiki>|URL-1=Template:Tabs</nowiki></code> || The url of the page in which the tab is "active".<br /> The url is the one of the actual page, the tab is "active", thus its background is the page body one. |
|- | |- | ||
− | | <code><nowiki>|bg_Tab-1=#{{ColorAtys|type=light|group=tryker}}</nowiki></code> || Tab background | + | | <code><nowiki>|bg_Tab-1=#{{ColorAtys|type=light|group=tryker}}</nowiki></code> || Tab background color: here light tryker blue, effective only if url differs from actual page. |
|- | |- | ||
| <code><nowiki>|Pic-1=dummy.png </nowiki></code> || An icon to be displayed left of the tab title. | | <code><nowiki>|Pic-1=dummy.png </nowiki></code> || An icon to be displayed left of the tab title. | ||
Line 104: | Line 104: | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
+ | |||
+ | |||
+ | ==Ex== | ||
+ | With 2 tabs, no 3D Text: [[Wheel of fortune]] |
Revision as of 00:12, 7 November 2020
Tab#1: the Tabs Template | Tab#2 the Tab Template |