Template:Tabber: Difference between revisions

From Azyrah
Jump to navigation Jump to search
No edit summary
Tag: Reverted
m (1 revision imported)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{AV!}}</noinclude><includeonly><table width="{{#if: {{{Width|}}} | {{{Width}}} | 100% }}" style="border: {{#if: {{{Border|}}} | {{{Border}}} | 1 }}px solid #97100d;"><tr><td>{{LoadJavascript|Script=tabber}}
<includeonly><table width="{{#if: {{{Width|}}} | {{{Width}}} | 100% }}" style="border: {{#if: {{{Border|}}} | {{{Border}}} | 1 }}px solid #97100d;"><tr><td>{{LoadJavascript|Script=tabber}}
<div class="tabber-container" data-activation="true" data-url="true">
<div class="tabber-container" data-activation="true" data-url="true">
<div style="display: flex; flex-direction: row; gap: 0px; flex-wrap: wrap; padding: 0px; justify-content: start; width: 100%; margin: 0 auto; background: #440404;">
<div style="display: flex; flex-direction: row; gap: 0px; flex-wrap: wrap; padding: 0px; justify-content: start; width: 100%; margin: 0 auto; background: #440404;">
Line 8: Line 8:
<!-- Width in px. TabWidth in Pixel
<!-- Width in px. TabWidth in Pixel
Equaltabs: |TWidth  = {{#expr: Width / #Tabs}} -->
Equaltabs: |TWidth  = {{#expr: Width / #Tabs}} -->
|Width  = 1500
|Width  = 890
|TWidth  = {{#expr: 1500/ 6}}
|TWidth  = {{#expr: 890 / 6}}
|Border  = 1
|Border  = 1


Line 60: Line 60:
|Inhalt5 =  
|Inhalt5 =  
}}</nowiki>
}}</nowiki>
* Um gleichgroße Tabs zu erzeugen, muss die Width in px angegeben werden.
* TWidth dann folgender Paramter: <nowiki>{{#expr: Width / #Tabs}}</nowiki>
[[Kategorie:Vorlagen/Einbindungen|{{PAGENAME}}]]
</noinclude>

Latest revision as of 05:16, 7 September 2023

Tab1
Tab2
Tab3
Tab4
Tab5
Tab6
Tab1 Content...
Tab2 Content...
Tab3 Content...
Tab4 Content...
Tab5 Content...
Tab6 Content...
{{Tabber
<!-- Tabber Settings -->
|Width   = 
|TWidth  =
|Border  =

<!-- Tabs -->
|Tab1    = 
|Icon1   = 
|Inhalt1 = 

|Tab2    = 
|Icon2   = 
|Inhalt2 = 

|Tab3    = 
|Icon3   = 
|Inhalt3 = 

|Tab4    = 
|Icon4   = 
|Inhalt4 = 

|Tab5    = 
|Icon5   = 
|Inhalt5 = 
}}